Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installation Troubles...


felix2000

Recommended Posts

Posted

Maybe I'm just missing something simple here but I can't seem to get it to work.

 

I'm running it on a Redhat 9 box using their RPM's for apache/php and such.

 

osCommerce 2.2 Milestone 2

Apache/2.0.40

PHP 4.2.2

MySQL 4.0.13

 

Now I move the "catalog" dir into my web directory of /var/www/html

I have chmod'ed the full dir 777 (as someone had recommended.)

I've made the changes to the httpd.conf as listed in the INSTALL file.

 

I run the config utility http://<web>/catalog/install

 

Now I fill in all the details as asked and continue then it just seems to stall on the next page. It gives me a half page which says "New Install" then "Step 2: osCommerce Configuration" and nothing else on the page, nothing to continue with.

 

I check the database no new databases where added and the /include/configuration.php has not been modified.

 

Now I've also tried to manual change the configuration.php and add the new manually.

I can never get by the basic config screens. The admin tools never seems to work either gives me this error "Fatal error: Call to undefined function: mysql_connect() in /var/www/html/catalog/admin/includes/functions/database.php on line 19"

 

I know I've put in correct user/password for the db and all permissions for that user.

 

Is there something I've missed? Any thoughts to the problems?

 

Thanks

-=[ Felix ]=-

Posted
... gives me this error "Fatal error: Call to undefined function: mysql_connect() in /var/www/html/catalog/admin/includes/functions/database.php on line 19"

 

Something seems to be wrong with the mysql support for your php?

 

Check if mysql support is installed for you php (you can do this by placing a .phpfile containing <?php phpinfo() ?> on your server and examine the output in a browser.

 

HTH,

Rob

Posted

Yup, there's something not quite right there.

AFAIK MySQL needs to have it's own properties table when it is compiled in right.

 

How did you install php on your server?

If you installed from rpm, I guess you would want to install php-mysql-4.x.x.whatever.rpm?

Keep in mind that I am by no means an rpm expert, I almost never use them myself.

 

Cheers,

Rob

Posted

I'm having these EXACT same issues, except I'm on a Win2kSP4 box. I've been on the forums for a while looking for the solution and have not been able to find one.

 

-- Jayne

Posted

I looked at your PHP info page, I believe you do not have MySQL enabled with PHP.

 

To me, I think if you have MySQL enabled with PHP, in the info page, you should see something like this since my installation has it:

 

mysql

MySQL Support enabled

Active Persistent Links 0

Active Links 1

Client API version 3.23.49

 

I suggest you review the installation document of PHP and MySQL, then reinstall them if you do not want to debug and find out why.

 

On win32 platform like me, and if you want to be an lazy ass, I suggest you use www.sokkit.net. For only $20 USD, save you a lot of time if you do not want to read any manual.

 

Hope this help. :D

Posted
On win32 platform like me, and if you want to be an lazy ass, I suggest you use www.sokkit.net.  For only $20 USD, save you a lot of time if you do not want to read any manual.

 

Hope this help.   :D

 

Thanks!

 

What I did was roll back to Apache 1.3.2 and PHP 4.3.2. I ran the custom installation script making sure I checked to install and upload the test database.

 

Everything works fine now. My next issue is getting SSL to work now. But I know that's at the apache and openssl pages. :lol:

 

-- Jayne

Archived

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

×
×
  • Create New...