2011-08-24, 07:55 AM
Hi,
after doing some search and browsing through different threads i am kind of stuck on my investigation where my thinking goes wrong.
Here is what i am doing:
1. I have a running mybb board on a free site which i want to move to my webserver. I asked the free site for an sql dump of the mybb tables and i got it.
It looks perfectly fine but seem to be an older version. Unfortunately i could not find out which mybb version the free site is using.
2. I downloaded the current version 1.6.4 from here and put the zipped file on the server and unzipped it there.
3. I went through the installation and selected mybb0_ as a table prefix. Installation was successful. Board was up and running.
4. I restored the mybb_ tables from the free site into the same database. As the new one has mybb0_ there is no interference.
5. I edited the config.php file and changed the table prefix to match my restored tables and removed the lock file from the install folder.
6. Now i get the error message that the board has not been upgraded yet, which is correct.
Up until now everything went smoth without any problems. Now what happens is.
I go the upgrade page and get two warnings:
When i try to logon with the old admin username and the old password i get back into the logon screen with the two messages above and an additional 3 warnings.
Complete warning now look like this:
When i try to logon with the old admin username and a wrong password i get the message that the password is incorrect.
So obviously the password check does work.
From my research so far i found out that it must have something to do with the cookie setting and the host/domainname.
Of course i tried several solutions like deleting all cookies and stuff but nothing worked so far.
I took a look into mybb_settings and changed homeurl, cookiedomain and cookiepath to the same values as in mybb0_settings (the working and up to date one).
Still the same problem.
Now this is where i am stuck.
I already did what is suggested on the web and in the sticky thread about logons like:
checking the permissions on settings.php
reuploading it
deleting and regenerating
Did not help.
Question:
1. Anybody having any hints for me ?
2. Is there an SQL upgrade script that i can run manually on the mysql tables ? I can see that the new tables have more columns than the old tables.
Thanks for any information in advance
Jean-Luc
P.S.: Not using my real name as i don't want it to come up on search engines.
after doing some search and browsing through different threads i am kind of stuck on my investigation where my thinking goes wrong.
Here is what i am doing:
1. I have a running mybb board on a free site which i want to move to my webserver. I asked the free site for an sql dump of the mybb tables and i got it.
It looks perfectly fine but seem to be an older version. Unfortunately i could not find out which mybb version the free site is using.
2. I downloaded the current version 1.6.4 from here and put the zipped file on the server and unzipped it there.
3. I went through the installation and selected mybb0_ as a table prefix. Installation was successful. Board was up and running.
4. I restored the mybb_ tables from the free site into the same database. As the new one has mybb0_ there is no interference.
5. I edited the config.php file and changed the table prefix to match my restored tables and removed the lock file from the install folder.
6. Now i get the error message that the board has not been upgraded yet, which is correct.
Up until now everything went smoth without any problems. Now what happens is.
I go the upgrade page and get two warnings:
Quote:Warning: array_merge() [function.array-merge]: Argument #1 is not an array in ../inc/class_session.php on line 371I exchanged the full path with ..
Warning: Cannot modify header information - headers already sent by (output started at /var/www/virtual/targle.com/htdocs/jenseits/inc/class_session.php:371) in ../inc/functions.php on line 1669
When i try to logon with the old admin username and the old password i get back into the logon screen with the two messages above and an additional 3 warnings.
Complete warning now look like this:
Quote:Warning: array_merge() [function.array-merge]: Argument #1 is not an array in ../inc/class_session.php on line 371
Warning: Cannot modify header information - headers already sent by (output started at /var/www/virtual/targle.com/htdocs/jenseits/inc/class_session.php:371) in ../inc/functions.php on line 1669
Warning: Cannot modify header information - headers already sent by (output started at /var/www/virtual/targle.com/htdocs/jenseits/inc/class_session.php:371) in ../inc/functions.php on line 1669
Warning: Cannot modify header information - headers already sent by (output started at /var/www/virtual/targle.com/htdocs/jenseits/inc/class_session.php:371) in ../inc/functions.php on line 1669
Warning: Cannot modify header information - headers already sent by (output started at /var/www/virtual/targle.com/htdocs/jenseits/inc/class_session.php:371) in ../install/upgrade.php on line 228
When i try to logon with the old admin username and a wrong password i get the message that the password is incorrect.
So obviously the password check does work.
From my research so far i found out that it must have something to do with the cookie setting and the host/domainname.
Of course i tried several solutions like deleting all cookies and stuff but nothing worked so far.
I took a look into mybb_settings and changed homeurl, cookiedomain and cookiepath to the same values as in mybb0_settings (the working and up to date one).
Still the same problem.
Now this is where i am stuck.
I already did what is suggested on the web and in the sticky thread about logons like:
checking the permissions on settings.php
reuploading it
deleting and regenerating
Did not help.
Question:
1. Anybody having any hints for me ?
2. Is there an SQL upgrade script that i can run manually on the mysql tables ? I can see that the new tables have more columns than the old tables.
Thanks for any information in advance
Jean-Luc
P.S.: Not using my real name as i don't want it to come up on search engines.