1
_zeph_
Very few modules working - WHAT is wrong?!?!?
  • 2007/4/11 8:03

  • _zeph_

  • Just popping in

  • Posts: 2

  • Since: 2007/1/5 1


I've worked around some with XOOPS 2.016, and can't even get some basic modules working, such as Content?!?. I've concluded I must have the same problem as in the post https://xoops.org/modules/newbb/viewtopic.php?topic_id=54859&forum=28&post_id=242323#forumpost242323

I have quite the same system WAMP -
Windows XP,
Apache 2.0.50,
PHP 5.2.0 and
MySQL 5.0.27.

The content module (version 0.5) gives me the error message below. I do undestand the errormessages, and I can even fix some in the code, but there must be something ELSE e.g. in my php settings or something, that is wrong. Other modules also gives me strange errors, and it seems that thousands of other people are using them with no problems at all.....?!?



---------------------------
In the content module when trying to create a new content:


Error while updating database!
Database Updated Successfully!

If the page does not automatically reload, please click here
All errors (4) queries (7) blocks (0) extra (0) timers (3)
Errors
Notice: Undefined variable: nohtml in file /modules/content/admin/index.php line 319
Notice: Undefined variable: nosmiley in file /modules/content/admin/index.php line 319
Notice: Undefined variable: submenu in file /modules/content/admin/index.php line 319
Notice: Undefined variable: return in file /modules/content/admin/index.php line 324
Queries
SELECT * FROM x2016_config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
SELECT sess_data FROM x2016_session WHERE sess_id = 'g6kccid446pem81g07q72mlfv6'
SELECT * FROM x2016_users WHERE uid=1
SELECT * FROM x2016_modules WHERE dirname = 'content'
SELECT * FROM x2016_config WHERE (conf_modid = '4') ORDER BY conf_order ASC
SELECT * FROM x2016_content
INSERT INTO x2016_content (parent_id,title,text,visible,homepage,nohtml,nosmiley,nobreaks,nocomments,link,address,submenu) VALUES ('0','asdcasdc','asdcasdc','1','0','0','0','1','','0','','0')
Error number: 1366
Error message: Incorrect integer value: '' for column 'nocomments' at row 1
Total: 7 queries
Blocks
Total: 0 blocks
Extra
Timers
XOOPS took 0.154 seconds to load.
XOOPS Boot took 0.074 seconds to load.
Module init took 0.080 seconds to load.

2
Herko
Re: Very few modules working - WHAT is wrong?!?!?
  • 2007/4/11 8:35

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


PHP 5.2.0 and
MySQL 5.0.27.

At the time these modules were written, these didn't exist. Your problems could very well be caused by too new versions of PHP and MySQL. Why not try downgrade php to the latest 4.x, and see if that works. If the problems persist, why not try downgrading MySQL to the latest 4.x too.

Herko

3
irmtfan
Re: Very few modules working - WHAT is wrong?!?!?
  • 2007/4/11 9:50

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


Content 0.5? its a rather too old module the new version is content 1:
https://xoops.org/modules/news/article.php?storyid=3603
also by the time php5 is a recommended version ( after 1.7 year of release date!) and some new modules dont support php4 any longer.

Login

Who's Online

197 user(s) are online (75 user(s) are browsing Support Forums)


Members: 0


Guests: 197


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits