Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am trying to install WordPress on www.000webhost.com

I have uploaded the most recent version of WordPress to the server and created a MySQL database. However, When I visit my site, I select the WordPress folder and it gives two error messages:

Warning: require_once(/home/username/public_html/wordpress//wp-includes/class-wp-error.php) [function.require-once]: failed to open stream: No such file or directory in /home/a5558093/public_html/wordpress/wp-load.php on line 48

Fatal error: require_once() [function.require]: Failed opening required '/home/username/public_html/wordpress//wp-includes/class-wp-error.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/username/public_html/wordpress/wp-load.php on line 48

What do these mean? How can I solve these issues?

share|improve this question
add comment

3 Answers

After reading this, I realized that the problem was that I needed to take the contents out of the "wordpress" folder, paste them in parallel to the "wordpress" folder, and delete the "wordpress" folder. Everything works fine now. Thankyou all.

share|improve this answer
add comment

I'll guess it has something to do with that extra / in the path wordpress//wp-includes, though I'm not sure why that's happening. Possibly an issue with how it's defining the ABSPATH setting in wp-load.php

share|improve this answer
2  
It's not a good idea to disregard double slashes, but in practice in the middle of the path they are almost always harmless both on Linux and Windows. –  Rarst May 7 '11 at 17:45
add comment

This happens in a branch of code that is triggered when config files is missing on load, but if you had no chance to go through installation dialog yet that would be accurate...

Can yo verify that file it references is present and its content is sane? Maybe your upload got broken or cut short.

share|improve this answer
    
That could be it. I am re-uploading it now. –  Joe Hobbit May 7 '11 at 17:50
    
I have tried several times to upload the zip file using the file manager that is default on 000webhost. However the problem persists. –  Joe Hobbit May 8 '11 at 23:53
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.