The errors below most likely are caused by the PHP5.3, you might get something like below if you upgrade to PHP5.3
- Deprecated: Assigning the return value of new by reference is deprecated in /adodb/adodb.inc.php on line 893
- Deprecated: Assigning the return value of new by reference is deprecated in /adodb/adodb.inc.php on line 1919
- Deprecated: Assigning the return value of new by reference is deprecated in /adodb/adodb.inc.php on line 1991
Two things you can try:
- Add ini_set(‘display_errors’,0); error_reporting(0); to index.php in vtigercrm root directory. This will suppress the errors.
- Go to the lines 893, 1919, 1991 and replace “=&” with “=” (removed &). It should fix the errors.
Note, only do #2 if #1 does not work.
2 Comments
// notice the source of the errors is the adodb files
// using the path given in the error message open the files
// to see what revision has been delivered
pico /home/myLoginName/public_html/vtigerCRM/libraries/adodb/adodb.inc.php
// compare the revision level to the latest revision
found at
http://adodb.sourceforge.net/#download
// download the latest revision file {maybe using lynx} into
// /home/myLoginName/public_html/vtigerCRM/libraries
ls *.tgz
//should list the lates revision file (in time the name will change)
adodb518a.tgz
//during untarr a new directory will be created: adodb5
tar -xvzf adodb518a.tgz (or whatever name listed above)
//copy the old revision directory adodb to adodb4
cp -r adodb adodb4
//clean out the old stuff
rm -r adodb
//copy the new revision directory adodb5 to adodb
cp -r adodb5 adodb
//clear out the working files
rm -r adodb4
rm -r adodb5
//test run the install script in your web browser
http://mywebpage.com/vtigerCRM/index.php
Joe – Thanks for Sharing!