vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Upgrade to 4.2.1 error (https://vborg.vbsupport.ru/showthread.php?t=302662)

pjkcards 09-26-2013 07:56 AM

Upgrade to 4.2.1 error
 
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

Quote:

Originally Posted by ForceHSS (Post 2448112)
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?"

Quote:

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.


All times are GMT. The time now is 01:33 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01168 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete