Fatal error: Call to undefined function mysql_connect()

A place for users and developers of the Xataface to discuss and receive support.

Postby shannah » Tue Jul 25, 2006 2:38 pm

This thread is continued from the plone-users mailing list:

-------------------------
Hi Steve,

Your suggestions sound good. I was hoping that I could get Plone to do everything I want, but in some areas it just doesn?t seem ready.

I am trying to test out Datafaces but have come across a problem that I haven?t been able to resolve. I have everything installed correctly, at least I think it?s installed correctly?I can serve php pages. However, I am getting the following error and haven?t found anything in the existing error reports. Do you have any idea what?s causing this? I have tried both version 0.5.4 and 0.6 and it comes up in both.

I am running Windows XP with MySQL, Apache 2.2, and PHP 5.

Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\dataface\Dataface\Application.php on line 147

Thanks,
Dev
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Tue Jul 25, 2006 2:40 pm

Hi Dev,

It looks like your PHP must not be installed with MySQL support. Apparently PHP 5 doesn't include this extension standard anymore - you must turn it on. This post appears to address this issue:
http://www.faqts.com/knowledge_base/view.phtml/aid/23162

Hope this helps. Thanks for trying out dataface. Please let me know how it goes.

-Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 8 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved