1
timgno
Article & Xoops 2.5.0
  • 2011/1/8 0:23

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


The article module can't work with xoops 2.5.0, blank page.
This is a debug rapport:
SconosciutoAssigning the return value of new by reference is deprecated nel file /modules/article/include/functions.php linea 117 
Attenzione
:include_once(/modules/article/include/functions.cache.php) [function.include-once]: failed to open streamNo such file or directory nel file /Frameworks/art/functions.ini.php linea 83 
Attenzione
: include_once() [function.include]:Failed opening '/modules/article/include/functions.cache.php' for inclusion (include_path='.;C:/php5/pear'nel file /Frameworks/art/functions.ini.php linea 83

2
rossb
Re: Article & Xoops 2.5.0
  • 2012/1/19 0:57

  • rossb

  • Just popping in

  • Posts: 77

  • Since: 2006/8/28


Have also run into this:

Assigning the return value of new by reference is deprecated in file /modules/article/include/functions.php line 115:

$category_handler =& xoops_getModuleHandler("category", $GLOBALS["artdirname"]);
$criteria =& new CriteriaCompo("1", 1); <--- Line 115

Anybody fixed it yet?

3
Mamba
Re: Article & Xoops 2.5.0
  • 2012/1/19 7:07

  • Mamba

  • Moderator

  • Posts: 11367

  • Since: 2004/4/23


Quote:
Assigning the return value of new by reference is deprecated in file

Just remove the ampersand "&" and you're good to go...
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

4
rossb
Re: Article & Xoops 2.5.0
  • 2012/1/19 23:17

  • rossb

  • Just popping in

  • Posts: 77

  • Since: 2006/8/28


Thanks;

This also works:

/etc/php.ini: change to "error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED"

ie; add: & ~E_DEPRECATED

This turns the problem from error to nag

FYI, I am using Xoops-2.54 and XOOPS2_mod_article_2.00.RC_phppp which is working, thus far on non-production site.

Login

Who's Online

95 user(s) are online (80 user(s) are browsing Support Forums)


Members: 0


Guests: 95


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