Forum disabled after upgrading
-----
| Author | Message | |
|---|---|---|
|
Peter van Het Hurktoilet |
||
| Thu Oct 19, 2006 10:34 am Post subject: Forum disabled after upgrading | ||
|
Just tried to upgrade my forum from 2.0.17 to 2.0.21 by a clean install (uploaded the complete program excepty config.php and run update to latest. Everything seemed just fine, only: when I wenty back to my control panel to enable the forum again, it asked me to delete the install and contrib directories. After I did this and tried again, it requested me to login, but that was impossible because the forum was disabled.
Does anybody know a way out? |
||
|
Peter van Het Hurktoilet |
||
| Thu Oct 19, 2006 1:02 pm Post subject: Update: changed for a new problem | ||
|
Succeeded to enable the forum by editing the config-file in phpmyadmin. Now the forum is back again, or at least, you can read it. However, whatever I want to do (go to the admin-panel, click a link in the line FAQ|search|register or post a topic, the forum shows the requested page for a second, then sends me back to the forum index.
Anybody any idea to solve this? |
||
|
laisvai |
||
| Thu Oct 19, 2006 1:15 pm Post subject: | ||
|
Personaly i don't understand nothing that you have done
Clean install? what you mean? Best way you could do this is update step by step...First to 2.0.18, then to 2.0.19 and so on till the 2.0.21. |
||
|
Peter van Het Hurktoilet |
||
| Thu Oct 19, 2006 3:35 pm Post subject: | ||
|
Too late: the update has been done.
What I did was: - download and unpack php2.0.21 - delete the config.php - disabled the forum - backupped files and database - uploaded all other stuff to my phpbb2 directory (overwriting the old 2.0.17 except the old config.php) - run the script update_to_latest.php - got a report everything was updated ok - deleted the install and contrib directories - In this situation I was unable to get back to the admin panel to enable the forum again. Why, well eh, because the forum was disabled - I entered the config.php through phpmyadmin and was able to ajust a setting, enabling the forum - Now the forum is visible, but in some kind of read-only modus You may take a look here. Don't worry, you can't do any harm |
||
|
Thoul |
||
| Thu Oct 19, 2006 8:24 pm Post subject: re: Forum disabled after upgrading | ||
|
The redirection to the index is probably being caused by this code in your overall_header.tpl:
Code: OnLoad="if(parent.frames.length==0)top.location='http://www.hurktoilet.nl/phpBB2';"
That will cause a redirection when the page finishes loading. I think it's happening on the index, too. Remove that code and you'll probably see things working as they should. |
||
|
Peter van Het Hurktoilet |
||
| Fri Oct 20, 2006 4:57 am Post subject: | ||
|
Thanks, that's the trick!
|
||
Page 1 of 1