Re: [PHP] Call to undefined function mysql_real_escape_string()]

2005-12-08 Thread Curt Zirzow
On Thu, Dec 08, 2005 at 08:32:56AM -0500, Paul Hickey wrote: > I have PHP compiled with mysqli. > > The standard answer from the Joomla forums is that I need to have > "mysql" vice "mysqli". I was looking for a more global solution than > having to modify the code for every component, module, mamb

Re: [PHP] Call to undefined function mysql_real_escape_string()]

2005-12-08 Thread David Grant
Hi John, John Nichel wrote: > Paul Hickey wrote: >> I don't understand why I'm getting "undefined function" errors. >> PHP.ini has no reference to mysqli. I don't know if changing this would >> enable the functions specific to PHP > 4.x. > > In your configuration line (how php was configured then

Re: [PHP] Call to undefined function mysql_real_escape_string()]

2005-12-08 Thread John Nichel
Paul Hickey wrote: I have PHP compiled with mysqli. The standard answer from the Joomla forums is that I need to have "mysql" vice "mysqli". I was looking for a more global solution than having to modify the code for every component, module, mambot I want to use. I don't understand why I'm gett

Re: [PHP] Call to undefined function mysql_real_escape_string()]

2005-12-08 Thread John Nichel
Paul Hickey wrote: Can someone help me overcome this recurring problem? I am using the Joomla content management system and I keep coming across the following errors. Fatal error: Call to undefined function mysql_real_escape_string() in /usr/local/apache2/htdocs/common.php on line 24 Fatal e

Re: [PHP] Call to undefined function mysql_real_escape_string()]

2005-12-08 Thread David Grant
Is there no way to specify the database functions in Joomla? You're getting undefined function because you haven't compiled it with mysql, but mysqli instead, which means the functions you need are prefixed with mysqli instead of mysql. Paul Hickey wrote: > I have PHP compiled with mysqli. > > T

Re: [PHP] Call to undefined function mysql_real_escape_string()]

2005-12-08 Thread Paul Hickey
I have PHP compiled with mysqli. The standard answer from the Joomla forums is that I need to have "mysql" vice "mysqli". I was looking for a more global solution than having to modify the code for every component, module, mambot I want to use. I don't understand why I'm getting "undefined functi

Re: [PHP] Call to undefined function mysql_real_escape_string()]

2005-12-08 Thread David Grant
Try using mysqli, instead of mysql. Have you tried Joomla! support channels? Paul Hickey wrote: > Can someone help me overcome this recurring problem? I am using the > Joomla content management system and I keep coming across the following > errors. > > Fatal error: Call to undefined function

[PHP] Call to undefined function mysql_real_escape_string()]

2005-12-08 Thread Paul Hickey
Can someone help me overcome this recurring problem? I am using the Joomla content management system and I keep coming across the following errors. Fatal error: Call to undefined function mysql_real_escape_string() in /usr/local/apache2/htdocs/common.php on line 24 Fatal error: Call to undefine

Re: [PHP] Call to undefined function mysql_real_escape_string()

2005-12-07 Thread John Nichel
Paul Hickey wrote: Can someone help me overcome this recurring problem? I am using the Joomla content management system and I keep coming across the following errors. Fatal error: Call to undefined function mysql_real_escape_string() in /usr/local/apache2/htdocs/common.php on line 24 Fatal

[PHP] Call to undefined function mysql_real_escape_string()

2005-12-07 Thread Paul Hickey
Can someone help me overcome this recurring problem? I am using the Joomla content management system and I keep coming across the following errors.  Fatal error: Call to undefined function mysql_real_escape_string() in /usr/local/apache2/htdocs/common.php on line 24 Fatal error: Call to unde