Jump to content
  • 0

[Failed/fatal] Permission Denied In /www/index.php On Line 28 Ps 1.4.5.1


Vaughanz
 Share

Question

Hello guys,

I got this problems after a server migration of my prestashop website.

 

Warning: require(/homez.635/charmean/www/config/config.inc.php) [function.require]: failed to open stream: Permission denied in /homez.635/charmean/www/index.php on line 28

 

Fatal error: require() [function.require]: Failed opening required '/homez.635/charmean/www/config/config.inc.php' (include_path='.:/usr/local/lib/php') in /homez.635/charmean/www/index.php on line 28

 

My htaccess is set to 777

My config folder is set to 655

 

Big thanks to the one who'll find that problem.

Edited by Vaughanz (see edit history)

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hello guys,

I got this problems after a server migration of my prestashop website.

 

Warning: require(/homez.635/charmean/www/config/config.inc.php) [function.require]: failed to open stream: Permission denied in /homez.635/charmean/www/index.php on line 28

 

Fatal error: require() [function.require]: Failed opening required '/homez.635/charmean/www/config/config.inc.php' (include_path='.:/usr/local/lib/php') in /homez.635/charmean/www/index.php on line 28

 

My htaccess is set to 777

My config folder is set to 655

 

Big thanks to the one who'll find that problem.

Don't ever set 777 permission to htaccess )

 

You should set write permissions to:

/tools/smarty/compile/

/tools/smarty/cache

/cache

themes/yourtheme/cache

Now your site whould work,

But set permissions as displayed here

You can read more about permissions in prestashop docs / section Step 2 & 3: System compatibility & system configuration.

Edited by doubleD (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More