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
322 stars 214 forks source link

Problems Updating to v2 from old v1.0.3 install #282

Closed MarcoV1980 closed 10 years ago

MarcoV1980 commented 11 years ago

Dont know if this has been mentioned before, but when i update the old install to the new one, and when i pressed the update from v1 to v2 it mentions Success. But it also says 'System Information - Settings not saved as no changes were made.'

Should it be mentioning this? Seems to be obsolete

Success Executed Update from 1.x to 2.0 System Information Settings not saved as no changes were made.

Description Action Update from 1.x to 2.0

MarcoV1980 commented 11 years ago

Seems it doesnt auto install my current plugins.

When i try to install the forum again, im getting an error table forum already exists

When i try to goto the forum plugin, it just points me to the mainpage.


Error Adding Table: forum ... Success Adding Table: forum_thread ... Adding Table: forum_post ... Adding Table: forum_track ... Adding Link: Forum with url [{e_PLUGIN}forum/forum.php] and perm everyone Settings successfully saved. Adding Userclass: forum_moderator Adding Extended Field: plugin_forum_viewed ... Adding Extended Field: plugin_forum_posts ...

Installation Complete.

MarcoV1980 commented 11 years ago

Other point, it doesnt seem to have imported the frontpage welcome page i set in my old installation.

Moc commented 11 years ago

As for the 'no changes were made', yes this is obsolete. Added as enhancement.

As for the forum issue. You should not have to reinstall your plugin when upgrading. It will simply work as it was before upgrading. The forum however does require database updates as the database structure has changed a lot.

Please create a separate issue for your last report. Stick to one issue in one report :)

CaMer0n commented 11 years ago

Thanks.. @MarcoV1980 , could you post here your frontpage preference from v1.0.3 (you can find it in admin -> database -> preferences editor.

Cheers.

MarcoV1980 commented 11 years ago

Array ( [all] => index.php [10] => [11] => )

Thats the frontpage prefs

CaMer0n commented 11 years ago

okay thanks.. and it didn't retain the 'index.php' after upgrade? What is the pref following v2 upgrade now?

MarcoV1980 commented 11 years ago

Nope, the only thing i saw was the Hello world (thats the standard in the e107 install methinks).

My old settings of the news/ frontpage and welcome pages are nowhere to be found.

CaMer0n commented 11 years ago

What theme were you using before upgrading.. and did you change themes at all AFTER upgrading?

MarcoV1980 commented 11 years ago

I was using the lostcity theme.

After upgrading i tried to keep the main theme, but i also tried to switch to the lostcity theme. But it seems my old settings are nowhere to be found.

This also includes the standard plugins, poll and the forum. Layout is there, but completely non functioning

MarcoV1980 commented 11 years ago

I found something else when enabling certain plugins.

For lots of plugins the database mentions it already has the table for the config. Does this matter and is it correctly in mentioning this, or is something wrong ?

pete-leese commented 11 years ago

Looking at your other github issue report in regards to upgrade issues, the method you used worries me:

Well, basically.

I just unzipped all the alpha1 files into a dir, and pointed it too my database. I made a export from my current 103 and imported it into a new dbase, then ran the install.

If you have just uploaded into its own directory and pointed it to your database instance, no wonder your plugins are not working as I suspect they are not in /e107_plugins/

What you should be doing is just uploading the files and overwriting your current file structure, that way e107 should see your plugins installed following your upgrade.

Looking at forum_thread table name suggests an upgrade has previously been run on the database as this is only introduced as a result of performing a 2.x forum upgrade...

Can you please clarify the steps you have done performing the 1.x > 2.x upgrade?

MarcoV1980 commented 11 years ago

The plugins i mentioned are in the standard install of e107, so i dont see why they suddenly shouldnt be there.

The full files of the e107_alpha1 are uploaded to the website, old v103 database was exported over to test without screwing up my main install.

MarcoV1980 commented 11 years ago

Step 1: Attachment directory permissions

Success Attachment and attachment/thumb directories are writable

This concerns the folder e107_media i had to set this to 777 for this to work, is this the way it should be?

Moc commented 10 years ago

This needs retesting using the latest files from Github. Please open up a new issue if your problems persist.