Page 1 of 1
Upgrade problem 1.02 --> 1.04
Posted: Fri Jan 26, 2007 6:27 am
by Terabyte
I get this error:
Fatal error: Call to undefined function: adodb_connect() in C:\Domains\lanta.se\wwwroot\lib\classes\class.global.inc.php on line 160
The error is referring to the code:
$this->db =& adodb_connect();
What to do? adodb_lite folder has been uploaded twice .....
Re: Upgrade problem 1.02 --> 1.04
Posted: Fri Jan 26, 2007 10:31 am
by tholler
Hi,
I'm not shure, but I think he is looking for adodb and not for adodb_lite.
In config.pgp you can activate adodb_lite.
Try it.
Re: Upgrade problem 1.02 --> 1.04
Posted: Sat Jan 27, 2007 2:38 pm
by Terabyte
tholler wrote:
Hi,
I'm not shure, but I think he is looking for adodb and not for adodb_lite.
In config.pgp you can activate adodb_lite.
Try it.
Thanks, but that option shas always been set to "true" in my installation:
$config['use_adodb_lite'] = true;
Re: Upgrade problem 1.02 --> 1.04
Posted: Sat Jan 27, 2007 3:38 pm
by Dee
Terabyte wrote:
The error is referring to the code:
$this->db =& adodb_connect();
What to do? adodb_lite folder has been uploaded twice .....
It looks like not all files of 1.0.4 got uploaded correctly.
adodb_connect is defined in lib/adodb.functions.php
(check presence of that file)
It is included from include.php (that seems to work/be uploaded correctly).
Regards,
D
Re: Upgrade problem 1.02 --> 1.04
Posted: Mon Jan 29, 2007 12:19 am
by Terabyte
Dee, everything is uploaded fine. Checked it on the server. Uploaded it three times.
Are you sure that some include statement is not missing somewhere?
Re: Upgrade problem 1.02 --> 1.04
Posted: Mon Jan 29, 2007 4:07 am
by Dee
Terabyte wrote:
Dee, everything is uploaded fine. Checked it on the server. Uploaded it three times.
Are you sure that some include statement is not missing somewhere?
I'm pretty sure - the include statement is in include.php (line 89), which is always included.
Code: Select all
require(cms_join_path($dirname,'lib','adodb.functions.php'));
Where and when do you get the error exactly?
Re: Upgrade problem 1.02 --> 1.04
Posted: Mon Jan 29, 2007 9:52 pm
by Terabyte
I get it when trying to run /install/upgrade.php
Re: Upgrade problem 1.02 --> 1.04
Posted: Tue Jan 30, 2007 10:32 am
by Nicu
Hello everybody. I don't want to open a new thread, because it's somehow related to the subject of this one (hope it's ok).
How do I go about upgrading from 1.0.2 (which works almost perfectly so far, not counting the "slow motion effect") to 1.0.4 using the DIFF archive? I checked for upgrade instructions but I somehow missed them ... thank you!
Re: Upgrade problem 1.02 --> 1.04
Posted: Thu Feb 01, 2007 5:20 am
by Terabyte
Downloaded the zip file with the upgrade direct on the server and replace the files and stil the same problem appears! I don't think this upgrade is working correct, definitely not on a Windows server.

Re: Upgrade problem 1.02 --> 1.04
Posted: Thu Feb 01, 2007 5:21 am
by Terabyte
Now also the site don't work anymore! :
Fatal error: Call to undefined function: adodb_connect() in C:\Domains\*****\wwwroot\lib\classes\class.global.inc.php on line 160
Re: Upgrade problem 1.02 --> 1.04
Posted: Sat Feb 03, 2007 3:01 pm
by Dr.CSS
Have you tried rolling back to 1.0.2?...
Re: Upgrade problem 1.02 --> 1.04
Posted: Sun Feb 04, 2007 4:47 am
by Terabyte
I just gave up and installed a fresh installation of 1.04 instead.
Thanks anyway.
Re: Upgrade problem 1.02 --> 1.04
Posted: Mon Feb 12, 2007 1:47 am
by kermit
i had a heck of a time with a 1.02 -> 1.04 upgrade here as well. smarty errors on some pages on the front-end plus fckeditor wouldn't load on the back-end at all.
ended up wiping the server (except ./uploads/*), uploading & installing a fresh 1.02, and then reverting the database to a pre-upgrade backup.