Jump to content


Corporate Sponsors


Latest News: (loading..)

Watching the Testing database windows now for an hour


8 replies to this topic

#1 bluesbrother

  • Community Member
  • 3 posts
  • Real Name:Aldo

Posted 02 April 2011, 08:32

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

#2 Harald Ponce de Leon

  • Manager
  • 3,266 posts
  • Real Name:Harald Ponce de Leon
  • Gender:Male
  • Location:Solingen, Germany

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,
Harald Ponce de Leon
osCommerce, Sell With Emotion

#3 meddiecap

  • Community Member
  • 15 posts
  • Real Name:Peet

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

#4 Harald Ponce de Leon

  • Manager
  • 3,266 posts
  • Real Name:Harald Ponce de Leon
  • Gender:Male
  • Location:Solingen, Germany

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,
Harald Ponce de Leon
osCommerce, Sell With Emotion

#5 meddiecap

  • Community Member
  • 15 posts
  • Real Name:Peet

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]

#6 Harald Ponce de Leon

  • Manager
  • 3,266 posts
  • Real Name:Harald Ponce de Leon
  • Gender:Male
  • Location:Solingen, Germany

Posted 02 April 2011, 10:10

Hi Peet..

That's a strange PHP bug >_< Thanks for pointing this out to us though.

Kind regards,
Harald Ponce de Leon
osCommerce, Sell With Emotion

#7 bluesbrother

  • Community Member
  • 3 posts
  • Real Name:Aldo

Posted 02 April 2011, 10:14

Indeed same error as meddiecap
[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 bluesbrother

  • Community Member
  • 3 posts
  • Real Name:Aldo

Posted 02 April 2011, 10:35

Just downloaded teh latest version of Wampserver and installed it on a vmware virtual windows 7
no problems.

#9 vagui

  • Community Member
  • 4 posts
  • Real Name:Gaby

Posted 04 April 2011, 05:03

Mmm... I have the same problem, but I don't have the same errors in my log...

[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 :|