1
mobydick
Module News 1.1 absolutely refusing to send news!
  • 2005/3/13 12:48

  • mobydick

  • Just popping in

  • Posts: 13

  • Since: 2005/3/13


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.

2
irmtfan
Re: Module News 1.1 absolutely refusing to send news!
  • 2005/3/13 13:48

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


as you can see in news 1.3 annoncement this version has better performance whit php5 so you can use it as a test and see the result by yourself.
upgrade from 1.1 is very easy just read the readme file

3
mobydick
Re: Module News 1.1 absolutely refusing to send news!
  • 2005/3/13 20:15

  • mobydick

  • Just popping in

  • Posts: 13

  • Since: 2005/3/13


Yes, thank you very much for your advice. I'm trying to do so, however I'm not being able to do the upgrade to News 1.3.

One of the steps involved is running a script which I cannot get, since the URL given both at the readme file and the download page only takes me to the dreaded message File Not Found on This Server.
I've tried also a fresh install, which seems not to require the script, but it won't work either.

I'll keep trying.

Have a nice day.

Login

Who's Online

235 user(s) are online (161 user(s) are browsing Support Forums)


Members: 0


Guests: 235


more...

Donat-O-Meter

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

Latest GitHub Commits