Problems during Step 3

I am installing matrix with postgresql and during step_03 I get the following error


Fatal error: Call to undefined function: quoteidentifier() in /home/arul/squiznet/core/include/asset_manager.inc on line 292



What could be wrong ??

Upgrade your PEAR::DB version.

We have encountered this problem as well. What version should we be upgrading to??


We have RHES 3 with Apache Web Server 2.0.46-44.ent.



We have PEAR DB 1.6.8



Cheers

That version should be fine, but you need to ensure that the CLI version of PHP (installed seperately on RHEL3) also has that version of PEAR DB.


If you just run "pear list" on RHEL, you'll see the PEAR modules used by the CGI/Apache module. To see the PEAR version of the CLI version, you need to run:

    # /usr/local/php-cli/bin/pear list


Also, do not upgrade to DB 1.7.0. Something has changed in that version and it breaks Matrix.

There have been something like 3 or 4 revisions of 1.7 the week after it was released. At least 2 were to do with LIMIT clauses and backwards compatability.


If anyone upgrades to the very latest PEAR:DB I'd be interested to know if it works. I havnt had the time to do an upgrade on my local machine yet.

How do i get my pear modules with the php-cli version up to the same versions as the cgi version of php??

If you used the instructions on the forum to install the CLI version of PHP, your CLI PEAR binary is at:


[font=“courier”]/usr/local/php-cli/bin/pear[/font]



So, you can run it like so:



[font=“courier”]# /usr/local/php-cli/bin/pear install DB-1.6.8[/font]

Cheers.


We have just finished the upgrade of our system.