I am testing OSc3 and i am trying to install this.
I am not making any progress beyond the first install window.
It is testing the database now.
I have started a few times, and used different browser.
Using:
Wampserver 2.0
mysql 5.1.36
php 5.3.0
Apache 2.2.11
Latest News: (loading..)
Watching the Testing database windows now for an hour
Started by bluesbrother, Apr 02 2011, 08:32
8 replies to this topic
#1
Posted 02 April 2011, 08:32
#2
Posted 02 April 2011, 08:52
Hi Aldo..
Something is not right with testing the database connection. This is usually performed instantly so if it takes a few seconds longer, then something is definitely not right.
As no error is reported back, can you check if the following file has been created:
osCommerce/OM/Work/Log/errors.txt
Otherwise please inspect your PHP or webserver error log for any PHP errors reported.
Thanks,
Something is not right with testing the database connection. This is usually performed instantly so if it takes a few seconds longer, then something is definitely not right.
As no error is reported back, can you check if the following file has been created:
osCommerce/OM/Work/Log/errors.txt
Otherwise please inspect your PHP or webserver error log for any PHP errors reported.
Thanks,
Harald Ponce de Leon
osCommerce, Sell With Emotion
osCommerce, Sell With Emotion
#3
Posted 02 April 2011, 09:42
error log shows this for me:
[02-Apr-2011 09:28:42] PHP Fatal error: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND' in C:\wamp\www\osCommerce3\osCommerce\OM\Core\PDO\MySQL\Standard.php on line 33
[02-Apr-2011 09:28:42] PHP Fatal error: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND' in C:\wamp\www\osCommerce3\osCommerce\OM\Core\PDO\MySQL\Standard.php on line 33
#4
Posted 02 April 2011, 09:52
Hi Peet..
This seems to be related to the following PHP bug:
http://bugs.php.net/bug.php?id=47224
It seems this only affects PHP 5.3.0 on Windows. Can you confirm that you have the PDO_MYSQL driver installed? Are you able to also enable the mysqlnd extension to see if it helps?
If this continues to fail, we may need to increase the minimum PHP requirement to PHP 5.3.1.
Kind regards,
This seems to be related to the following PHP bug:
http://bugs.php.net/bug.php?id=47224
It seems this only affects PHP 5.3.0 on Windows. Can you confirm that you have the PDO_MYSQL driver installed? Are you able to also enable the mysqlnd extension to see if it helps?
If this continues to fail, we may need to increase the minimum PHP requirement to PHP 5.3.1.
Kind regards,
Harald Ponce de Leon
osCommerce, Sell With Emotion
osCommerce, Sell With Emotion
#5
Posted 02 April 2011, 10:06
I think it's all there. PDO and mysqlnd extension.
I guess I need PHP 5.3.1
See attachment...
[img]http://www.mc-bronneberg.com/1.jpg[/img]
I guess I need PHP 5.3.1
See attachment...
[img]http://www.mc-bronneberg.com/1.jpg[/img]
#6
Posted 02 April 2011, 10:10
Hi Peet..
That's a strange PHP bug
Thanks for pointing this out to us though.
Kind regards,
That's a strange PHP bug
Kind regards,
Harald Ponce de Leon
osCommerce, Sell With Emotion
osCommerce, Sell With Emotion
#7
Posted 02 April 2011, 10:14
Indeed same error as meddiecap
Extension PDO_MYSQL is on.
So i need 5.3.1 as well. Will let you know if this helps.
[02-Apr-2011 08:15:57] PHP Fatal error: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND' in D:\PRJ\www\osc3\osCommerce\OM\Core\PDO\MySQL\Standard.php on line 33
Extension PDO_MYSQL is on.
So i need 5.3.1 as well. Will let you know if this helps.
#8
Posted 02 April 2011, 10:35
Just downloaded teh latest version of Wampserver and installed it on a vmware virtual windows 7
no problems.
no problems.
#9
Posted 04 April 2011, 05:03
Mmm... I have the same problem, but I don't have the same errors in my log...
The errors.txt file has not been created either :|
[03-Apr-2011 23:27:13] PHP Notice: Undefined index: http_cookie_path in /home/*path*/osCommerce/OM/Core/OSCOM.php on line 135 [03-Apr-2011 23:27:13] PHP Notice: Undefined index: http_cookie_domain in /home/*path*/osCommerce/OM/Core/OSCOM.php on line 135 [03-Apr-2011 23:27:13] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/*path*/osCommerce/OM/Core/OSCOM.php:135) in /home/*path*/osCommerce/OM/Core/OSCOM.php on line 414 [03-Apr-2011 23:27:13] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/*path*/osCommerce/OM/Core/OSCOM.php:135) in /home/*path*/osCommerce/OM/Core/Site/Setup/Language.php on line 46
The errors.txt file has not been created either :|














