Forums

Error while upgrading to 2.0.1 (3 posts)

  1. kensav
    Member
    Posted 6 years ago #

    I've backed up my database and files. I deleted everything except wp-content folder and wp-setting.php file.
    I uploaded all the new files and ran /upgrade.php but received this error:

    Warning: main(admin.php): failed to open stream: No such file or directory in /usr/local/www/vhosts/battlediabetes.com/htdocs/wp-settings.php on line 2

    Fatal error: main(): Failed opening required 'admin.php' (include_path='.:/usr/local/www/lib/php') in /usr/local/www/vhosts/battlediabetes.com/htdocs/wp-settings.php on line 2

    Any ideas what I can do next?

  2. kensav
    Member
    Posted 6 years ago #

    Oops I meant while installing 2.0.2

  3. persona
    Member
    Posted 6 years ago #

    Sounds like the same problem I got. I can't exactly tell you what's the problem, or what's the cause of it since I'm not too sure exactly myself.

    First of all, have you checked that you've uploaded all the files, and that they are present? How did you upload them? Thru your ftp program, or thru the server's filemanager?

    In my case, I uploaded them thru the ftp, but in the server's filemanager, the files I see are the old one. I guess it could be my host server issues, where the files uploaded via ftp don't go to where they should. Doesn't seem logical, but after I uploaded the missing file via the filemanager, it partially worked ok.

Topic Closed

This topic has been closed to new replies.

About this Topic