Installing problems...
 
Notifications
Clear all

Installing problems after moving to another server [SOLVED]

15 Posts
1 Users
0 Reactions
6,028 Views
(@guest1966)
Posts: 0
 

Hi!

my page: http://www.light-of-hope-fanfiktion.de/efiction

the problem: I had to move the server and made a backup of the database through phpMyAdmin. Then I imported the backup to the new server and changed the config file. The problem is that the page is not there but begins to show the installation site. I tried to install it, but because I changed the tabels in the old efiction there is another problem: If I try to install the tabels automatically it says that the table allready exists and if I try to do it manually it says "Manually install the tables found in the docs/ folder now." and I can not move on.

I hope you can help me!

greetings,
Karin


 
Posted : 21/08/2008 6:48 pm
(@guest1448)
Posts: 0
 

After importing the MySQL-Backup, you normally don't need to run the installer again. Try deleting the /install folder and call your site again.

Steffen


 
Posted : 21/08/2008 7:01 pm
(@guest1966)
Posts: 0
 

I deleted the install folder. But now an white entry page is there with a news articel I wrote before uploading the old database. I deleted everything in the new database and uploadet the old one, how can it be, that this article is still there? And unfortunatly there is nothing but a white page with this article.

On the top of the page it says:

Warning: Invalid argument supplied for foreach() in /var/www/web325/html/eFiction/header.php on line 86


 
Posted : 22/08/2008 7:23 am
(@guest1448)
Posts: 0
 

Hmm, really strange. How you did the server move? Did you only transfered the database and reinstalled eFiction from the original zip file? If this is the case, you rather should make a backup of the old files, copy the exact file structure from your old host to the new one. Perhaps you had an older eFic version there and now the database isn't compatible with the newest one. For example, if you had eFic 3.1 installed on your old server and now installed eFic 3.4.3, the database isn't compatible with the new files.
Also check that you have uploaded all the files from the zip.
BTW: The link you provided prints an error 404.

Steffen


 
Posted : 22/08/2008 8:57 am
(@guest1966)
Posts: 0
 

Ok, I deleted everything and uploaded the backup through phpMyAdmin again without the installation file.
Now this occours:

Not Found
The requested URL /eFiction/install/install.php was not found on this server.

--------------------------------------------------------------------------------

Apache Server at www.light-of-hope-fanfiktion.de Port 80

But if I install efiction again the problem with the tables will occour again.

greetings,
Karin


 
Posted : 23/08/2008 8:33 am
(@guest1448)
Posts: 0
 

OK.... let's go through it again, step by step:

1. Go to your old webhost and make a backup of your mySQL database - I think you did this already.
2. Also make a complete FTP backup of your eFiction folder.
3. Log in to your new webhost and create the mySQL database using the backup you made before.
4. Open config.php and change the database settings to connect to the new database.
5. Now, upload everything you've backed up before. The eFiction files, skins, the stories folder (if applicable)... everything.
6. Now open your site, everything should work fine.

**********

So, und da du offenbar auch deutsch kannst und ich mir irgendwie keinen Rat mehr weiß, hier noch mal Schritt für Schritt:

1. Logge dich bei deinem alten Webhoster ein und mache ein Backup der MySQL-Datenbank. HAst du aber offensichtlich schon getan.
2. Melde dich ebenfalls bei deinem alten Webhoster über den FTP-Zugang an und mache ein komplettes Backup des dortigen eFiction-Ordners - Skins, Stories, alles.
3. Jetzt bei deinem neuen Webhoster einloggen und zunächst die Datenbank über PHPmyadmin einspielen.
4. Öffne in dem gesicherten eFiction-Ordner die Datei config.php und ändere gegebenenfalls die Zugangsdaten zur Datenbank.
5. Nun lade den kompletten eFiction-Ordner bei deinem neuen Webhoster wieder über FTP hoch. Und wirklich nur die gesicherten Dateien, keine Neuinstallation.
6. Jetzt sollte die Seite wieder funktionieren.

Falls es dann noch immer probleme gibt, weiß ich mir echt auch keinen Rat. 🙂

Steffen


 
Posted : 23/08/2008 9:59 am
(@guest1966)
Posts: 0
 

I have done all steps. Deleting everything by MyPhp and ftp-uploader. Then uploading the database backup und after that the efiction files by ftp uploader. Then I went to the site and the installation started. I deleted the installation file again and now there is nothing "site was not found". I checked the config file but it is ok.
I wouldn´t mind to install efiction again if the stories and the user still would be there. Do you know if they would still be there after a new installation (with the old database uploaded in MyPhP)?

**********
Auf deutsch:
Erstmal danke für die Hilfe und die deutsche Übersetzung! Wie oben (auf engl) gesagt hab alles gelöscht und nach deiner Anleitung (bis darauf das ich die ftp daten nicht mehr als backup hatte aber eigentlich eh noch die alten am Computer hatte, daran dürfts also nicht liegen) neu hochgeladen. Leider kam wieder die installation und nach dem Löschen der Datei eine Fehlerseite. Es geht mir eigentlich hauptsächlich um die Stories und die Userdaten, ist nicht schlimm wenn ich die Seite neu installieren muss, solange die Daten noch da sind, da die alte Datenbank bei PHPAdmin ja hochgeladen ist. dann würd ich auch das alte Layout löschen und inzwischen ein anderes nehmen, damit das Tabellenproblem nicht auftaucht, wenn nur die Daten dann noch da sind.  🙂 Würd das funktionieren?
lg


 
Posted : 23/08/2008 12:52 pm
(@guest1448)
Posts: 0
 

Strange. Usually, the script looks for the installer if config.php was not found. Do you have this file in your eFiction root folder with correct permissions set (644)?
You could try to set up a blank installation and then overwrite the database tables with your backup.

*****

Wirklich seltsam. Normalerweise sucht eFiction nur nach dem installer, wenn im Hauptverzeichnis die config.php fehlt oder aus anderen Gründen nicht gelesen werden kann - falsche Zugriffsrechte etc. Aber ich schätze mal, die wird bei dir vorhanden sein.
Du könntest ja versuchen, mal eine komplette Neuinstallation zu machen, ohne Backup usw. Danach dann die Tabellen mit dem Backup überschreiben. Aber schau erstmal, ob die Neuinstallation überhaupt funktioniert, dann weißt du wenigstens ob es am Backup liegt oder nicht.

Steffen


 
Posted : 24/08/2008 6:08 am
(@guest1966)
Posts: 0
 

Unfotunatly it still doesn´t work. I put the new password and username into the configfile and deleted the old sitekey. Then I installed efiction again and wrote the backup over the old tables and this occurs:

Warning: Invalid argument supplied for foreach() in /var/www/web325/html/eFiction/header.php on line 86
A fatal MySQL error was encountered.
Query: SELECT * FROM fanfiction_blocks
Error: (1146) Tabelle 'usr_web325_1.fanfiction_blocks' existiert nicht

***************

Geht leider immernoch nicht. Ich hab die neuen Daten (neuer Username, neues Passwort) ins Config geschrieben und den alten Sitekey gelöscht, vielleicht ist das ja der Fehler? Aber den alten bekomm ich jetzt leider nirgends mehr her. Jedenfalls hat die Installation funktioniert, aber als ich das Backup drüber geschrieben hab ist der Fehler aufgetaucht. Allerdings hatte ich da ein anderes Layout als im alten efiction, weil das ja wegen den geänderten Tabellen nicht geht.
lg


 
Posted : 26/08/2008 2:26 pm
(@guest1448)
Posts: 0
 

Ah, that's the problem. You must use the old sitekey, don't delete it.

*****

Genau das ist das Problem. Du brauchst den alten Sitekey, wie er auch in der Settings-Tabelle in der Backup-Datenbank vorhanden ist. Wenn der Sitekey in config.php nicht mehr mit der Datenbank übereinstimmt, dann funktioniert die Seite natürlich nicht mehr. Falls du den alten Sitekey nicht mehr auftreiben kannst, dann musst du versuchen, über PHPmyadmin die Tabelle fanfiction_settings manuell zu bearbeiten. Suche dort nach dem Sitekey (das feld heißt glaub ich auch so) und füge ihn wieder in die config.php ein.

Steffen


 
Posted : 27/08/2008 2:39 pm
(@guest1966)
Posts: 0
 

I changed the sitekey to the old one deleted the database again and loaded up the backup again.

_FATALERRORQuery: SELECT * FROM eFictionfanfiction_settings WHERE sitekey = 'n5AQA4Q72Y'
Error: (1046) Keine Datenbank ausgewählt

***********
Aso! Ok hab den alten Sitekey in der config Datei geändert aber jetzt erscheint diese neue Fehlermeldung.

lg


 
Posted : 27/08/2008 5:24 pm
(@guest1448)
Posts: 0
 

Check the $dbname variable in config.php, it shouldn't be empty.

*****

Prüf mal die $dbname-Variable in config.php. Da muss der korrekte Datenbank-Name drin stehen. Weiß echt nicht was du da bei dir anstellst. Ist wie Unkraut zupfen, es kommt immer wieder was neues. 😀


 
Posted : 27/08/2008 6:18 pm
(@guest1966)
Posts: 0
 

ok, I put the right sitename in it but the site is still the same.

*****************

Hab den Seitennamen eingefügt, aber leider ist die Seite immernoch die gleiche, soll ich viell alles nochmal löschen und neu hochladen?
Sorry für die Umstände!  🙂


 
Posted : 28/08/2008 4:40 pm
(@guest1448)
Posts: 0
 

$dbname isn't the site name. You need to put the MySQL database name in there. And if this doesn't work and nobody else is reading this thread... you better delete everything and setup your archive from scratch. 🙂

*****

$dbname hat nichts mit dem Seitennamen zu tun, dort gehört der Name der Mysql-Datenbank hinein. Falls das dann noch immer nicht geht, dann bleibt dir wohl nichts anderes übrig, als komplett neu anzufangen. Jemand anders scheint das ja hier nicht zu lesen. 🙂 Ich könnte dir dann höchstens noch anbieten, mal via Privatkontakt auf deine Konfiguration zu schauen. Kann doch nicht sein, dass so ein einfacher Serverwechsel nicht funzt...


 
Posted : 28/08/2008 6:41 pm
(@guest1966)
Posts: 0
 

Yes! It works!!  😆 Thank you very much!!

************

Danke!!! Mir fällt ein Stein von Herzen, endlich ist alles wieder da!! 😆


 
Posted : 29/08/2008 6:20 pm
Share: