Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ROOKIE HAVING PATH PROBLEM


helifan

Recommended Posts

Posted

Trying to install on LOCALHOST

At the end of installation process there is path configuration error:

 

Reaching the last "install panel" says:

 

"configuration was successfull"

 

"Clicking" on any 2 options (Administration or Catalog) leads to error 403

 

You don't have permission to access

/catalog/install/://localhost/catalog/admin/index.php on this server.

 

I can't get rid of /catalog/install/

 

Installation process started over and over again with variation in input data with the same result.

 

I'm lost!

 

Thanks

Posted

The only thing you need to input on a local install are 'database server - localhost' and your database info - the script will correctly detect the rest.

 

Matti

Posted

Thanks for the reply.

 

localhost was already my setting.

 

 

Here are my exact settings:

 

DATABASE IMPORT 1st panel

 

database server: localhost

Username: (nil)

Password: (nil)

Database name: mydatabase

Persistent connection: "ticked"

Session storage: database

 

 

Database import successful

 

 

osCommerce Configuration 2nd panel

 

Please enter the web server information:

 

WWW Address: localhost

Webserver Root Directory: H:/root/mysite/catalog/

 

(Note: H:/root/mysite/ is ://localhost root for APACHE webserver)

 

HTTP Cookie Domain: localhost

HTTP Cookie Path: /catalog/

Enable SSL Connections: "unticked"

 

 

osCommerce Configuration 3rd panel

 

database server: localhost

Username: (nil)

Password: (nil)

Database name: mydatabase

Persistent connection: "ticked"

Session storage: database

Persistent connection: "ticked"

Session storage: database

 

 

The configuration was successful!

 

"clicking" on catalog or adminisration button --->

 

You don't have permission to access /catalog/install/://localhost/admin/index.php on this server.

 

Any other idea?

 

Thanks

 

Silvio

Posted

Dunno why you have got this... www address should be http://localhost - open up both catalog/includes/configure.php and admin/includes/configure.php and set:

 

  define('HTTP_SERVER', 'http://localhost');

 

Matti

Posted

Many thanks!

It's OK now.

 

Just had to modify in both files:

 

define('HTTP_SERVER', 'http://localhost/catalog');

 

Silvio

Archived

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

×
×
  • Create New...