Forums / General Questions / login takes me to install again!

login takes me to install again!

Locked

Started by high2k on 8 Jun 2006, 11:02 AM · Views: 2,193

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
8 Jun 2006, 11:02 AM
#1
high2k avatar

high2k

Zen Follower

Join Date:
May 2006
Location:
Scotland
Posts:
198
Plugin Contributions:
0

login takes me to install again!

I've just completed the install of a new site and find that when I click on the 'login' link on my home page it takes me the install zencart page again instead of the login page on https.
You can see the problem at https://shared-ssl.xcalibre.co.uk/www.kentmusictechnology.co.uk/catalog/index.php

What's going on? Never had this issue before. Is it something to do with this latest ZC version?

8 Jun 2006, 12:13 PM
#2
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: login takes me to install again!

Try deleting your browser cache, because I don't get directed to the install page when I click on your login link - I go to the login page.

One thing to note - it's bad news to run all of your site under ssl - Google in particular does not give any page ranking to https pages - so if all of your pages are https that equals no Google ranking for any of them.

You also need to delete or rename the install folder and reset permissions on your two configure.php files.

Vger

8 Jun 2006, 1:08 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: login takes me to install again!

It appears that the /includes/configure.php is incorrect ...

This does not appear to be a valid URL:

https://shared-ssl.xcalibre.co.uk/www.kentmusictechnology.co.uk/index.php?main_page=login

If you could post, from your server, the files

/includes/configure.php

/admin/includes/configure.php

without your username and password in either file ... we could probably help you correct this ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

8 Jun 2006, 1:49 PM
#4
high2k avatar

high2k

Zen Follower

Join Date:
May 2006
Location:
Scotland
Posts:
198
Plugin Contributions:
0

Re: login takes me to install again!

Hi,

admin/includes/configure.php:-

  define('HTTP_SERVER', 'http://www.kentmusictechnology.co.uk');
  define('HTTPS_SERVER', 'https://shared-ssl.xcalibre.co.uk/www.kentmusictechnology.co.uk');
  define('HTTP_CATALOG_SERVER', 'http://www.kentmusictechnology.co.uk');
  define('HTTPS_CATALOG_SERVER', 'https://shared-ssl.xcalibre.co.uk/www.kentmusictechnology.co.uk');

  // Use secure webserver for catalog module and/or admin areas?
  define('ENABLE_SSL_CATALOG', 'true');
  define('ENABLE_SSL_ADMIN', 'false');

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
  // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
  define('DIR_WS_ADMIN', '/catalog/admin/');
  define('DIR_WS_CATALOG', '/catalog/');
  define('DIR_WS_HTTPS_ADMIN', '/admin/');
  define('DIR_WS_HTTPS_CATALOG', '/');

  define('DIR_WS_IMAGES', 'images/');
  define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
  define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
  define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
  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', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');

// * DIR_FS_* = Filesystem directories (local/physical)
  //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
  define('DIR_FS_ADMIN', '/home/961/kentmusic/www.kentmusictechnology.co.uk/public_html/catalog/admin/');
  define('DIR_FS_CATALOG', '/home/961/kentmusic/www.kentmusictechnology.co.uk/public_html/catalog/');

  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_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
  define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
  define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
  define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

// define our database connection
  define('DB_TYPE', 'mysql');
  define('DB_PREFIX', '');
  define('DB_SERVER', 'mysql-02.xcalibre.co.uk'); // eg, localhost - should not be empty
  define('DB_SERVER_USERNAME', '');
  define('DB_SERVER_PASSWORD', '');
  define('DB_DATABASE', '');
  define('USE_PCONNECT', 'false'); // use persistent connections?
  define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'

  // The next 2 "defines" are for SQL cache support.
  // For SQL_CACHE_METHOD, you can select from:  none, database, or file
  // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache 
  // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
  // ie: /path/to/your/webspace/public_html/zen/cache   -- leave no trailing slash  
  define('SQL_CACHE_METHOD', 'database'); 
  define('DIR_FS_SQL_CACHE', 

includes/configure.php:-

// Define the webserver and path parameters
  // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
  // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
  define('HTTP_SERVER', 'http://www.kentmusictechnology.co.uk');
  define('HTTPS_SERVER', 'https://shared-ssl.xcalibre.co.uk/www.kentmusictechnology.co.uk');

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

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
  // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
  define('DIR_WS_CATALOG', '/catalog/');
  define('DIR_WS_HTTPS_CATALOG', '/');

  define('DIR_WS_IMAGES', 'images/');
  define('DIR_WS_INCLUDES', 'includes/');
  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_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

  define('DIR_WS_PHPBB', '/');

// * DIR_FS_* = Filesystem directories (local/physical)
  //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
  define('DIR_FS_CATALOG', '/home/961/kentmusic/www.kentmusictechnology.co.uk/public_html/catalog/');

  define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
  define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
  define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
  define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
  define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

// define our database connection
  define('DB_TYPE', 'mysql');
  define('DB_PREFIX', '');
  define('DB_SERVER', 'mysql-02.xcalibre.co.uk'); // eg, localhost - should not be empty
  define('DB_SERVER_USERNAME', ');
  define('DB_SERVER_PASSWORD', ');
  define('DB_DATABASE', '');
  define('USE_PCONNECT', 'false'); // use persistent connections?
  define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'

  // The next 2 "defines" are for SQL cache support.
  // For SQL_CACHE_METHOD, you can select from:  none, database, or file
  // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache 
  // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
  // ie: /path/to/your/webspace/public_html/zen/cache   -- leave no trailing slash  
  define('SQL_CACHE_METHOD', 'database'); 
  define('DIR_FS_SQL_CACHE', '/home/961/kentmusic/www.kentmusictechnology.co.uk/public_html/catalog/cache');

?>

Have tried clearing my cache and that didn't work.

8 Jun 2006, 1:59 PM
#5
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: login takes me to install again!

define('DIR_WS_HTTPS_CATALOG', '/catalog/');

In both configure.php files.

Vger

8 Jun 2006, 2:28 PM
#6
high2k avatar

high2k

Zen Follower

Join Date:
May 2006
Location:
Scotland
Posts:
198
Plugin Contributions:
0

Re: login takes me to install again!

Thank you!

18 Oct 2006, 8:53 AM
#7
tojo_d avatar

tojo_d

New Zenner

Join Date:
Aug 2005
Location:
Glasgow, uk
Posts:
34
Plugin Contributions:
0

Re: login takes me to install again!

Vger:

define('DIR_WS_HTTPS_CATALOG', '/catalog/');

In both configure.php files.

Vger

Hi I am just setting up my site using a shared ssl, also on xcalibre.

I am currently hosted on dataflame grrrr! https://www.thequalitygiftstore.co.uk

so I want to set up my store and switch my domain over.

I am having similar problems. I want my store in the root of my site, not in a catalog folder with a redirect, but when I install with ssl enabled, I get errors ar login and admin.

Further, I am setting up on a preview url. Does this complicate/

http://www.thequalitygiftstore.co.uk.icarus.webhoster.co.uk/

login gets

https://shared-ssl.xcalibre.co.uk/www.thequalitygiftstore.co.uk//zc_install/index.php

i copied accross my store to the shared ssl folder.

Help please.

Tony

21 Oct 2006, 3:13 AM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: login takes me to install again!

Your /includes/configure.php is not setup correctly ...

Post your /includes/configure.php from the server without your username and password and we can probably help straighten you out ...

NOTE: your /admin/includes/configure.php is probably also wrong ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

21 Oct 2006, 4:16 AM
#9
tojo_d avatar

tojo_d

New Zenner

Join Date:
Aug 2005
Location:
Glasgow, uk
Posts:
34
Plugin Contributions:
0

Re: login takes me to install again!

Ajeh:

Your /includes/configure.php is not setup correctly ...

Post your /includes/configure.php from the server without your username and password and we can probably help straighten you out ...

NOTE: your /admin/includes/configure.php is probably also wrong ...

Thanks,

Got it sorted! Turns out some server issue was preventing a proper install.

Tony