Re: Only variable references should be returned by reference in common.php
Hello,
I have tiki 1.4.1. Everything was fine until my host upgraded the php version to 4.4.2, since then I'm getting the following error:
Notice: Only variable references should be returned by reference in /usr/local/lib/php/DB/common.php on line 1146
I asked the host to downgrade the php version to 4.3, but they refused since the new version has some security bug fix.
So I tried to fix the issue myself. I found the common.php file at lib/pear/DB/, but the indicated line 1146 was a comment.
1143 /** 1144 * returns an errormessage, provides by the database 1145 * 1146 * @return mixed DB_Error or message 1147 * 1148 * @access public 1149 */ 1150 function errorNative() 1151 { 1152 return $this->raiseError(DB_ERROR_NOT_CAPABLE); 1153 }
So i don't know where to look for the error.
May be this is a wrong common.php file, but i didn't find any other files.
I would really appreciate any help in the matter.
thanks ahead,
legerb