web pages do not show anything and appear blank

3 posts / 0 new
Last post
#1 Fri, 08/05/2011 - 21:59
mattc

web pages do not show anything and appear blank

This is a re-post to forums as I posted to the wrong place the first time.. Thank you andreychek for pointing me in the right direction!

Hello, First I am a newbie when it comes to this and I am just learning. I have installed virtaulmin on centos 5.3 with the isntall.sh. Everything installed with no issues at all. I created a virtual server and mysql db and loaded WP files into the new virtual sites public_html folder. All the pages were there and the normal wp site was good to go. I then uploaded a new theme and tried to activate it and now I am left with a blank pages in the admin and on the front end. I have searched and search and I think it is a php permission issue but I am not sure. I also had this same issue with just webmin isntalled. I would like someone to help me figure this out and explain how to correct it. You tell me what you need and I will give it to you. Again I am new to all of this so be kind.

andreychek also gave me a couple of things to check and I did. First was to be sure that the files are owned by the virtual server owner and they are. Second was my error log in home/logs/error_log which the last few lines are below. Again I am new at this so please explain in terms I will understand.

error_log:
[Sat Aug 06 04:59:12 2011] [error] [client xxx.xx.xx.xxx] PHP Warning:  require_once(/home/dev/public_html/wp-content/themes/genesis/lib/init.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/dev/public_html/wp-content/themes/outreach/functions.php on line 3, referer: http://dev.mjprostudios.com/wp-admin/themes.php
[Sat Aug 06 04:59:12 2011] [error] [client xxx.xx.xx.xxx] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/dev/public_html/wp-content/themes/genesis/lib/init.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/dev/public_html/wp-content/themes/outreach/functions.php on line 3, referer: http://dev.mjprostudios.com/wp-admin/themes.php
[Sat Aug 06 04:59:16 2011] [error] [client xxx.xx.xx.xxx] PHP Warning:  require_once(/home/dev/public_html/wp-content/themes/genesis/lib/init.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/dev/public_html/wp-content/themes/outreach/functions.php on line 3
[Sat Aug 06 04:59:16 2011] [error] [client xxx.xx.xx.xxx] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/dev/public_html/wp-content/themes/genesis/lib/init.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/dev/public_html/wp-content/themes/outreach/functions.php on line 3
[Sat Aug 06 04:59:50 2011] [warn] mod_fcgid: stderr: PHP Warning:  require_once(/home/dev/public_html/wp-content/themes/genesis/lib/init.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/dev/public_html/wp-content/themes/outreach/functions.php on line 3
[Sat Aug 06 04:59:50 2011] [warn] mod_fcgid: stderr: PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/dev/public_html/wp-content/themes/genesis/lib/init.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/dev/public_html/wp-content/themes/outreach/functions.php on line 3
[Sat Aug 06 04:59:51 2011] [warn] mod_fcgid: stderr: PHP Warning:  require_once(/home/dev/public_html/wp-content/themes/genesis/lib/init.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/dev/public_html/wp-content/themes/outreach/functions.php on line 3
[Sat Aug 06 04:59:51 2011] [warn] mod_fcgid: stderr: PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/dev/public_html/wp-content/themes/genesis/lib/init.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/dev/public_html/wp-content/themes/outreach/functions.php on line 3
[Sat Aug 06 05:32:18 2011] [warn] mod_fcgid: stderr: PHP Warning:  require_once(/home/dev/public_html/wp-content/themes/genesis/lib/init.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/dev/public_html/wp-content/themes/outreach/functions.php on line 3
[Sat Aug 06 05:32:18 2011] [warn] mod_fcgid: stderr: PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/dev/public_html/wp-content/themes/genesis/lib/init.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/dev/public_html/wp-content/themes/outreach/functions.php on line 3
Fri, 08/05/2011 - 23:20
andreychek

Howdy,

I'm not sure how you're going about uploading the various files into your WordPress installation... but you'd want to be careful to only copy files as the Virtual Server owner.

For example, if you log in as the root user, and upload your web files as root -- that can cause problems with the file/directory ownerships.

In your case, you seem to be getting errors such as this:

Failed opening required '/home/dev/public_html/wp-content/themes/genesis/lib/init.php

That either means a file is missing, or isn't accessible due to permissions problems.

What output do you get if you run this command:

ls -l home/dev/public_html/wp-content/themes/genesis/lib/init.php

Sat, 08/06/2011 - 09:04
mattc

First I want to thank andreychek for the quick reply and help. Thank you! Just seeing the error in your reply gave me the answer. I cant believe I did not see it before.

The issue was that the base theme genesis did not install (they forgot to upload it) and they tried uploading a theme that needed the base theme genesis. So when I had them upload the base theme and then the new one everything is working as it should.

Thank you again for all of your help. Vitualmin is awesome!

Topic locked