WBCE CMS Forum

WBCE CMS – Way Better Content Editing.

Du bist nicht angemeldet.

Ankündigung

WBCE CMS 1.6.9 verfügbar / available - wichtiges Sicherheitsudate / important security update

#1 04.04.2020 10:31:06

robkiel
Mitglied

Upgrade module Code to Code2

Hello,

I'm trying to upgrade the old  Code module to Code2, I have about 390 code sections, so doing manual is not a option.

After installing the new Code 2 module, I made following steps in the database:

  1. Delete table "_mod_code2"

  2. Rename table "_mod_code" to "_mod_code2"

  3. Add colomn "whatis" in table "_mod_code2" 

  4. Changed in colomn "module" in table "_sections" "code" to "code2"

But this is giving a white page (only the template is shown), so I'm something missing, but what?

I have this versions of the modules:
Code = 3.02
Code2 = 2.2.17

Thanks in advance for your help.

Offline

#2 04.04.2020 11:14:34

colinax
Developer

Re: Upgrade module Code to Code2

I hope you have a DB backup.

Can you tell me why you want to do this?

Version 3.0.2 sounds like WB and not WBCE, our code module has version 5.5

Offline

#3 04.04.2020 13:29:59

florian
Administrator

Re: Upgrade module Code to Code2

@robkiel
It should work like this. Make sure that the column "whatis" is not empty.
It has to be a column of type "int(11)" and should have the value 0, 10, or 20 (code-type PHP in a small, large, automatically scaled box).
If this is already the case, refer to the error log (Admin-Tools > Errorlog Viewer on WBCE >= 1.4.1) for information about further issues.

Actually this is not an module update but a migration. Code and Code2 are different modules.

Offline

#4 04.04.2020 16:20:19

robkiel
Mitglied

Re: Upgrade module Code to Code2

florian schrieb:

Make sure that the column "whatis" is not empty.

Thanks Florian, that did the trick.

Correct, it's a website that was originally setup with WebsiteBaker.
All working now, thanks for the help (and quick response).

Offline

Liked by:

florian

Fußzeile des Forums

up