Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installation Freezes Step 2


caddysoft

Recommended Posts

Go to the 'Latest News' link at the top of the forum homepage and download the updated version of osCommerce MS2 - the problems which cause the install to hang at Step 2 should be resolved by the updated version.

 

Vger

Link to comment
Share on other sites

Installed latest version of Apache 2, PHP 5 and MySQL 5 today and osCommerce 2.2 Milestone 2 Update 051113.

 

After entering;

 

Database Server:

 

Hostame or IP-address of the database server

The database server can be in the form of a hostname, such as db1.myserver.com, or as an IP-address, such as 192.168.0.1

Username:

 

Database username

The username used to connect to the database server. An example username is 'mysql_10'.

 

Note: Create and Drop permissions are required at this point of the installation procedure.

Password:

 

Database password

The password is used together with the username, which forms the database user account.

Database Name:

 

Database Name

The database used to hold the data. An example database name is 'osCommerce'.

Persistent Connections:

 

Enable persistent database connections.

 

Note: Persistent connections should be disabled for shared servers.

Session Storage:

 

I get to next screen and all I get is;

 

New Installation

 

Database Import

 

and the screen hangs. Can progress no further!

Link to comment
Share on other sites

Installed latest version of Apache 2, PHP 5 and MySQL 5 today and osCommerce 2.2 Milestone 2 Update 051113.

 

After entering;

 

.........

 

I get to next screen and all I get is;

 

New Installation

 

Database Import

 

and the screen hangs. Can progress no further!

 

Fixed. I didn't have the MySQL Extensions loading. Installed and working like a dream.

Link to comment
Share on other sites

  • 4 weeks later...
Fixed. I didn't have the MySQL Extensions loading. Installed and working like a dream.

 

 

Notify, I've got the same type of installation on PHP 5/ MYSQL 5. the same package and the same problem.

 

I do not understand what you mean by "Mysql extensions". Would you mind to explain what you actually did?

Link to comment
Share on other sites

Notify, I've got the same type of installation on PHP 5/ MYSQL 5. the same package and the same problem.

 

I do not understand what you mean by "Mysql extensions". Would you mind to explain what you actually did?

 

By default, php.ini does not enable mysql support in PHP. Find the following line in php.ini and remove the semicolon to uncomment the line, and restart your web server and/or restart your computer for the change to take effect -

 

;extension=php_mysql.dll

Link to comment
Share on other sites

MaBiSmAd,

 

Your recommendation makes sense. However, what if you have a php-cgi installation of php? In the php.ini file it says that "ODBC support is built in, so no dll is needed for it".

 

Thanks for your reply!

 

oestrada

 

 

By default, php.ini does not enable mysql support in PHP. Find the following line in php.ini and remove the semicolon to uncomment the line, and restart your web server and/or restart your computer for the change to take effect -

 

;extension=php_mysql.dll

Link to comment
Share on other sites

MaBiSmAd,

 

Your recommendation makes sense. However, what if you have a php-cgi installation of php? In the php.ini file it says that "ODBC support is built in, so no dll is needed for it".

 

Thanks for your reply!

 

oestrada

 

Just to allow PHP to talk to the mysql server, the line in the php.ini must be enabled. This is entirely different from ODBC support.

Link to comment
Share on other sites

MaBiSmAd,

 

Your recommendation makes sense. However, what if you have a php-cgi installation of php? In the php.ini file it says that "ODBC support is built in, so no dll is needed for it".

 

Thanks for your reply!

 

oestrada

 

MaBiSmAd,

Thanks. Makes sense. However, where do you find the dll? When I make that change I get a popup error asking where is the dll. Of course, that's underdanble because my intallation of php is cgi and in /php there're no dll's.

 

Thanks again for your help.

Link to comment
Share on other sites

MaBiSmAd,

Thanks. Makes sense. However, where do you find the dll? When I make that change I get a popup error asking where is the dll. Of course, that's underdanble because my intallation of php is cgi and in /php there're no dll's.

 

Thanks again for your help.

 

In PHP5 there is an "ext" folder within the PHP folder. In PHP4, I believe this was called extension(s). Whether PHP is invoked under cgi or isapi, does not matter. I am assuming that you are on a windows operating system. There are two "windows binaries" versions, the one with the windows installer does not include any extensions. The full .zip version does include extensions.

 

You can download the full .zip version that matches your existing version, unzip it and copy the contents of the ext/extension(s) folder into your ext/extension(s) folder.

 

P.S. There is a path setting in the php.ini that needs to point to the location of the extension folder. Check that this is set properly.

Link to comment
Share on other sites

In PHP5 there is an "ext" folder within the PHP folder. In PHP4, I believe this was called extension(s). Whether PHP is invoked under cgi or isapi, does not matter. I am assuming that you are on a windows operating system. There are two "windows binaries" versions, the one with the windows installer does not include any extensions. The full .zip version does include extensions.

 

You can download the full .zip version that matches your existing version, unzip it and copy the contents of the ext/extension(s) folder into your ext/extension(s) folder.

 

P.S. There is a path setting in the php.ini that needs to point to the location of the extension folder. Check that this is set properly.

 

Thanks. Seems to be working now. I learned a lot. Next time I upgrade PHP I may do a manual installation instead. Seems to be the most flexible for added functionality and the like. Thanks again.

Link to comment
Share on other sites

I'm having the same problem, but I'm running RedHat Linux 9 with PHP4 and MySQL 5. I found in another thread that adding the line "extension = mysql.so ;" to php.ini will fix it, but it does not seem to help. Any suggestions?

 

Thanks!

Link to comment
Share on other sites

I'm having the same problem, but I'm running RedHat Linux 9 with PHP4 and MySQL 5. I found in another thread that adding the line "extension = mysql.so ;" to php.ini will fix it, but it does not seem to help. Any suggestions?

 

Thanks!

 

Another common problem that will cause installation to stop in step 2 is that register_long_arrays needs to be ON in php.ini (as always, restart your web server and/or reboot your computer to cause this change to take effect.)

Link to comment
Share on other sites

Another common problem that will cause installation to stop in step 2 is that register_long_arrays needs to be ON in php.ini (as always, restart your web server and/or reboot your computer to cause this change to take effect.)

 

If you are comfortable with troubleshooting/fixing this problem in Windows, please contact me off list. I'm happy to post the results of what needed to be fixed after the fact. I have a site I'm trying to transfer over this weekend. I need to get the shopping cart up and running asap. If you have time to help today or tomorrow (or even Saturday), please contact me off list.

 

[email protected]

912.352.3689

;)

Link to comment
Share on other sites

If you are comfortable with troubleshooting/fixing this problem in Windows, please contact me off list. I'm happy to post the results of what needed to be fixed after the fact. I have a site I'm trying to transfer over this weekend. I need to get the shopping cart up and running asap. If you have time to help today or tomorrow (or even Saturday), please contact me off list.

 

[email protected]

912.352.3689

;)

This is meant for anyone with knowledge on how to resolve this problem.

Link to comment
Share on other sites

This is meant for anyone with knowledge on how to resolve this problem.

first, are you doing a localhost installation of osc? if you are then, be more specific which part you're having problems with. I've found that if you installed php using the installer, that's a source of many installations problems because the installer does a mininal installtion of php meaning that you have to manually install packages (for added functionality) as your need arises.

 

the install.txt file is very good in helping you with the manual installation.

Link to comment
Share on other sites

  • 2 weeks later...
Another common problem that will cause installation to stop in step 2 is that register_long_arrays needs to be ON in php.ini (as always, restart your web server and/or reboot your computer to cause this change to take effect.)

 

 

Thanks, I set register_long_arrays and register_global both "On" in php.ini and still had a problem with Step 2 getting stuck. Turns out I also need to install the php-mysql package (an RPM file in linux) to allow php to connect to mysql.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...