PDA

View Full Version : Upgrade to 4.2.1 error


pjkcards
09-26-2013, 07:56 AM
I'm getting this error:
Module: vbblog, Step 17 Error.

Failed to write css files. Please make sure that the directory 'clientscript/vbulletin_css' is writable.
--------
clientscript/vbulletin_css is CHMOD 777, as is all the folders within it. How do I proceed from here?

Thanks.

ozzy47
09-26-2013, 09:20 AM
Maybe your server is running i safe_mode?

In AdminCP > Settings > Options > Server Settings and Optimization Options

There is an option:- Safe Mode Upload Enabled
If your server runs PHP with SAFE MODE Restrictions, set this to yes.

That may do it, not entirely sure though.

snakes1100
09-26-2013, 09:53 AM
Its not a safe_mode issue.

The parent folder & children must be writable by the webserver.

755 or below should only be required on clientscript.

777 should be required depending on server setup, ie running in suphp would allow lower chmod permissions.

Who is the owner & group on those folders?

safe_modes basic/original function was to try to make a secure enviroment for broken scripts, so in other words it wont let you write out side of the parent your user has access to, that includes the /tmp folder you would even place above your public_html folder.

ForceHSS
09-26-2013, 12:55 PM
Question what are the permissions have you set for that folder

snakes1100
09-26-2013, 07:26 PM
Question what are the permissions have you set for that folder

According to his 1st post 777

TheLastSuperman
09-26-2013, 07:44 PM
You could check the settings, make it save css in the database i.e. templates instead of files, run the upgrade script, then once done change it back ;).

AdminCP > Settings > Options > Style & Language Settings

Now look for "Store CSS Stylesheets as Files?"

If you would like to store the CSS stylesheet for each style as a file, you must ensure that you have a directory called 'vbulletin_css' inside the 'clientscript' folder, and that the web server has permission to write and delete files within that directory.

Always more than one way to skin a cat, although I would NEVER - I love cats :p.