Welcome to Geeklog, Anonymous Wednesday, December 25 2024 @ 02:45 pm EST
Geeklog Forums
Unfair backup/restore
Status: offline
tampano
Forum User
Chatty
Registered: 04/06/04
Posts: 59
My provider made a mess with my sql space in their hosting. The, instead of renewing my sql access, created a brand new one. Now my old database is still visible from phpmyadmin but is not serving my geeklog website anymore. Then I tried this. Using the new mysql space I imported a sql backup in the new one. Then changed the four database info in config.php (address, user, password, databasename) and now...I get this error loading my website:
----------
Warning: main(/web/htdocs/www.klum.it/home/20klmstp04/system/databases/.class.php): failed to open stream: No such file or directory in /web/htdocs/www.klum.it/home/20klmstp04/system/lib-database.php on line 110
Fatal error: main(): Failed opening required '/web/htdocs/www.klum.it/home/20klmstp04/system/databases/.class.php' (include_path='.:/php/lib/php/') in /web/htdocs/www.klum.it/home/20klmstp04/system/lib-database.php on line 110
----------
Any idea on how to fix?
--
Tampano
admin of http://www.tampano.com
----------
Warning: main(/web/htdocs/www.klum.it/home/20klmstp04/system/databases/.class.php): failed to open stream: No such file or directory in /web/htdocs/www.klum.it/home/20klmstp04/system/lib-database.php on line 110
Fatal error: main(): Failed opening required '/web/htdocs/www.klum.it/home/20klmstp04/system/databases/.class.php' (include_path='.:/php/lib/php/') in /web/htdocs/www.klum.it/home/20klmstp04/system/lib-database.php on line 110
----------
Any idea on how to fix?
--
Tampano
admin of http://www.tampano.com
10
12
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Make sure you still have this line in your config.php:
Also check your config.php for possible parse errors before that line.
bye, Dirk
Text Formatted Code
$_DB_dbms = 'mysql'; // Do not change (currently, only MySQL is supported)Also check your config.php for possible parse errors before that line.
bye, Dirk
12
10
Quote
Status: offline
tampano
Forum User
Chatty
Registered: 04/06/04
Posts: 59
The problem was that the internal editor in Transmit, my ftp client, saved the config.php file as a 8kb instead of a 30kb...so, some kind of truncated.
Thanks for the help
--
Tampano
admin of http://www.tampano.com
Thanks for the help
--
Tampano
admin of http://www.tampano.com
11
11
Quote
All times are EST. The time is now 02:45 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content