Posted on: 06/21/05 06:53pm
By: Anonymous (Ben)
I'm getting this when trying to view my site. I had to rebuild the server and put all the files back where they were. Other than the usernames for the virtual sites does include the full domain name now, which it didn't before. So I changed these pathes to match. Basiccly I added the .com to it. Everything else is the same. I'm using Virtualmin module of Webmin to manage the virtual servers.
Warning: main(/home/n9vpu.com/geeklog/config.php): failed to open stream: Permission denied in /home/n9vpu.com/public_html/lib-common.php on line 69
Fatal error: main(): Failed opening required '/home/n9vpu.com/geeklog/config.php' (include_path='.:/usr/share/pear') in /home/n9vpu.com/public_html/lib-common.php on line 69
The files are where they're supposed to be and there is read permition to that folder for everyone, 755. So i don't know where the problem is.
Thanks,
Ben
Geeklog giving error after restore from backup
Posted on: 06/21/05 10:22pm
By: vadertech
remove the .com and try setting config.php to 777 just to see if either fixes the problem.
Geeklog giving error after restore from backup
Posted on: 06/22/05 07:44pm
By: bderry71
[QUOTE BY= vadertech] remove the .com and try setting config.php to 777 just to see if either fixes the problem.[/QUOTE]
Can't as that is the name of the home folder for that domain.
Is this a difect of PHP that it can't handle 2 dots in a path?
Thanks,
Ben
Geeklog giving error after restore from backup
Posted on: 06/22/05 10:09pm
By: vadertech
i know that 2 dots can trick some paths into thinking that the first dot is the file name instead of a directory. But if this was the case, it should give you a different error message than permissions. Did you try changing the permissions for config.php to 777 to see if that works?
Geeklog giving error after restore from backup
Posted on: 06/23/05 01:31pm
By: vinny
Are you sure that you have the correct path set up? Make sure your config.php file really is in /home/n9vpu.com/geeklog/. You shouldn't need to chmod config.php as apache only needs read access to that file.
PHP handles having multiple dots (".") in the path with no problem.
-Vinny