Jump to content

Archived

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

hajobakker

DMS upgrade requires write access?

Recommended Posts

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!

Share this post


Link to post
Share on other sites
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?


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Simon

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.


Sheila Hoffman | Hoffman Graphics | Seattle

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
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

 

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

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

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

ccage did the above make any difference?

Share this post


Link to post
Share on other sites
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

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

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

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

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

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

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

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

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

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

    • Steve Webb
      By Steve Webb+
      I am having an issue with DMS editor not loading.  Just keeps spinning and spinning.
      Have tried several things - Logged in and out, cleared cache, deactivated all plugins, but the issue persists.
      I even had our host restore from a backup a few weeks ago, when I know it WAS working, as I edited a text box on the homepage.  The restore from backup didn't help either.
      Also, the front end of the site shows that the site is framed, or boxed now (whatever you call it), instead of full width as it was previously (last week).
      Dev console shows that there are php errors in Google maps - file is attached.
      Can someone please help?  Not sure what else I can do here...
      Thanks in advance.
      -Matt

    • tuciudadenred
      By tuciudadenred+
      Hi everyone, what happens is that the web page metrosalarmas.com has a google tags which I have not attacked where I can look to remove those tags and be able to locate the correct ones.
    • Steve Webb
      By Steve Webb+
      I am having an issue with DMS editor not loading.  Just keeps spinning and spinning.
      Have tried several things - Logged in and out, cleared cache, deactivated all plugins, but the issue persists.
      I even had our host restore from a backup a week ago, when I know it WAS working, as I edited a text box on the homepage.  The restore from backup didn't help either.
      Also, the front end of the site shows that the site is framed, or boxed now (whatever you call it), instead of full width as it was previously (last week).
      Dev console shows that there are php errors in Google maps - file is attached.
      Can someone please help?  Not sure what else I can do here...
      Thanks in advance.
      -Matt

    • 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.
×