You are viewing the PKP Support Forum | PKP Home Wiki

[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
What to do if you have a technical problem with OCS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved. Please note that this FAQ is OJS-centric, but most issues are applicable to both platforms.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OCS Conference Support and Discussion subforum; if you have a development question, try the OCS Development subforum.

[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: 15
Joined: Mon Jul 01, 2013 11:20 am

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
Posts: 9922
Joined: Wed Aug 10, 2005 12:56 pm

Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 5 guests