Forums / Install & configuration / Call to undefined function after clicking "Skip Registration"

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Call to undefined function after clicking "Skip Registration"

Author Message

Phlip Wards

Monday 09 June 2003 7:48:08 pm

First, my problem:
After I click "Skip Registration", I get:
Fatal error: Call to undefined function: mysql_escape_string() in /var/www/html/lib/ezdb/classes/ezmysqldb.php on line 525
Fatal error: Exponential did not finish it's request
The execution of Exponential was abruptly ended, the debug output is present below.

No debugging information is displayed. I don't use MySQL, so I'm a little confused. I've tried looking through the code, but it's a little over my head. Has anyone else had this problem? Does anyone have an answer?

TIA

Next, my setup:
- Red Hat Linux 8.0
- Apache 2.0.40 (default installation)
- PHP 4.2.2 (default installation)
- PostgreSQL 7.2.3
- Exponential 3.1 Beta 1

What's important?
- Using the original Red Hat source RPM, I compiled PostgreSQL and changed NAMEDATALEN to 64 (the Red Hat build defaults to 32).
- I unpacked the Exponential source to /var/www/html and edited kernel/sql/postgresql/cleandata.sql to remove all the SELECT statements.
- On another machine, I setup Exponential using the web interface.

Jan Borsodi

Wednesday 11 June 2003 3:59:38 am

Hm, sounds strange. I've never tried it out on an installation without MySQL only with both MySQL and PostgreSQL.
My guess is that the mysql driver is activated somehow before the postgresql driver is used. Mysql is the default choice in the site.ini file.

Could you try to edit site.ini and change the
DatabaseImplementation=ezmysql
to
DatabaseImplementation=ezpostgresql

We'll have to try this out a bit to figure out where the problem lies.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Bård Farstad

Wednesday 11 June 2003 6:41:33 am

Jan's fix is a workaround. The problem was database initializing with the site.ini settings.

I've just commited a fix for this in revision 2705, fix will be in 3.1 final.

--bård

Documentation: http://ez.no/doc

Phlip Wards

Wednesday 11 June 2003 8:54:39 am

I just confirmed the workaround indeed does work. Thank you very much.