Jump to content

Archived

This topic is now archived and is closed to further replies.

hajobakker

DMS upgrade requires write access?

Recommended Posts

hajobakker    4
hajobakker

After upgrading to dMS 1.1, the following message appears in the Wordpress dashboard:

 

It appears your WordPress install can't write to your servers file system. This may adversely affect your sites performance. Check with your host about resolving this issue. To hide these notices, visit PageLines options panel.

 

What's this, all of a sudden DMS needs to write and does not state where and why? Strange!

  • Like 2

Share this post


Link to post
Share on other sites
Rob    547
Rob

As far as I know, DMS has always needed to write some files to the server, however, the only time I've seen permissions or ownership issues as you're experiencing is when WordPress was installed with an automated installer. 

 

When systems like Softaculous or other server-based installers are used, the ownership of key files and folders is retained by the server, rather than you as the administrator.  Can you tell us if you used some built-in system to install WordPress?  How did you install DMS?

  • Like 2

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
hajobakker    4
hajobakker

As far as I know, DMS has always needed to write some files to the server, however, the only time I've seen permissions or ownership issues as you're experiencing is when WordPress was installed with an automated installer. 

 

When systems like Softaculous or other server-based installers are used, the ownership of key files and folders is retained by the server, rather than you as the administrator.  Can you tell us if you used some built-in system to install WordPress?  How did you install DMS?

 

Rob,

 

I've installed WP from the commandline, no installatron stuff here.

Having experienced too much funny stuff, I'll try with a fresh install

  • Like 2

Share this post


Link to post
Share on other sites
Simon    247
Simon

if you enable debug under advanced settings then visit the debug page, the actual error will be revealed.

  • Like 2

Share this post


Link to post
Share on other sites
erin-wsk    10
erin-wsk

I'm receiving the same error on a multi-site set-up and wordpress was not installed through an automated installer. Ran the debug info and the only thing that shows an error: 

DMS Internal Warning
Less Subsystem
POSIX checks failed.

  • Like 1

Share this post


Link to post
Share on other sites
Simon    247
Simon

I'm receiving the same error on a multi-site set-up and wordpress was not installed through an automated installer. Ran the debug info and the only thing that shows an error: 

DMS Internal Warning
Less Subsystem
POSIX checks failed.

You can add this to functions.php of your child theme:

add_filter( 'render_css_posix_', '__return_true' );

 

​It wont guarantee a result but it does bypass that check.

  • Like 1

Share this post


Link to post
Share on other sites
sheilahoff+    63
sheilahoff

I'm seeing this same thing only after upgrading to WP 3.7. My installs are all backup buddy restores. So I'm not sure why I'm having this issue. Can we just ignore it or do we need to change the permissions on something or what?

 

PS: just noticed this is posted in the free area. I have a full paid version of DMS.

  • Like 1

Sheila Hoffman | Hoffman Graphics | Seattle

Share this post


Link to post
Share on other sites
thesingleparentperspective    1
thesingleparentperspective

As far as I know, DMS has always needed to write some files to the server, however, the only time I've seen permissions or ownership issues as you're experiencing is when WordPress was installed with an automated installer. 

 

When systems like Softaculous or other server-based installers are used, the ownership of key files and folders is retained by the server, rather than you as the administrator.  Can you tell us if you used some built-in system to install WordPress?  How did you install DMS?

I use GoDaddy

Just did a fresh install of wordpress 3.7 through the GoDaddy control panel and installed the 1.1.1 version of dms through the wordpress theme installer and am getting the same message.

 

1.  Is this going to affect how my site works?

2.  If so, how can I fix it?

  • Like 1

Share this post


Link to post
Share on other sites
ccage    1
ccage

For me, it's:

DMS Internal Warning
Less Subsystem
Unable to set filesystem credentials

Tried various permissions of DMS theme folders containing .less files. No joy.

Share this post


Link to post
Share on other sites
Simon    247
Simon

 

For me, it's:

DMS Internal Warning
Less Subsystem
Unable to set filesystem credentials

Tried various permissions of DMS theme folders containing .less files. No joy.

 

The folder it tries to write to is your uploads folder, typically wp-content/uploads/pagelines

Permissions however isn't your issue, wordpress does not have direct access to the filesystem. probably the process is running under a totally different username, difficult to say as you only pasted the very bottom of the file. Do you normally get asked for username/password when you update/install themes and plugins? 

Share this post


Link to post
Share on other sites
ccage    1
ccage

The folder it tries to write to is your uploads folder, typically wp-content/uploads/pagelines

Permissions however isn't your issue, wordpress does not have direct access to the filesystem. probably the process is running under a totally different username, difficult to say as you only pasted the very bottom of the file. Do you normally get asked for username/password when you update/install themes and plugins? 

 

Nope, updates work without prompt. FTP method is defined in wp-config and functions. The folder that it's trying to write to in this case is [my site structure]/public_html/wp-content/uploads/pagelines (to write the LESS-processed CSS cache, hence the error). This folder (and the cached file) are owned by apache.

Share this post


Link to post
Share on other sites
Simon    247
Simon

Well thats the problem, your using the FTP method. DMS tries to use direct...

 

OK can you edit a file to test something?

 

Open includes/less.legacy.php and look for a couple of instances of the following:

$creds = request_filesystem_credentials( ...... various args...

 

replace with this:

$creds = request_filesystem_credentials( site_url() );

Share this post


Link to post
Share on other sites
Simon    247
Simon

ccage did the above make any difference?

Share this post


Link to post
Share on other sites
finde    1
finde

I also get this message. Installing via FTP. without result. provider says the problem is not wp. Problem is the page lines. what can I do. it is not good. thank you. jens

Share this post


Link to post
Share on other sites
hajobakker    4
hajobakker

I've installed a number of different wordpress 3.7 sites over the last couple of weeks, each in a ssh session, using wget latest and unzip.

 

The error messages only show up in chrome, and from DMS 1.1 on. It does not in any way appear to hinder or break anything though.

Share this post


Link to post
Share on other sites
finde    1
finde

thanks for your answer. but is also not a solution. DMS operates yes only with chrome.

Share this post


Link to post
Share on other sites
James B    436
James B

finde hi there, yes the DMS editor is built to only work with the chrome browser.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
jordangross+    0
jordangross

I'm receiving the same error on a fresh WP install/fresh DMS.  Here's the entire debug output:

 

DMS Debug Info

WordPress Version
3.8

WordPress Debug
Disabled

Multisite Enabled
No

Current Role
Administrator

Framework Path
/chroot/home/ap/xxxxxxx.com/html/wp-content/themes/dms

Framework URI
http://www.xxxxxxx.com/wp-content/themes/dms

Framework Version
1.1.4

PHP Version
5.3

Child theme
Yes
/chroot/home/ap/xxxxxxx.com/html/wp-content/themes/pagelines-academy-child-theme-master
http://www.xxxxxxx.com/wp-content/themes/pagelines-academy-child-theme-master

PHP memory
256

Mysql version
5.0.95-log

PHP type
Apache2handler

PHP User
Apache

OS
Linux

Licence OK
xxxxxxx@gmail.com

Installed Plugins
dms-plugin-pro/dms-plugin-pro.php
password-protect-wordpress/plugin.php

DMS Internal Warning
Less Subsystem
Unable to set filesystem credentials

 

According to another post, it looks like this error means DMS is writing CSS on the fly and slows down page loads.  is that true?

Share this post


Link to post
Share on other sites
Simon    247
Simon

Looking at the info there, PHP is running as user 'apache', now unless your user is actually apache (guessing here it isnt) thats your problem.

Share this post


Link to post
Share on other sites
noomaking    5
noomaking

How does that make sense Simon_P.

 

Looking at the info there, PHP is running as user 'apache', now unless your user is actually apache (guessing here it isnt) thats your problem.

How does that make sense? My PHP runs user as _www. How is it that the DMS Less subsystem cannot write to a folder with CHMOD 777. This is a level of finesse that no other wordpress product requires. I provide my own hosting using Mavericks OSX. I have no clue what the host is supposed to do. Do you? If the function requires a specific server setup, shouldn't Pagelines DMS documentation be very explicit about the server requirements for this function to execute properly? There seems to be a gross assumption on server configurations. The requirements in the documentation seems to be be somewhat minimal. 

 

PageLines DMS has been designed to work with any modern server environment, the recommended minimum requirements are:

  • PHP version 5.2.4 or greater (5.3 or greater recommended)
  • MySQL version 5.0 or greater
Users of PHP version 5.2

First and forth most, we recommend contacting your web host provider and ask them to upgrade your PHP version. If this isn't possible for whatever reason, please make sure Magic Quotes is off and Posix is Enabled/Installed.

 

I meet these requirements. What else do you need to be successful?

 

Is this feature dependent upon Posix functions? Evidently, POSIX can be a sticky proposition in some circumstances. Just grasping at straws. How can this be so elusive?

 

 

Share this post


Link to post
Share on other sites
Simon    247
Simon

you dont 'need' posix extensions, it recommended thats all.

 

noomaking you have not included the message from the debug page. If the error is the same as the post above, then thats what wordpress reports when it tries to write a css file.

Share this post


Link to post
Share on other sites
gautamsah    0
gautamsah

I'm also getting same error on my wordpress dashboard. Any kind of suggestion would be higly appreciated .

 

Thanks,

 

Goutam

 

 

Share this post


Link to post
Share on other sites
Simon    247
Simon

gautamsah Please start a new thread as this one is nearly 2 years old.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Similar Content

    • JawDesigns
      By JawDesigns
      Hi everyone,
      Flywheel have reported errors on my clients site 'www.racewaredirect.co.uk' and it's not loading. Can someone please provide some information on how to fix this? The site has never experienced these issues before.
      Thanks,
      James Wilson
    • MissT
      By MissT+
      Hi there,
      I've got an issue with 3 websites built with DMS since I migrated them from http to https that I need help with please.
      When any changes are made - e.g. new posts added or existing posts amended - certain sections of the live site seem to break e.g. image headers hang and don't load (b/g on canvas section), sliders hang and don't load (Revslider), flipper section doesn't load.
      Logging in and then clicking 'Edit the site using DMS' seems to fix the problem. Often if I try to open up another browser window to edit the site / re publish I'm unable to as the page wont load / hangs while trying to load.
      Any ideas how to fix this? On a couple of the sites I've installed a caching plugin as I thought it might be a loading speed issue but it's still happening.
      Website URL's can be provided privately.
      Many thanks in advance.
    • jeomiland
      By jeomiland+
      Hi
      I found this topic
      which talks about a similar issue I am having, but a little different. Hope someone can help me out.
      Best way to see the problem is to view http://cassclayton.com/ on Safari (Mac) compared to Firefox or Chrome. You will see the banner just under the fixed menubar has a gap between the menubar and top of the banner. Looking at Inspector, I found:
      <div class="fixed-top-pusher" style="height: 62px;"></div>
      <script> jQuery('.fixed-top-pusher').height( jQuery('.pl-fixed-top').height() ) </script>
      and indeed it seems the jquery is not always working consistently. For instance, if you simply refresh the page in Safari, it will loose the gap and all looks fine, so is it a browser cache issue that is interacting with the jquery? I do have W3 Total Cache installed. There must be a way to tell the code to make sure jquery is up and running and available to do it's majic?
      And perhaps there is just a better way to do this banner? Originally I tried several DMS sections and used the banner image as background, etc... Kept running into problems with resizing and the left/right parts of the image were getting chopped off. It is important the whole image show, so currently I just use a NextBox section with this code:
      <img src="[pl_site_url]/wp-content/uploads/2015/12/CassClayton-blues-tribute-banner.jpg" width="100%" />
      and it looks the way it should. Is there a better way to place a banner graphic under a fixed navbar and make sure the whole banner graphic displays regardless of screensize?
       
    • oseehys
      By oseehys+
      Hello There,
      So i want to use platform 5 and DMS sections on a single page, i am using a child theme with pinspro as my main theme and i activated platform 5, the only problem am having so far is the fixed option, my navbars are not aligning to their default size, and it will be great if platform 5 header and footer section will function, has anyone used this option, how can i make the best use of platform 5 and DMS on a site
      Cheers
    • kwaoru
      By kwaoru
      Hi,
      I desperately need to deactivate the responsive function on mobile for reasons. It looks so messy with the responsive look on mobile and not navigating or informative at all as it is. 
      I searched for solutions online and tries some of those that I found but nothing worked out. Also I found a previous post on this forum says that this theme pagelines DMS is not meant to be build to deactivate the responsive function... 
      Also tried with widget such as WPtouch to edit the mobile look a little more informative but as I am using "single page" theme on pagelines, the frontpage(main page) never appears on those app.
      Seems like not compatible?
      If there is no way to deactivate responsive function or I'll have to recreate another page just dedicated for a mobile page? or change the theme completely and build a page from scratch?
      I have been searching for this for two days already...
      Could anyone wise and kind out there, please help me?
       
      Thanks,
×