1
dleewo
Upgraded to News 1.2.1 and now it doesn't work
  • 2004/9/16 9:38

  • dleewo

  • Just popping in

  • Posts: 12

  • Since: 2004/9/16


I upgraded to the latest news module, but now when I go to the news page, I get a blank page.

I turned on PHP debugging and saw the following:

Fatal error: Call to undefined function: prepare2show() in /home/dleewo/public_html/leewo.net/modules/news/index.php on line 98
Notice [PHP]: Use of undefined constant _MI_NEWS_BNAME6 - assumed '_MI_NEWS_BNAME6' in file modules/news/xoops_version.php line 94
Notice [PHP]: Use of undefined constant _MI_NEWS_BNAME7 - assumed '_MI_NEWS_BNAME7' in file modules/news/xoops_version.php line 100


I followed the upgrade instructions as described in the release. It seems I may be missing a file with the "prepare2Show()" function.

Any suggestions?

2
Mithrandir
Re: Upgraded to News 1.2.1 and now it doesn't work

Hmmm - are you sure you got ALL files uploaded? The prepare2show() method is on the NewsStory class in class/class.newsstory.php

3
dleewo
Re: Upgraded to News 1.2.1 and now it doesn't work
  • 2004/9/16 13:45

  • dleewo

  • Just popping in

  • Posts: 12

  • Since: 2004/9/16


That was the problem. For some reason, I still had the old version on the server. I must have screwed something up during the FTP.

Derek

4
crackerboy
Re: Upgraded to News 1.2.1 and now it doesn't work
  • 2004/10/14 1:45

  • crackerboy

  • Just popping in

  • Posts: 16

  • Since: 2004/9/29


nevermind. sorry.

Login

Who's Online

156 user(s) are online (84 user(s) are browsing Support Forums)


Members: 0


Guests: 156


more...

Donat-O-Meter

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

Latest GitHub Commits