Loading...
 
Architecture / Installation

Architecture / Installation


PHP Error - Tiki 1.9.2 on PHP 4.4

posts: 15 Canada

I have recently installed two separate copies of TikiWiki 1.9.2 on my host's server that is running PHP 4.4. In both cases I keep getting the following error ater logging in. So I thought I would ask if anyone else has seen this error:

Notice: Only variable references should be returned by reference in /home/ntcfyyaa/public_html/etsnew/lib/adodb/adodb.inc.php on line 2797

Thanks,
Norm.

posts: 1092

I thought it was fixed in 1.9.2
What lines do you have in adodb/adodb.inc.php line 2796 2797:

$false = false; return $false;


posts: 15 Canada

> I thought it was fixed in 1.9.2
> What lines do you have in adodb/adodb.inc.php line 2796 2797:

>
$false = false; > return $false;

>
>

Hi Sylvie,

line 2797 in the adodb/abodb.inc.php file of my Tiki 1.9.2 installation conatins this:

$ADODB_COUNTRECS = $crecs;

Also, when I try to logout I get the same error along with these ones and the page does not load properly:

Warning: Cannot modify header information - headers already sent by (output started at /home/ntcfyyaa/public_html/etsnew/lib/adodb/adodb.inc.php:2797) in /home/ntcfyyaa/public_html/etsnew/tiki-logout.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /home/ntcfyyaa/public_html/etsnew/lib/adodb/adodb.inc.php:2797) in /home/ntcfyyaa/public_html/etsnew/tiki-logout.php on line 48

Regards,
Norm.

posts: 15 Canada

Oh yes, the version information for this Tiki 1.9.2 install is:

Operating system: Linux
Kernel version: 2.4.21-32.0.1.ELsmp
Apache version 1.3.33 (Unix)
PHP version 4.4.0
MySQL version 4.1.13-standard


Regards,
Norm.

posts: 15 Canada

Yes you are correct, it is indeed the line that reads return $false;

Norm.

> I thought it was fixed in 1.9.2
> What lines do you have in adodb/adodb.inc.php line 2796 2797:

>
$false = false; > return $false;

>
>


posts: 1

Hi there,

from time to time I get a similar error with Tiki 1.9.1.1 when opening a wiki page for editing. It's running on Linux with MySQL 3.23 and PHP 4.4:

"Notice: Only variable references should be returned by reference in /data/export/http/tiki/lib/search/refresh-functions.php on line 286"

I remember getting such errors on variables on other occasions, but did not copy the exact messages. By the way: How to upgrade from 1.9.1.1 to 1.9.2? Is there any simple description? Or is it enough to run a SQL backup, copy the old files and overwrite them with the new ones?

Bye, Sebastian

posts: 17 United Kingdom

By the way: How to upgrade from 1.9.1.1 to 1.9.2? Is there any simple description? Or is it enough to run a SQL backup, copy the old files and overwrite them with the new ones?

My question, also.

I don't see any upgrade advice in the docs that come with 1.9.2 and the advice on this site is to read those docs. Not helpful.

Cheers!


posts: 15 Canada

Still same problem with 1.9.2 and PHP 4.4 - please help!


I have tried re-creating everything again from scratch several times - new MySQL db and files from 1.9.2 archive and I keep getting the same error on my host's server with PHP 4.4 (PagesGarden). Is anyone else having this problem and is there a workaroud or fix?

Notice: Only variable references should be returned by reference in /home/ntcfyyaa/public_html/etsnew/lib/adodb/adodb.inc.php on line 2797

This is the line including return $false;

Thanks,
Norm.


> I have recently installed two separate copies of TikiWiki 1.9.2 on my host's server that is running PHP 4.4. In both cases I keep getting the following error ater logging in. So I thought I would ask if anyone else has seen this error:
>
> Notice: Only variable references should be returned by reference in /home/ntcfyyaa/public_html/etsnew/lib/adodb/adodb.inc.php on line 2797
>
> Thanks,
> Norm.
>



Upcoming Events

1) 
TikiFestFosdem2023

Menu