e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
321 stars 213 forks source link

Updating from version 1.xx to 2.xx #695

Closed LaocheXe closed 10 years ago

LaocheXe commented 10 years ago

I went and did a test update of my website that is running the last e107 v 1.xx that was released. It worked great - only issue is when it came to the forums.

Our forums have sub-forums, it copied the forum parents, and forum section but no forum post's - no post was converted over to the new version of e107 2.xx

rustedmuffler commented 10 years ago

i have the same problem. the last 2 lines in the system debug: Found setup file download_setup.php Setup function download_setup :: upgrade_required () NOT found

Moc commented 10 years ago

Were no forum topics converted at all? Or just not those in the sub-forums?

Edit: nevermind, I understand now. So no topics are converted at all?

LaocheXe commented 10 years ago

None where converted over.

rustedmuffler commented 10 years ago

The framework for the top level forums appears to be there, but, there is no content (empty), the sub forums (framework) were not created at all.

LaocheXe commented 10 years ago

Correct - That is the only reason I have not upgraded to the new version yet.

RCEE007 commented 10 years ago

Same issue here....

RCEE007 commented 10 years ago

got those errors:

Error

Creating table forum_new

Creating table forum_thread

Creating table forum_post

Creating table forum_track

Creation of table(s) failed. You can not continue until these are created successfully!

Moc commented 10 years ago

I'll work on testing this asap.

Moc commented 10 years ago

I cannot reproduce this on two platforms (linux and windows)...

Can you share some more information on your platforms?

Moc commented 10 years ago

Actually, @RCEE007 You get that error when the new tables could not be created. It could be that the tables are in fact already there. Are you trying to run the update procedure twice? Please describe your steps very specificity

@LaocheXe Please share more information:

Thanks

RCEE007 commented 10 years ago

Indeed, the problem is already existing tables...... It works if i remove the tables manually but...only if i run the forum update trough the plugin manager first.

RCEE007 commented 10 years ago

PHP Version 5.3.10-1ubuntu3.8

MySQL 5.5.38-0ubuntu0.12.04.1 Database: xxxxxx

Moc commented 10 years ago

but...only if i run the forum update trough the plugin manager first.

Hang on, I don't understand. After you have overwritten the v1 files with the v2 files, you should get a database upgrade message. First you go through the v1 to v2 core updates then it also lists plugins that need to be updated including the forum plugin. Currently there is a bug which prevents proper redirection but upon pressing the update button you should be taken to e107_plugins/forum/forum_update.php. You'll have to go through that process ones.

Did you follow these steps? Where did you get stuck specifically? Which step?

RCEE007 commented 10 years ago

After you have overwritten the v1 files with the v2 files, you should get a database upgrade message. --->>>works---->>>First you go through the v1 to v2 core updates then it also lists plugins that need to be updated including the forum plugin---->>>core updates work, pressing "forum update" does nothing.--->>> i then go to plugin manager & update forum...this works i run trough all steps. After this E107 keeps telling me to update forum.

Moc commented 10 years ago

pressing "forum update" does nothing

Correct, this bug is tracked here #710

i then go to plugin manager & update forum...this works i run trough all steps.

Now after running through the 12 steps. Is the forum update completed successfully? As in: do the forums and their topics appear?

After this E107 keeps telling me to update forum.

Correct, this bug is tracked here #727

RCEE007 commented 10 years ago

Now after running through the 12 steps. Is the forum update completed successfully? As in: do the forums and their topics appear?--->>yes. But ....still show this message knipsel

Moc commented 10 years ago

@RCEE007 Correct this is a bug which is tracked here #727

Moc commented 10 years ago

@LaocheXe and @rustedmuffler Please share more information:

rustedmuffler commented 10 years ago

i can't get it work. it would be helpful if the upgrade process had some better reporting on the steps. and some what to do next.

I can create a backup site and give you access if you want see what is happening and it would help others.

On Thursday, August 21, 2014 4:48 AM, Tijn Kuyper notifications@github.com wrote:

@LaocheXe and @rustedmuffler Please share more information: * Were you able to go through all the 12 steps? Did you get stuck anywhere? Any errors? * What does the table structure currently look like? And their contents? — Reply to this email directly or view it on GitHub.

Moc commented 10 years ago

@rustedmuffler:

i can't get it work.

I get that, but I need more information to help you out and try to fix this for you. That's why I have some very specific questions that I'd like you to answer:

If you enable debug mode (enable developers mode (preferences > advanced) and change the URL to include ?[debug=basic+] at the end, e.g. e107_plugins/forum/forum_update.php?[debug=basic+]) you'll receive more information during the upgrade process.

I can create a backup site and give you access if you want see what is happening and it would help others.

Sure. Please send me the login information to e107@tijnkuyper.nl Please also include the login information for the database if possible.

Moc commented 10 years ago

Fixed @rustedmuffler's issue. During the forum update procedure, one of the installed plugins caused a javascript conflict which rendered us unable to click the button on one of the forum update steps. (think it was step 6). Nothing would happen when this button was clicked. Uninstalling the plugin (lightbox - added to the incompatible plugins list already) fixed the issue.

@LaocheXe I need to have more information from you otherwise I'll close this issue.

Moc commented 10 years ago

Closing, feel free to provide more information as requested in my previous reply. I'll then reopen the issue.