Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Duplicate URL in login link

Duplicate URL in login link

Locked

Views: 1,338

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
9 Oct 2006, 1:56 AM
#1
azac avatar

azac

New Zenner

Join Date:
Oct 2006
Posts:
4
Plugin Contributions:
0

Duplicate URL in login link

First, I just have to say Zen Cart is fantastic. I only know enough to be slightly dangerous with programming and for the most part implementing Zen has been reasonably stress free. Lots of skimming the forums trying to find tidbits - but still great.

Now that I've buttered y'all up :-), I do have a question.

On my index page, when going to register a new person or login, I have a duplicate url coming up which of course doesn't work. All my other links seem to work correctly. The url for the site is https://www.prbykg.com/pr/

The exact link that comes up when you click on log in is:
http://www.prbykg.comhttp//www.prbykg.com/pr/index.php?main_page=login

Can you tell me where this is being called from and how to fix it? I've installed Zen on 2 other sites without any issues so I'm not sure where I've messed this up!

I am still very new at this so if I need to provide additional information, please be exact as to what.

Thanks so much!

Kim

9 Oct 2006, 1:59 AM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,611
Plugin Contributions:
0

Re: Duplicate URL in login link

Please post your includes/configure.php minus your passwords.

9 Oct 2006, 3:01 AM
#3
azac avatar

azac

New Zenner

Join Date:
Oct 2006
Posts:
4
Plugin Contributions:
0

Re: Duplicate URL in login link

Kim:

Please post your includes/configure.php minus your passwords.

// 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.prbykg.com');
define('HTTPS_SERVER', 'https://www.prbykg.com');

// Use secure webserver for checkout procedure?
define('ENABLE_SSL', '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_CATALOG', '/pr/');
define('DIR_WS_HTTPS_CATALOG', 'http://www.prbykg.com/pr/');

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', '/home/kgillett/prbykg.com/forum/');

// * 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/kgillett/prbykg.com/pr/');

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', 'zen_');
define('DB_SERVER', ''); // eg, localhost - should not be empty
define('DB_SERVER_USERNAME', '');
define('DB_SERVER_PASSWORD', '');
define('DB_DATABASE', 'pr_forum');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'

Thanks for the help!

Kim

9 Oct 2006, 3:02 AM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Duplicate URL in login link

This setting:

define('DIR_WS_HTTPS_CATALOG', 'http://www.prbykg.com/pr/');

Should read:

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

9 Oct 2006, 3:13 AM
#5
azac avatar

azac

New Zenner

Join Date:
Oct 2006
Posts:
4
Plugin Contributions:
0

Re: Duplicate URL in login link

Beautiful!! It works now.

I'm a "lets change this and see what happens" kinda person - but that crashes the site on a regular basis :D . I learn a lot - but it's not always the most productive use of my time.

Thanks so much for the assistance.

Kim

9 Oct 2006, 3:21 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Duplicate URL in login link

AZAC:

I'm a "lets change this and see what happens" kinda person - but that crashes the site on a regular basis

That works well, as long as you go back and undo it when things stop working...