Welcome to WebmasterWorld Guest from 54.146.217.179

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Error after changing permissions

     
8:32 am on Jun 1, 2011 (gmt 0)

New User

5+ Year Member

joined:Oct 16, 2009
posts: 23
votes: 0


Hello everyone,

please I need your help ASAP, I installed an Os commerce site but it got hacked afterwards by spammers. i have reinstalled the site now and changed permissions to tighten the security while working on the backend.
Now anytime I check the site it shows:

Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

Fatal error: Unknown: Failed opening required '/home/siteDB/public_html/index.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in Unknown on line 0


Please help guys!
10:56 am on June 1, 2011 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
posts:18903
votes: 0


You probably need to override the default PHP file "include" path.

One line of code (not to hand right now) probably needs to be added to the .htaccess file.
11:02 am on June 1, 2011 (gmt 0)

New User

5+ Year Member

joined:Oct 16, 2009
posts: 23
votes: 0


Thanks for replying me.

How do I do that please?