Upgrade failed due to wp-dp error, backup fails as well
Hello, I hope someone can help me out…
Despite the back-up and carefully checking the guide, I think I crushed my private blog when I tried to upgrade to 2.1 from 2.0.4. Short and sweet: The upgrade failed when I tried to run upgrade.php. I deleted the old folders and files except the .htaccess, wp-config.php, wp-content and -images, but deleted the cache and wp-admin folder as it is instructed.
So I deleted the files and tried to re-upload my back-up.
The same error as when trying to upgrade appears:
Warning: main(/www/htdocs/MyAccount/blog/wp-includes/wp-db.php) [function.main]: failed to open stream: Operation not permitted in /www/htdocs/MyAccount/blog/wp-settings.php on line 72
Fatal error: main() [function.require]: Failed opening required ‘/www/htdocs/MyAccount/blog/wp-includes/wp-db.php’ (include_path=’.:/usr/share/php:..’) in /www/htdocs/MyAccount/blog/wp-settings.php on line 72
The only difference to the upgrade error is the line – now it’s line 72, the first one was line 102 or alike.
The line says
require_once (ABSPATH . WPINC . ‘/wp-db.php’);
I hardly know PHP, but it looks ok to me, doesn’t it?
FYI, WordPress shares a database why a gallery, the tables have the prefix “wp_”. After reading one of the posts here, I double checked that the prefix is still the same in the database. Well, it still is the same.
One topic dealing with such an wp-dp.php error suggests to fix some code in that file … if you changed it, what I didn’t do.
I also checked the adressed files and wp-config or unneeded spaces before the php tags, like another topic mentioned.
I used a different FTP client, FileZilla, as described in the documentation. Is there a chance that the program messed up the files? Or is it perhaps known to put the wrong CHMOD values or anything like that? The settings looked fine, though…
Now I ran out of ideas what else to check. I’d like to bring back my old 2.0.4 version at least.
Thank you for some input.
- The topic ‘Upgrade failed due to wp-dp error, backup fails as well’ is closed to new replies.