If I create a glossary entry i heve this error message:
Warning: Invalid argument supplied for foreach() in /home/konde/web/include/inc_module/mod_glossary/backend.listing.php on line 205
Error in Glossary module
Hi Mobius,
what version you have in use?
Was the setup running well at the first call of this module?
Knut
what version you have in use?

Was the setup running well at the first call of this module?
Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Need to delete or rename the setup folder.
Having said that, it still seems that this
module is not yet fully implemented.
Guessing it is still on OliG's todo list

(will be wonderful once completed)
The same might be said for the keyword table,
which looks quite inetersting as well.
Lookiing forward to this being completed as well.....
Having said that, it still seems that this
module is not yet fully implemented.
Guessing it is still on OliG's todo list

(will be wonderful once completed)
The same might be said for the keyword table,
which looks quite inetersting as well.
Lookiing forward to this being completed as well.....
Hi,
I'm just using the snapshot 2007-10-09 and getting exactly the same error message. Setup Folder was deleted.
Any recommendations what could be the reason and how to ersolve it?
Thanks,
Felix
I'm just using the snapshot 2007-10-09 and getting exactly the same error message. Setup Folder was deleted.
Any recommendations what could be the reason and how to ersolve it?
Thanks,
Felix
...alles wird gut!
still alive...
Experimenting with phpwcms and hoping to have time one day to get a site live...
One Site finished!
still alive...
Experimenting with phpwcms and hoping to have time one day to get a site live...

One Site finished!

I didn' create anything manualle.
As I understood, the mos are automatically installed/initiated.
You only need to delete the setup folder.
Am I wrong? What do I need to do?
Thanks,
Felix
As I understood, the mos are automatically installed/initiated.
You only need to delete the setup folder.
Am I wrong? What do I need to do?
Thanks,
Felix
...alles wird gut!
still alive...
Experimenting with phpwcms and hoping to have time one day to get a site live...
One Site finished!
still alive...
Experimenting with phpwcms and hoping to have time one day to get a site live...

One Site finished!

Re: Error in Glossary module
Hi Folks....
I´m sorry for my bad English, but i hope, my post can help you.
I had the same Problem with mod glossary on my localhost.
It seems that PHPWCMS Setup routine doesen't create the relevant tables for the Mod, what causes the Mod not to function properly or leading to a failure message. After looking into the DB, there were no such tables.
Afterwards I had a look into the Setup.php from the glossary mod and found the tables, which have to be created within the DB. I compared those to the DB's tables and added them manually to the DB.
Now the Mod works fine for me.
I wonder, because i have this problem only on my localhost, not on my webserver.
Here´s the code i added to DB:
You can see it in other tables of the DB.
Make sure, that you make a DB Backup before update.
Greets
Uwe
I´m sorry for my bad English, but i hope, my post can help you.
I had the same Problem with mod glossary on my localhost.
I´m using phpwcms snapshot 2007-12-05.Warning: Invalid argument supplied for foreach() in /home/konde/web/include/inc_module/mod_glossary/backend.listing.php on line 205
It seems that PHPWCMS Setup routine doesen't create the relevant tables for the Mod, what causes the Mod not to function properly or leading to a failure message. After looking into the DB, there were no such tables.
Afterwards I had a look into the Setup.php from the glossary mod and found the tables, which have to be created within the DB. I compared those to the DB's tables and added them manually to the DB.
Now the Mod works fine for me.

I wonder, because i have this problem only on my localhost, not on my webserver.

Here´s the code i added to DB:
Please change the last line to the settings wich uses the DB.CREATE TABLE `phpwcms_glossary` (
`glossary_id` int(11) NOT NULL auto_increment,
`glossary_created` datetime NOT NULL default '0000-00-00 00:00:00',
`glossary_changed` datetime NOT NULL default '0000-00-00 00:00:00',
`glossary_title` text NOT NULL,
`glossary_tag` varchar(255) NOT NULL default '',
`glossary_keyword` varchar(255) NOT NULL default '',
`glossary_text` mediumtext NOT NULL,
`glossary_highlight` int(1) NOT NULL default '0',
`glossary_object` mediumtext NOT NULL,
`glossary_status` int(1) NOT NULL default '0',
PRIMARY KEY (`glossary_id`),
KEY `glossary_status` (`glossary_status`),
KEY `glossary_tag` (`glossary_tag`),
KEY `glossary_keyword` (`glossary_keyword`),
KEY `glossary_highlight` (`glossary_highlight`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=1 ;
You can see it in other tables of the DB.
Make sure, that you make a DB Backup before update.
Greets
Uwe