1
Just instaled XOOPS 2.0.9.2 locally over Mac OS X 10.3.8/Apache 1.3.33 (Darwin)/PHP 5.0.1/MySQL 4.0.21.
Everything behaved properly until I activated Module News 1.1 that comes with the package:
FIRST. When I click on 'Submit News' the expected form to write the piece of news will open, but below I get:
Warning [PHP]: Invalid argument supplied for foreach() in file modules/news/submit.php line 34
Notice [PHP]: Undefined index: anonpost in file modules/news/include/storyform.inc.php line 39
If I fill in the form and click submit then I get back the same window with the form cleared and no news have been published at all.
Going to line 34 of the file mentioned by the warning I see that the variable $HTTP_POST_VARS is used there. This array was deprecated since PHP 4.1 in favour of $_POST and has given me some trouble before (any time I write a form with PHP, after submitting, my system seems unable to read the contents of the old $HTTP_POST_VARS and I'm therefore always obliged to use $_POST). But I must declare that regarding PHP I'm only less than a not very able amateur.
SECOND. The control panel of the module News is not behaving properly either. Out of the three options expected there, I can only enter into Preferences (Config options), while the Topic Manager and Post/Edit News take me nowhere.
THIRD. I read in some posts in this same forum that newer versions of News are available somewhere. The one I got included with XOOPS 2.0.9.2 is News 1.1 but at least I've heard of 1.3 being around. However I don't know how to upgrade to see if this might solve my problems. I can't find this neither at the Module Repository section nor following the links given in those posts, which only take me to a 404 error.
Have a nice day and thanks to all.