Updating 1.4.5 to 1.5.4.1: templates do not work

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
foolevil
Posts: 20
Joined: Wed 7. Oct 2009, 18:37

Updating 1.4.5 to 1.5.4.1: templates do not work

Post by foolevil »

Hello!

Im upgrading from 1.4.5 to 1.5.4.1 and trying to follow the guide.
In backend, everythim seems to be ok but templates do not work.

And: editing site structure gives:

Unknown column 'acat_class' in 'field list'
UPDATE phpwcms_articlecat SET acat_name='Työsuhde',
acat_info='',
acat_alias='tyosuhde-2',
acat_aktiv=1,
acat_public=1,
acat_struct=63,
acat_template=17,
acat_sort=20,
acat_uid=2,
acat_hidden=0,
acat_ssl=0,
acat_regonly=0,
acat_topcount=-1,
acat_redirect='',
acat_order=0,
acat_cache='0',
acat_nosearch='',
acat_nositemap=0,
acat_permit='',
acat_maxlist=0,
acat_cntpart='',
acat_pagetitle='',
acat_paginate=0,
acat_overwrite='',
acat_archive=0,
acat_class='',
acat_keywords='',
acat_cpdefault=0 WHERE acat_id=65

I got an idea where is about but dont know what to do.
Somabody kindly help?

KK
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: Updating 1.4.5 to 1.5.4.1: templates do not work

Post by Oliver Georgi »

check your db update. Seems this has failed and now the field acat_class is missing.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
foolevil
Posts: 20
Joined: Wed 7. Oct 2009, 18:37

Re: Updating 1.4.5 to 1.5.4.1: templates do not work

Post by foolevil »

Now, this is odd.... there seems to be no acat_class and and no acat_keywords in phpwcms_articlecat in the version im upgrading from. Im puzzled.
It shows version 1.4.5 but can the database be then much older version?

KK
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: Updating 1.4.5 to 1.5.4.1: templates do not work

Post by Oliver Georgi »

you missed an update step.

Do it manually.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
foolevil
Posts: 20
Joined: Wed 7. Oct 2009, 18:37

Re: Updating 1.4.5 to 1.5.4.1: templates do not work

Post by foolevil »

I've tried manual update - thats how I started this. Now I see the original 1.4.5 database is missing acat_keywords and acat_class in phpwcms_articlecat, and that caused the first error.
Then I added empty acat_keywords and acat_class. It does not change template.
If I got to backend and edit stucture of on page, I get right template in browser for one time, but when I move from page, it disappears.

Could this database without missing acat_keywords and acat_class in phpwcms_articlecat be 1.39 ?

KK
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: Updating 1.4.5 to 1.5.4.1: templates do not work

Post by Oliver Georgi »

don't know.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
kukki
Posts: 1712
Joined: Mon 7. Feb 2005, 20:02
Location: Berlin Köpenick
Contact:

Re: Updating 1.4.5 to 1.5.4.1: templates do not work

Post by kukki »

Dazu bleibt mir nur folgendes zu sagen, die damaligen Updates der Datenbanken waren nicht stabil.

Ich habe den Fehler jetzt auch bei einem Kunden gehabt und dafür eine Lösung gefunden, die zumindest "Works me" ist :mrgreen:
http://forum.phpwcms.org/viewtopic.php? ... 53#p139953
Lieber arm dran als Arm ab!

meine historische Website: Jagdgeschwader 300 1.9.34-R554
kukki's SpIeLwIeSe V.1.9.33 R553 responsive
Post Reply