White screen during installation
Posted 27 July 2011 - 11:10 PM
Just guessing: is it possible to install PW in a subdirectory, or should I install it in the root of the web server?
Update: I have successfully install ProcessWire to my shared web hosting server, so the white screen issue seems to be specific to my Ubuntu 11.04 default Apache installation.
Posted 28 July 2011 - 02:51 AM
It should be possible to install PW in the subdirectory (and test it there too). I've found some topics, which try to 'repair' various server issues, so you might try them out:
- http://processwire.c...topic,46.0.html – maybe PW has trouble picking up rootURL on your server
- http://processwire.c...topic,98.0.html – subdir issues were solved here
- http://processwire.c...topic,96.0.html – different subdirectory issue solved by hardcoding $rootURL
So, Robert, try this and we'll go from there Also, if it won't work, you might want to post your phpinfo() (with sensitive information stripped out), so we could look for anything out of ordinary.
Posted 28 July 2011 - 03:52 AM
Thanks for your help. The issue was caused by wrong file permissions. I just changed the "site-default" and "wire" folders to read/write and everything works well now. Anyway, it would be great to add a check-file-permissions procedure into the install script.
Posted 28 July 2011 - 08:41 AM
Posted 28 July 2011 - 10:08 AM
[Thu Jul 28 17:05:00 2011] [error] [client 127.0.0.1] PHP Warning: require(/var/www/demo/processwire/pw20/wire/core/ProcessWire.php): failed to open stream: Permission denied in /var/www/demo/processwire/pw20/index.php on line 57
[Thu Jul 28 17:05:00 2011] [error] [client 127.0.0.1] PHP Fatal error: require(): Failed opening required '/var/www/demo/processwire/pw20/wire/core/ProcessWire.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/demo/processwire/pw20/index.php on line 57
Posted 28 July 2011 - 10:26 AM
Posted 07 February 2012 - 11:20 PM
I believe I'm having this same issue and am unable to resolve it. I'm installing processwire on a VPS, where a LAMP server is all set up.
I get a blank screen when visiting the processwire install in a web browser. My error log displays the same as the original poster:
[Tue Feb 07 23:13:01 2012] [error] [client 220.127.116.11] PHP Fatal error: Unknown: Failed opening required '/srv/httpd/chrishenn.net/public_html_dev/index.php' (include_path='.:/usr/share/pear') in Unknown on line 0
Any ideas? My php error file isn't displaying anything wrong.
Posted 08 February 2012 - 10:12 AM
chmod og+r /srv/httpd/chrishenn.net/public_html_dev/index.php
Or if you only have FTP, check the file permissions in your FTP client to ensure that you have an "r" (read access) for owner, group, and other. I'm guessing there is no read access for 'other'. Update the permission then try to load again. See if the error message changes at all. If it does, then very likely that's it (and you'll need to make the rest of the site readable to apache). Please let us know what you find.
Posted 08 February 2012 - 11:18 AM
I set Apache's DocumentRoot to something other than /srv/http/, so I had to add it to my /etc/php/php.ini config as such:
It works great now, thanks. Can't wait to share what I made with it!
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users