Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Apache and Osomerce


snadowitz

Recommended Posts

Hi - I took it into my head to do a local installation so I could build my shop offline. I have downloaded msql 5, apache server 2 and of course oscomerce. I loaded apache 2 and unziped oscomerce to the htdocs directory and.............

 

It does not work - any ideas? do i have to do anything to Apache to make it/allow it to run php or do I need a different webserver?

 

Snads

Link to comment
Share on other sites

It does not work - any ideas?

 

Not without being clarvoiant :-)

 

do i have to do anything to Apache to make it/allow it to run php or do I need a different webserver?

 

You need to learn what needs to be done to setup apache et al.

 

Here is a good start

 

http://www.webmasterstop.com/48.html

 

There are also many other articles on google that cover similar topics

Link to comment
Share on other sites

Not without being clarvoiant :-)

You need to learn what needs to be done to setup apache et al.

 

Here is a good start

 

http://www.webmasterstop.com/48.html

 

There are also many other articles on google that cover similar topics

 

Hi - I figured out how to setup Apache 2.0 with PHP 5 and now I can see the admin pages for oscomerce. I installed MySql 5 too....

 

Now I can't figure out what the database name is to use when I configure oscomerce for the first time - any helpers out there.

 

By the way - great reasource for config of apache and php is at

 

http://www.ampsoft.net/webdesign-l/how-to-...apache-php.html

Link to comment
Share on other sites

I get to the point where it asks for DB names - enter the names I think are created and then the screen freezes when i press continue - I am sure it is because of the db connection strings but I can't work out what aaaarghhhhhhhhhhhhhhhh!!!!!!!!!!!11

 

Any other suggestions?

 

more info - I replaced the connect strings with the connect strings for my real dbserver on a remote host - same thing. Makes me think that maybe php is not running properly

 

snip snip of my apache access log below - apache error log has no errors

 

127.0.0.1 - - [30/Nov/2005:16:07:26 +0800] "GET /oscom/catalog/install/images/layout/left_column_top.gif HTTP/1.1" 200 443

127.0.0.1 - - [30/Nov/2005:16:07:26 +0800] "GET /oscom/catalog/install/images/install.gif HTTP/1.1" 200 2408

127.0.0.1 - - [30/Nov/2005:16:07:26 +0800] "GET /oscom/catalog/install/images/upgrade.gif HTTP/1.1" 200 3049

127.0.0.1 - - [30/Nov/2005:16:07:26 +0800] "GET /oscom/catalog/install/images/layout/left_bottom_curve.gif HTTP/1.1" 200 388

127.0.0.1 - - [30/Nov/2005:16:07:26 +0800] "GET /oscom/catalog/install/images/layout/right_column_upper_curve.gif HTTP/1.1" 200 190

127.0.0.1 - - [30/Nov/2005:16:07:26 +0800] "GET /oscom/catalog/install/images/layout/bottom_right_curve_y.gif HTTP/1.1" 200 377

127.0.0.1 - - [30/Nov/2005:16:07:26 +0800] "GET /oscom/catalog/install/images/layout/botleft.gif HTTP/1.1" 200 341

127.0.0.1 - - [30/Nov/2005:16:07:26 +0800] "GET /oscom/catalog/install/images/layout/botright.gif HTTP/1.1" 200 339

127.0.0.1 - - [30/Nov/2005:16:07:26 +0800] "GET /oscom/catalog/install/images/layout/middle_bottom_background.gif HTTP/1.1" 200 73

127.0.0.1 - - [30/Nov/2005:16:07:26 +0800] "GET /oscom/catalog/install/images/layout/midright.gif HTTP/1.1" 200 131

127.0.0.1 - - [30/Nov/2005:16:07:26 +0800] "GET /oscom/catalog/install/images/layout/botmid.gif HTTP/1.1" 200 131

127.0.0.1 - - [30/Nov/2005:16:07:27 +0800] "GET /oscom/catalog/install/install.php HTTP/1.1" 200 4991

127.0.0.1 - - [30/Nov/2005:16:07:27 +0800] "GET /oscom/catalog/install/images/layout/help_icon.gif HTTP/1.1" 200 627

127.0.0.1 - - [30/Nov/2005:16:07:27 +0800] "GET /oscom/catalog/install/images/button_continue.gif HTTP/1.1" 200 405

127.0.0.1 - - [30/Nov/2005:16:07:27 +0800] "GET /oscom/catalog/install/images/button_cancel.gif HTTP/1.1" 200 367

127.0.0.1 - - [30/Nov/2005:16:07:29 +0800] "POST /oscom/catalog/install/install.php?step=2 HTTP/1.1" 200 7108

127.0.0.1 - - [30/Nov/2005:16:07:42 +0800] "POST /oscom/catalog/install/install.php?step=2 HTTP/1.1" 200 1972

127.0.0.1 - - [30/Nov/2005:16:09:42 +0800] "GET /oscom/catalog/install/install.php HTTP/1.1" 200 4991

127.0.0.1 - - [30/Nov/2005:16:09:43 +0800] "POST /oscom/catalog/install/install.php?step=2 HTTP/1.1" 200 7108

127.0.0.1 - - [30/Nov/2005:16:09:59 +0800] "POST /oscom/catalog/install/install.php?step=2 HTTP/1.1" 200 1972

Link to comment
Share on other sites

The saga continues - I found out from another thread NOT to install PHP5 - so I donwgraded to PHP4 and get past the step 2 stage - now I get an error that says:-

 

Client does not support authentication protocol requested by server; consider upgrading MySQL client

 

seems I can't connect to the DB for some reason - any ideas?

Link to comment
Share on other sites

OK - it is getting better - I downgraded to mysql 4.09 and still had the same issues as above. By mistake I forgot the username/password in the step 2 instal and it connected immediatley to the DB. I am now configuring the shop.

Link to comment
Share on other sites

I currently have:

- SuSE 10 (Linux 2.6.13-15-default)

- mySQL 4.1.13

- Apache 2.0.54

 

And OsCommerce works just fine-n-dandy. If I activate PHP5 - I can get osc software to ipl, but clicking on any category (index.php?cPath=Value doesn't matter) just keeps taking me back to the main page view. Like the $_POST or $_SESSION variable isn't being propagated to the next instance of index.php and isset($cPath) evals to false so we'll just loop back to the default display, wot?

 

And this *only* happens under php5.

 

pertinant php.ini config values are identical with php4 and php5:

 

register_globals = ON

safe_mode = OFF

 

So, bright people, any ideas rattling around in those tin-cans?

 

AdvTHANKSance!

 

--mike

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...