1
filesiteguy
Error: Only variable references should be returned...

XOOPS Version: 2.0.x
Module Name/Version:
PHP Version: 4.4.2
MySQL Version: 4.0.27
Web Server Software (Apache/IIS/Other): Apache 1.3.36 (Unix)
Operating System: Unix
Theme you are using: KubrikFlexible
Custom template: (Yes/No) No
PHP Debug Messages:
MySQL Debug Messages:
Smarty Debug Messages:
A full description of the issue:

On Saturday, my web host begun to have router issues. This was resolved on Sunday. I have seven sites hosted with this host (a reseller account) and four of them are Xoops-based.

All sites except one came up just fine. Here are the messages I get when I go into SQL and set debugging = 1.

Prior to Saturday, the site was running fine and no changes have been made since early last week. I googled this and found that the issue usually revolves around PHP versions. However, like I said, I have three other XOOPS sites running just fine on the same host.

Quote:
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 517
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 517
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 236
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 383
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 517
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 236
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 383
Notice [PHP]: Only variable references should be returned by reference in file kernel/config.php line 188
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 108
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 108
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 108
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 108
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 108
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 108
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 108
Notice [PHP]: Only variable references should be returned by reference in file class/database/database.php line 128
Notice [PHP]: Only variable references should be returned by reference in file class/database/database.php line 128
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 236
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 383
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 236
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 383
Notice [PHP]: Only variable references should be returned by reference in file class/database/database.php line 128
Notice [PHP]: Only variable references should be returned by reference in file class/database/database.php line 128
Notice [PHP]: Only variable references should be returned by reference in file class/database/database.php line 128
Notice [PHP]: Only variable references should be returned by reference in file class/database/database.php line 128
Notice [PHP]: Only variable references should be returned by reference in file class/database/database.php line 128
Notice [PHP]: Only variable references should be returned by reference in file class/database/database.php line 128
Notice [PHP]: Only variable references should be returned by reference in file class/database/database.php line 128
Notice [PHP]: Only variable references should be returned by reference in file class/database/database.php line 128
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 257
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 257
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 257
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 257
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 257
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 257
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 257
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 257
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 257
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 517
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 236
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 383
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 517
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 236
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 383
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 119
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 257
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 257
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 257
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 257
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file kernel/module.php line 123
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 257
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file kernel/module.php line 123
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 257
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 236
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 383
Notice [PHP]: Only variables should be assigned by reference in file header.php line 144
Kai Ponte
The FileNET Developer Forum || My Site

$question = $bb|!$b(2)...

2
Herko
Re: Error: Only variable references should be returned...
  • 2006/6/5 15:04

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


Notices won't break your code. They remind coders that a previously supported coding style will not accepted anymore in the future, and thus gives them time and information to change their code.

Look for warnings and errors, they might help determine why that one site isn't working.

Also explain what exactly isn't working, and what the symptoms are.

Herko

3
filesiteguy
Re: Error: Only variable references should be returned...

Thanks for the reply.

I see that there are only notices....hmmm.

Um, the site gets whitescreen now. Nothing is returned. I thought it might be the templates_c folder, so I emptied that. Nothing. I then turned debug on in MySQL and this is what I get.

Can't figure it out.

Grrr...
Kai Ponte
The FileNET Developer Forum || My Site

$question = $bb|!$b(2)...

4
filesiteguy
Re: Error: Only variable references should be returned...

Wierd!!

I didn't have time to get back to the site. Finally this morning I figured I'd go delete the directory and re-upload XOOPS from a backup.

Guess what? The site is working fine.

WTF???

/me shakes head...
Kai Ponte
The FileNET Developer Forum || My Site

$question = $bb|!$b(2)...

Login

Who's Online

316 user(s) are online (275 user(s) are browsing Support Forums)


Members: 0


Guests: 316


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