acardh wrote:OK guys, I have solved the problem. The issue was generated by wrong file permissions, PHP cold not read some needed files. So, I set recursively the file permissions to 755 on all the files and directories. Only the directories "cache", "public" and the one created for the upload of files are set to 777 permissions.
In order to set recursively the file permissions in the "lib" directory, you can use:
- Code: Select all
chmod -R 755 lib/
The same for all the other directories and files.
That's it, that did the trick.
![]()
Next I will put a post with all the steps that I followed from the beginning for the setup of the OJS. I guess that might be useful as a future reference.
Hi, had the same problem as in this thread when moving my journal from a server to another. I did all the steps in the FAQ and get blank page. In the apache erro log it says:
- Code: Select all
[Thu Jul 12 08:39:45 2012] [error] [client 127.0.0.1] PHP Warning: require(./lib/pkp/includes/bootstrap.inc.php): failed to open stream: Permission denied in /var/www/journal/index.php on line 61
[Thu Jul 12 08:39:45 2012] [error] [client 127.0.0.1] PHP Fatal error: require(): Failed opening required './lib/pkp/includes/bootstrap.inc.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/journal/index.php on line 61
I also did the steps above. Everything's okay except that when I do for include, it says:
- Code: Select all
chmod -R 755 includes/
chmod: cannot access `includes/': No such file or directory
When I tried to go to localhost/journal on my web browser, still blank page. But, there are no error recorded in apache2 error.log.
Is my problem the same as treydock's above? If yes, how do I "change the owner of the application to the apache user" as pointed out by ramon?
ramon wrote:Hello Trey,
Very difficult to identify what is going on without actually looking directly at your server.
Did you make sure to change owner of the application to the Apache user?
Thank you in advance for the help. Been working on this for a few weeks already.
-Aiman-
