[MySql] XP PRO error Database drivers

Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Posts: 15
Joined: Mon Jul 01, 2013 11:20 am

[MySql] XP PRO error Database drivers

Postby amdorino » Sat Aug 24, 2013 11:20 am

I had succesfull production installation on windows server, but
I have a problem setting OCS on deveopment platform:
* pc windows XP Pro
* IIS 5.1 upgraded to IIS6 using IIS manager
http://www.microsoft.com/en-us/download ... x?id=15662
(IIS MMC->help->about still shows 5.1 version)
* ini configured in C:\Windows with working mbstring and the mysql dll (only)
* config.inc.php configured with mysql : (credentials and db name as suggested)

driver = mysql

host = localhost
persistent = On
debug = Off
(the rest configurations intact, commented)
* Environment variables set, including php folder, php ext folder and mysql utilites (automatically set)
* php extension file (isapi dll) and index file set for IIS
* test.php works: phpinfo
C:\Program Files\MySQL\MySQL Utilities 1.3.4\
* MySql Communiity Server 5.6 with Workbench6 full (dev) features, default service
with port 3306
* root, and other 2 users set with full privileges and schema permissions for ocs
* ocs db was created once (so I ticked it off not to recreate)
* http installation used : localhost and (with no port)
* The php used was not thread safe

CURRENT SITUATION: Installation page opens, displaying [MySql] as not supported module
After submitting details, the page directs to:
http://localhost/Conference/ocs-2.3.5/i ... ge=install
which is blank page.
Enabling erros in the config file I got erros like:
CAUGHT EXCEPTION: Non-static method Core::microtime() should not be called statically, assuming $this from incompatible context (C:\Inetpub\wwwroot\Conference\ocs-2.3.5\lib\pkp\classes\core\PKPApplication.inc.php:90)
CAUGHT EXCEPTION: Non-static method Registry::set() should not be called statically, assuming $this from incompatible context (C:\Inetpub\wwwroot\Conference\ocs-2.3.5\lib\pkp\classes\core\PKPApplication.inc.php:91)

I don't see in the php.net website what I should install or configure for XP PRO.
Any suggestions?
Thanks a lot, I spent severl days on configuring the IIS on XP PRO for OCS, and covered a lot of configurations issues, so [MySql] may be the last or one
of the last issues before good installation for dev environment.

Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: [MySql] XP PRO error Database drivers

Postby asmecher » Mon Aug 26, 2013 3:19 pm

Hi amdorino,

It sounds to me like the MySQL driver might not be loaded in your php.ini config file. Check there, and make sure you restart IIS before trying again.

Alec Smecher
Public Knowledge Project Team

Return to “OCS Technical Support”

Who is online

Users browsing this forum: No registered users and 2 guests