1
tayling
News 1.56 - new post not saving - submit.php is blank
  • 2007/11/7 11:20

  • tayling

  • Just popping in

  • Posts: 86

  • Since: 2002/1/3 7


Hi
On submitting a new news item i get the debug error

Fatal error: Call to undefined method NewsStory::setStoryImage() in /home/holonfo/public_html/modules/news/submit.php on line 333

and the item is not being saved.

Any help greatly aprreciated
Cheers
Tony

2
script_fu
Re: News 1.56 - new post not saving - submit.php is blank

What kind of server? MySQL and php versions please?

3
script_fu
Re: News 1.56 - new post not saving - submit.php is blank

Also can you turn on php debug. Post if any errors are present...

Is this a new install? How many news topics / stories do you have?

4
tayling
Re: News 1.56 - new post not saving - submit.php is blank
  • 2007/11/7 23:20

  • tayling

  • Just popping in

  • Posts: 86

  • Since: 2002/1/3 7


Hi Billy
THe server is using php 5.20
Mysql 4.1.21
It is a fresh install on XOOPS 2.16

I have set up one category but have not been able to set up any items.

The only debug error is :
Fatal error: Call to undefined method NewsStory::setStoryImage() in /home/holonfo/public_html/modules/news/submit.php on line 333

Thanks for taking a look
Cheers
Tony

5
tayling
Re: News 1.56 - new post not saving - submit.php is blank
  • 2007/11/9 5:52

  • tayling

  • Just popping in

  • Posts: 86

  • Since: 2002/1/3 7


I have go tthe module working by commenting the lines form 333 out
// KickassAMD Modification
// v1.56
//$story->setStoryImage($_POST['article_img']);
//$story->setStoryLink($_POST['link']);
//$story->setStorySource($_POST['source']);

Not sure how to correct but it is now submitting ok
Cheers
TOny

Login

Who's Online

352 user(s) are online (287 user(s) are browsing Support Forums)


Members: 0


Guests: 352


more...

Donat-O-Meter

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

Latest GitHub Commits