1
Rowejob
Fatal error: Only variables can be passed by reference in /htdocs/userinfo.php on line 115
  • 2006/9/3 6:25

  • Rowejob

  • Just popping in

  • Posts: 14

  • Since: 2006/3/31


I get that error when i try and view my account information. Also when i update my information. Is there any way to fix that?

This is what I am using.


Xoops 2.0.15
OpenBSD 3.9
Mysql 5.0.18
PHP 5.0.5

2
JCDunnart
Re: Fatal error: Only variables can be passed by reference in /htdocs/userinfo.php on line 115
  • 2006/9/3 18:06

  • JCDunnart

  • Not too shy to talk

  • Posts: 114

  • Since: 2006/7/1 5


As a temporary fix you can try the following...
1. Open the file /class/module.textsanitizer.php using a text editor (windows notepad will do).

2. Find the function "makeTareaData4show"

3. Change:
function &makeTareaData4Show(&$text, $html=1, $smiley=1, $xcode=1)

To:
function &makeTareaData4Show($text, $html=1, $smiley=1, $xcode=1)

I expect the core developers will fix it in the next release.

3
Rowejob
Re: Fatal error: Only variables can be passed by reference in /htdocs/userinfo.php on line 115
  • 2006/9/5 1:44

  • Rowejob

  • Just popping in

  • Posts: 14

  • Since: 2006/3/31


Now i get this error

Fatal error: Class 'XoopsPersistableObjectHandler' not found in /htdocs/modules/extcal/class/event.php on line 59

4
bleu_
Re: Fatal error: Only variables can be passed by reference in /htdocs/userinfo.php on line 115
  • 2006/9/5 2:09

  • bleu_

  • Just popping in

  • Posts: 32

  • Since: 2006/8/1 2


this is a bug already reported at sourceforge HERE so I think the developers will attend it at a convenient time

5
reegen
Re: Fatal error: Only variables can be passed by reference in /htdocs/userinfo.php on line 115
  • 2006/11/22 19:35

  • reegen

  • Just popping in

  • Posts: 1

  • Since: 2006/6/28


Hi, other changes are nesesery, just do one thing:
find line 69 in /class/smarty/xoops_plugins/resource.db.php
$tplobj =& $tplfile_handler->find($GLOBALS['xoopsConfig']['template_set'], null, null, null, $tpl_name, false);

and replace with

$tplobj = $tplfile_handler->find($GLOBALS['xoopsConfig']['template_set'], null, null, null, $tpl_name, false);

that's all,enjoy

Login

Who's Online

274 user(s) are online (243 user(s) are browsing Support Forums)


Members: 0


Guests: 274


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