Upgrade problem 1.02 --> 1.04

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
Terabyte
Forum Members
Forum Members
Posts: 79
Joined: Fri Aug 18, 2006 8:57 am

Upgrade problem 1.02 --> 1.04

Post 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 .....
tholler
Forum Members
Forum Members
Posts: 104
Joined: Sat Jan 13, 2007 12:23 pm

Re: Upgrade problem 1.02 --> 1.04

Post 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.
Terabyte
Forum Members
Forum Members
Posts: 79
Joined: Fri Aug 18, 2006 8:57 am

Re: Upgrade problem 1.02 --> 1.04

Post 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;
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: Upgrade problem 1.02 --> 1.04

Post 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
Terabyte
Forum Members
Forum Members
Posts: 79
Joined: Fri Aug 18, 2006 8:57 am

Re: Upgrade problem 1.02 --> 1.04

Post 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?
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: Upgrade problem 1.02 --> 1.04

Post 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?
Last edited by Anonymous on Mon Jan 29, 2007 4:15 am, edited 1 time in total.
Terabyte
Forum Members
Forum Members
Posts: 79
Joined: Fri Aug 18, 2006 8:57 am

Re: Upgrade problem 1.02 --> 1.04

Post by Terabyte »

I get it when trying to run /install/upgrade.php
Nicu

Re: Upgrade problem 1.02 --> 1.04

Post 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!
Terabyte
Forum Members
Forum Members
Posts: 79
Joined: Fri Aug 18, 2006 8:57 am

Re: Upgrade problem 1.02 --> 1.04

Post 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.  :-\
Terabyte
Forum Members
Forum Members
Posts: 79
Joined: Fri Aug 18, 2006 8:57 am

Re: Upgrade problem 1.02 --> 1.04

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Upgrade problem 1.02 --> 1.04

Post by Dr.CSS »

Have you tried rolling back to 1.0.2?...
Terabyte
Forum Members
Forum Members
Posts: 79
Joined: Fri Aug 18, 2006 8:57 am

Re: Upgrade problem 1.02 --> 1.04

Post by Terabyte »

I just gave up and installed a fresh installation of 1.04 instead.

Thanks anyway.
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

Re: Upgrade problem 1.02 --> 1.04

Post 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.
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
Locked

Return to “[locked] Installation, Setup and Upgrade”