Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New install of 2.2x refreshes continually


themadman

Recommended Posts

I downloaded both the CVS and the Milestone version and both of them just refresh the page no matter where I tell it to go. /install or / or whatever. Here's the url http://www.pursepective.com right now that is the milestone version.

 

I was running a prior version, 2.2 not sure what changed to be called milestone, cuz i didn't have these issues before. Maybe it needs a newer version of PHP or something on the server. dunno, just know that I want to check it out and I'm stuck like chuck.

 

please help

Link to comment
Share on other sites

Well, I'd say you definately have some kind of major problem. I got the following error:

 

Redirection limit for this URL exceeded. Unable to load requested page.

 

My first suggestion would be to double check your installation.

Link to comment
Share on other sites

I can;t even get the page... do other php scripts run?

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Link to comment
Share on other sites

[Thu Mar 13 20:58:39 2003] [error] [client 66.167.190.xxx] File does not exist: /.../.../pursepective.com/web//

 

I added the ... 's in there for security reasons... but somewhere it's adding an additional / from what i can tell, i looked at configure.php and didnt see any thing wrong... compared it to the other too looked ok to me.

Link to comment
Share on other sites

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

Note: no slash

define('HTTPS_SERVER', 'https://www.SecureURL.com'); // eg, https://localhost - should not be empty for productive servers

Note: no slash

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

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

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', DIR_WS_CATALOG . 'pub/');

define('DIR_FS_DOCUMENT_ROOT', $HTTP_SERVER_VARS['DOCUMENT_ROOT']); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_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', ''); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'mysql');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE', 'osCommerce');

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

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

?>

Link to comment
Share on other sites

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

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

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

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

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', DIR_WS_CATALOG . 'pub/');

define('DIR_FS_DOCUMENT_ROOT', $HTTP_SERVER_VARS['DOCUMENT_ROOT']); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_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', ''); // leave empty '' for default handler or set to 'mysql'

?>

Link to comment
Share on other sites

I renamed it to index.php and it came up. Joy. I had to do this for the last one too... so long ago I forgot about it. I had to actually keep a copy of it updated to index.php as well as keeping default.php. Because osc looks for default.php in the code all over the place, correct me if I'm wrong, and cuz server boy wont add default.php in the heirarchy of default docs.... so have to keep two of em updated so ev thing works. Anyone else have to do this as well? or is there something i should know? just curious.

 

Thanks guys for the quick responses... that'll keep this thing rollin out onto new sites steadily and successfully with support like you have here.

Link to comment
Share on other sites

You don't need to keep a seperate default.php. In application_top.php change

 

define('FILENAME_DEFAULT', 'default.php');

 

to:

 

define('FILENAME_DEFAULT', 'index.php');

 

and in catalog/includes/languages/english find the default.php and rename it index.php.

 

Problem all fixed!

Link to comment
Share on other sites

You can probably use a .htaccess file in your doc root to force it to parse default.php as an index file too.. .something along the likes of

DirectoryIndex index.php default.php index.html index.htm

 

should do it.

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...