Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

installation problems


tazg101

Recommended Posts

Posted

Hi, I am installing oscommerce v2.2 on my iis 5.1 with mysql 5.0 and php 4.4.4 based system.

 

 

I get to step 4 off the installation and the error message is displayed:

 

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\webpages\catalog\install\includes\functions\database.php on line 39

 

the installation hasn't created me any users or any admin rights.

 

if i open catalog/admin/index.php i get the following error message:

 

1146 - Table 'protx.configuration' doesn't exist

 

select configuration_key as cfgKey, configuration_value as cfgValue from configuration

 

[TEP STOP]

 

 

 

What i'm I doing wrong?

 

thank you.

Posted

Well MySQL 5 with PHP 4 is a weird combination to have. If anything it should be the other way around - PHP 5 with MySQL 4, especially if you are using osCommerce 2.2 MS2.

 

You also have Protx installed, but not in your database.

 

If you are copying another website then don't run the Install. Create a new blank database and run a backup of your old database into it. Then edit the two configure.php files manually with the correct pathways for the new website/server.

 

Vger

Posted
Well MySQL 5 with PHP 4 is a weird combination to have. If anything it should be the other way around - PHP 5 with MySQL 4, especially if you are using osCommerce 2.2 MS2.

 

You also have Protx installed, but not in your database.

 

If you are copying another website then don't run the Install. Create a new blank database and run a backup of your old database into it. Then edit the two configure.php files manually with the correct pathways for the new website/server.

 

Vger

 

 

thank you for the reply.. where can I get the .sql documents to create the databases. This is a fresh install and the first time I am using oscommerce

Archived

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

×
×
  • Create New...