Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

IIS 7 windows vista ultimate


refael

Recommended Posts

Posted

osCommerce 2.2-MS2

PHP Version 5.2.3

IIS 7 windows vista ultimate

 

Hi I am a web designer and no expert in PHP oscommerce

 

I downloaded my client files from his server to my local PC and configured the mysql database locally. When I view it on my local server everything works fine but

when I click on the menu links I keep getting the front page (the index page).

 

So if on my client server one of the links URL is something like this: index.php/cPath/3?osCsid=16e512f4ac3205eacde777d290f330fc

On my server it shows: index.php/cPath/3

 

Is this a session problem or configuration problem?

 

Also I cannot open the admin login page. I hope someone can help me?

 

 

site configuration

 

 

 

define('HTTP_SERVER', 'http://localhost/csoncom'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'http://localhost/csoncom'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'csoncom');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '****');

define('DB_SERVER_PASSWORD', '****');

define('DB_DATABASE', '****');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

// CLR 020605 defines needed for Product Option Type feature.

define('PRODUCTS_OPTIONS_TYPE_SELECT', 0);

define('PRODUCTS_OPTIONS_TYPE_TEXT', 1);

define('PRODUCTS_OPTIONS_TYPE_RADIO', 2);

define('PRODUCTS_OPTIONS_TYPE_CHECKBOX', 3);

define('TEXT_PREFIX', 'txt_');

define('PPRODUCTS_OPTIONS_VALUE_TEXT_ID', 0); //Must match id for user defined "TEXT" value in db table TABLE_PRODUCTS_OPTIONS_VALUES

 

 

admin configuration

 

define('HTTP_SERVER', 'http://localhost/csoncom'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://localhost/csoncom');

define('HTTPS_CATALOG_SERVER', 'http://localhost/csoncom');

define('ENABLE_SSL_CATALOG', false); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/'); // absolute pate required

define('DIR_WS_CATALOG', '/'); // absolute path required

define('DIR_FS_CATALOG', '/'); // absolute path required

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '****');

define('DB_SERVER_PASSWORD', '****');

define('DB_DATABASE', '****');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

Posted
Hi I am a web designer and no expert in PHP oscommerce

But you do understand it is not wise to post passwords and things like that for all the world (and hackers) to read here in your configure.php's do you :)

Posted
But you do understand it is not wise to post passwords and things like that for all the world (and hackers) to read here in your configure.php's do you :)

 

of course the site name, database name username and password are fake! so no worry about that.... is there any help?

Posted
of course the site name, database name username and password are fake! so no worry about that....

OK, good.

is there any help?

You don't happen to have switched on the SEO url's that come standard with osC? As far as I know this does not work for everyone.

Posted
OK, good.

 

You don't happen to have switched on the SEO url's that come standard with osC? As far as I know this does not work for everyone.

 

no this feature is not available on the client server so i guess not on my server.

Posted

is there any solution? also when i open the admin page it gets back to the index page.

i tried to set up the sessions in php.ini and now i see it saves the session but still everything jump back to the index page.

Posted

I am working in IIS7 win vista.

php and mysql is configured and also I set up the sessions path C:\tmp.

when I click any item in the menu the page shows the index page when I try to open the admin it jumps back to the index page.

 

Every link such as: index.php/cPath/3?osCsid=oas6bimt4mu4a7b5s6vn3o1gj3

Shows the index page and not the items in the shop.

 

I download the files from my client server (linux) and configured everything in my local-PC.

Why is this happening? Can anyone help please? :'(

Posted

look in your log files and see what the exact error is. could be a path problem associated with windows and osc

Posted
look in your log files and see what the exact error is. could be a path problem associated with windows and osc

 

where can i find the error log file?

Posted

This sort of pathway: index.php/cPath/3 clearly shows that you have turned on "Use Search Engine Safe URL's" in osCommerce admin --> Configuration --> My store.

 

Just set them back to 'False'

 

Vger

Posted
This sort of pathway: index.php/cPath/3 clearly shows that you have turned on "Use Search Engine Safe URL's" in osCommerce admin --> Configuration --> My store.

 

Just set them back to 'False'

 

Vger

 

Hi thanks a lot!

is there a way to set it off from within the files as i cannot access the admin. when i try to open the admin page i also get the index page (shop front page).

Archived

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

×
×
  • Create New...