Loading...
 
Skip to main content

Architecture / Installation


adodb.inc.php error...

posts: 9

I tried doing a search on the forums first and didn't pull anything, and I'm a newbie, so if it's already been answered, my aplogies.

I'm running tikiwiki on two different sites by the same hosting provider (but on two different servers of his, I believe). One's 1.8.5 and the other is 1.9. Both of them are getting this notice, though - it appears at the top of the screen about 7-8 times, then the site loads up:

Notice: Only variable references should be returned by reference in /home/ccb/public_html/wiki/lib/adodb/adodb.inc.php on line 2736

Sometimes, this also appears:
Warning: Cannot modify header information - headers already sent by (output started at /home/ccb/public_html/wiki/lib/adodb/adodb.inc.php:2736) in /home/ccb/public_html/wiki/index.php on line 10

For the 1.9 version, I went into admin - general and disabled notices displayed, and things seem "ok" (as in, nothing else seems to be acting oddly and the notices don't show anymore)

For the 1.8.5 version, I tried doing the same thing, and they continue to be displayed. In addition, I seem to have lost my entire left column.

To further muddy the situation, it seems that the admin login no matter what gets these notices (after logging in), but it's intermittent with other users.

What did I do?

posts: 2881 United Kingdom

I would guess they upgraded to MySQL 4.1 which is not supported by any released version yet. The Development BRANCH-1-9 of TikiWiki has support but there is no stable release yet.

Damian Parker
http://free.tiki.at.tikihost.net

posts: 9

As an update, someone has pointed me to a similar issue they had on mambo - same general error, different code...here's what he said:

Ah nvm, find the answer to my own question on SMF forum. It's a backward compatibility issue with the new release of PHP 4.4.0. For any other users that have a similar problem, go for a search on supports forum for whatever software that's casuing the problem and you ought to be able to find a patch or something.

I'm going to take a look around for something of the sort and update here if I find it. Any pointers or feedback would be great...


> I would guess they upgraded to MySQL 4.1 which is not supported by any released version yet. The Development BRANCH-1-9 of TikiWiki has support but there is no stable release yet.
>
> Damian Parker
> http://free.tiki.at.tikihost.net


posts: 9

whipped up a quick mysql select version() in php (restricted ports here, til I get home) and god the following:

4.0.22-standard

any thoughts?


posts: 3

I have the same problem. It is similar to (and appeared at the same time as) a problem in Moodle. This does have to do with the new version of PHP.

To fix the Moodle problem, I had to install the latest version of ADODB and make a very small change in the code in adodb.inc.php

Installing the new version of adodb into the Tiki folder did not make a differnce (except changing the line number where it supposedly happens). Come to think of it, though, this was the version with the change that fixed Moodle.

So, I now suspect that there is some code change that needs to be done here, but I am no where near the programmer needed to find it.

Has anyone else figured it out?

Albert Ingram


posts: 1

well after trying to install 1.9.1 I got this ado.db thing
tried it with 1.8.6 (stable!!) --> same thing
running mysql 4.025 and php 4.4x (quite a common combination I suppose)
now reading this thread what I get is that with every mysql- or php-upgrade there is a good chance that tikiwiki is seriously fucked up..
--
hard to believe the "free software is good for You" claim
--
I just wonder, that this is not a major concern with 140.000 users
--
A last thing, the search-function now and then throws an empty page after half a minute or so, whatever that is, a comment like "try refine your search, or any feedback would be great, talking about usability here
--
excuse my tone, but it really reflects my mood
--😧


posts: 102

Please visit this thread:

http://tikiwiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=17048

and I would be interested to know if it will solve the problem you (and the others who responded) encountered.

As I explored in a separate post

http://tikiwiki.org/tiki-view_forum_thread.php?topics_offset=3&forumId=6&comments_parentId=17212

knowing your response — whether the remedy suggested by Chris would work for you or not — will be important to know, so that people will be able to eliminate possible sources of errors.

cgc0202