Page 1 of 1
Missing phpwcms_glossary table
Posted: Sat 9. May 2009, 07:24
by forefront
After upgrading from 1.2.5-DEV to 1.4.1 ... I get this error:
Code: Select all
Warning: Invalid argument supplied for foreach() in /home/username/public_html/wcms/include/inc_module/mod_glossary/backend.listing.php on line 205
This is caused by a missing
phpwcms_glossary table in the database. I looked in every available .sql upgrade file and cannot find the CREATE TABLE statement.
Does anyone know where I can find it?
Re: Missing phpwcms_glossary table
Posted: Sat 9. May 2009, 07:59
by flip-flop
Hi Don,
in update procedure there is no glossary tabel.
If you ran in backend the modules first time, the table will created. (Other modules like shop or calendar have the same behavior).
After you have run the modules first time kill the module setup files at /include/inc_module/[module_name]/setup.php
Please have a look:
http://phpwcms-howto.de/wiki/doku.php/e ... ion/update
Knut
Re: Missing phpwcms_glossary table
Posted: Sun 10. May 2009, 03:58
by forefront
The only initial install I've done was with 1.1 ... it's all been upgrades since then.
Where can I find the include/inc_module/mod_glossary/setup.php file?
Re: Missing phpwcms_glossary table
Posted: Sun 10. May 2009, 07:46
by flip-flop
You must run the module in the backend. The tables will be installed automatically. (wiki point 14 / 14.1).
Knut
Re: Missing phpwcms_glossary table
Posted: Mon 11. May 2009, 13:11
by forefront
I found it in upgrade 1.3.2. Everything seems to be fine now.