Page 1 of 1
/lib/adodb_lite/adodb.inc.php on line 67
Posted: Sat Aug 05, 2006 2:28 am
by DA
Hi all , once again ,
On instalation , I get this error .
Warning: adonewconnection(/lib/adodb_lite/adodbSQL_drivers/mysql/mysql_cmsms_module.inc): failed to open stream: No such file or directory in /lib/adodb_lite/adodb.inc.php on line 6
Warning: adonewconnection(): Failed opening '/lib/adodb_lite/adodbSQL_drivers/mysql/mysql_cmsms_module.inc' for inclusion (include_path='.:/usr/local/lib/php') in /lib/adodb_lite/adodb.inc.php on line 67
The first warning , I do not understand what I am to put , what , where .
Copy of existing line 6 - * Currently supports Frontbase, MaxDB, miniSQL, MSSQL, MSSQL Pro, MySQLi, MySQLt, MySQL, PostgresSQL,
The secong warning , is almost self explanatory , but what exactly to put into the line and how , as in exactly where to place , what seperators etc . Sorry for this , but I am not a coder , just on a very steep learning curve .
Copy of existing line Line 67 - include_once ADODB_DIR . '/adodbSQL_drivers/' . $dbtype . '/' . $dbtype . '_' . $mod . '_module.inc';
Have a good one , and many thanks
DA
Re: /lib/adodb_lite/adodb.inc.php on line 67
Posted: Sat Aug 05, 2006 2:58 pm
by cyberman
DA wrote:
No such file or directory in /lib/adodb_lite/adodb.inc.php on line 6
Hmm, think this message is the key for the answer - there's not such a file on your server or cannot read.
So you should try to upload the adodb_lite folder once again.
Re: /lib/adodb_lite/adodb.inc.php on line 67
Posted: Sat Aug 05, 2006 3:16 pm
by DA
Hi Cyberman ,
I did the re-upload , and nothing changed , I do not know how significant this is to the operation of CMSMS .
Line six is in the head of the page with the comments , why would it be trying to open some thing there ?
Anyway , this piece is beyond me ( smile ) , back to you .
Have a good day , and thanks for your help .
DA
Re: /lib/adodb_lite/adodb.inc.php on line 67
Posted: Sat Aug 05, 2006 8:06 pm
by Elijah Lofgren
DA wrote:
Hi all , once again ,
On instalation , I get this error .
Warning: adonewconnection(/lib/adodb_lite/adodbSQL_drivers/mysql/mysql_cmsms_module.inc): failed to open stream: No such file or directory in /lib/adodb_lite/adodb.inc.php on line 6
Warning: adonewconnection(): Failed opening '/lib/adodb_lite/adodbSQL_drivers/mysql/mysql_cmsms_module.inc' for inclusion (include_path='.:/usr/local/lib/php') in /lib/adodb_lite/adodb.inc.php on line 67
The first warning , I do not understand what I am to put , what , where .
Copy of existing line 6 - * Currently supports Frontbase, MaxDB, miniSQL, MSSQL, MSSQL Pro, MySQLi, MySQLt, MySQL, PostgresSQL,
The secong warning , is almost self explanatory , but what exactly to put into the line and how , as in exactly where to place , what seperators etc . Sorry for this , but I am not a coder , just on a very steep learning curve .
Copy of existing line Line 67 - include_once ADODB_DIR . '/adodbSQL_drivers/' . $dbtype . '/' . $dbtype . '_' . $mod . '_module.inc';
Have a good one , and many thanks
DA
Hmm.. This is the same problem reported here:
http://dev.cmsmadesimple.org/tracker/in ... 6&atid=101
From my investigation I think you need to:
Please check and make sure that your
lib/classes/class.global.inc.php is at the latest version.
Hope this helps,
Elijah
Re: /lib/adodb_lite/adodb.inc.php on line 67
Posted: Sun Aug 06, 2006 1:03 am
by DA
Hi Elijah and Cyberman ,
A small oops on my part here , I did not tell what version I installed . Version 1.03beta .
" Please check and make sure that your
lib/classes/class.global.inc.php is at the latest version. "
#$Id: class.global.inc.php 3134 2006-07-25 00:21:01Z calguy1000 $
Where do I find the latest version ?
Many thanks
DA
Re: /lib/adodb_lite/adodb.inc.php on line 67
Posted: Sun Aug 06, 2006 1:10 am
by Elijah Lofgren
DA wrote:
Hi Elijah and Cyberman ,
A small oops on my part here , I did not tell what version I installed . Version 1.03beta .
" Please check and make sure that your
lib/classes/class.global.inc.php is at the latest version. "
How do I check the version , and where do I find the latest version ?
Many thanks
DA
I don't think you should ou shouldn't be getting that error unless you have an old lib/classes/class.global.inc.php
Please download this file and make sure you overwrite you current lib/classes/class.global.inc.php with it.
http://viewsvn.cmsmadesimple.org/viewsv ... iew=markup
Please let us know how it goes.
Thanks,
Elijah
Re: /lib/adodb_lite/adodb.inc.php on line 67
Posted: Sun Aug 06, 2006 1:26 am
by DA
Damn , that was quick Elijah ( smile ) ,
First the version of global.inc.php that I have installed is the one that comes with the install package in 1.03beta .
#$Id: class.global.inc.php 3134 2006-07-25 00:21:01Z calguy1000 $
-------------------------------------
I will download the latest as you advised , but how do I verify that every thing is ok ? . Because this message came up at install , do I have to do a re-install to check and see if all is ok ?
Edit: That is the one I have installed Elijah .
Many thanks
DA
Re: /lib/adodb_lite/adodb.inc.php on line 67
Posted: Sun Aug 06, 2006 1:45 am
by Elijah Lofgren
DA wrote:
Damn , that was quick Elijah ( smile ) ,
First the version of global.inc.php that I have installed is the one that comes with the install package in 1.03beta .
#$Id: class.global.inc.php 3134 2006-07-25 00:21:01Z calguy1000 $
-------------------------------------
I will download the latest as you advised , but how do I verify that every thing is ok ? . Because this message came up at install , do I have to do a re-install to check and see if all is ok ?
Edit: That is the one I have installed Elijah .
Many thanks
DA
Turns out I was wrong.
I asked Ted to look it over and he found the reason for it:
(20:37:11) Ted: elijahlofgre1: I see the problem
(20:37:28) Ted: elijahlofgre1: upgrade.php doesn't use the global module
(20:37:40) elijahlofgre1: Ted: Oh. Hmm..
(20:37:42) Ted: And still has: $db = &ADONewConnection($config["dbms"], 'pear

cmsms');
(20:37:45) Ted: I'll fix
(20:37:50) elijahlofgre1: Ted: Aha, Thanks!

(20:39:27) bossbot: svn: cmsmadesimple - trunk/install (rev: 3241) wishy: Fixed adonewconnection call in upgrade.php
You can view difference here:
http://viewsvn.cmsmadesimple.org/viewsv ... pgrade.php
As long as CMSMS is working fine now I don't think it matters if you apply the fix. However on upgrades to CMSMS 1.0 beta4 you should no longer get the error.

Re: /lib/adodb_lite/adodb.inc.php on line 67
Posted: Sun Aug 06, 2006 2:19 am
by DA
Elijah ,
First off I must say that I am totally impressed with the ' service ' here . Most times I have hardly posted and there is a reply , I am lost for words .
Ok , at this stage we are having no problems , so I will leave it untill 1.04beta , then upgrade to that .
Many thanks once again for your help , one and all .
Have a good day
DA