Forums

mistake while relocating URL - Error 500 (2 posts)

  1. dariab
    Member
    Posted 2 years ago #

    Hi, I hope someone can help me...

    I have installed WP on my server to replace an old HTML site, migrated all content and images, everything was working fine. Then I needed to relocate the WP URL from example.com/WP to example.com ... and stuffed something up.

    I followed the instructions here - http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory - got up to step 9 and could not see the line in the file that I need to change (pretty blonde of me, I know...). Then I thought, never mind, let's just return everything to how it was, and moved the index.php file back to where it was in the original directory, however now the site is not loading. I cannot change anything in the "General Settings" of the dashboard, and instead of the index page of my site I am getting a list of folders that sit in the ./public_html/ folder.

    Also, I got this message in the error.log:

    [16-May-2010 22:10:42] PHP Warning: require_once(admin.php) [function.require-once]: failed to open stream: No such file or directory in /home/russiant/public_html/index.php on line 10
    [16-May-2010 22:10:42] PHP Fatal error: require_once() [function.require]: Failed opening required 'admin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/russiant/public_html/index.php on line 10

    Please help... thank you beforehand!

  2. dariab
    Member
    Posted 2 years ago #

    Ok, I have double checked the URLs and I am able to log into the Admin side of WP, however:

    - when I click on Dashboard or "Visit Site", I am getting an error message
    Warning: require_once(admin.php) [function.require-once]: failed to open stream: No such file or directory in /home/russiant/public_html/wordpress/index.php on line 10

    Fatal error: require_once() [function.require]: Failed opening required 'admin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/russiant/public_html/wordpress/index.php on line 10

    - when I type my URL into the browser directly, I am taken to the list of folders ./public_html/ (Index of /)

    How can I fix this, please?

    -

Topic Closed

This topic has been closed to new replies.

About this Topic