Forums / General Questions / Reviews says - Forbidden You don't have permission

Reviews says - Forbidden You don't have permission

Locked

Views: 11,017

Results 21 to 29 of 29
This thread is locked. New replies are disabled.
25 Aug 2006, 1:02 PM
#21
ajeh avatar

ajeh

Oba-san

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

Reviews says - Forbidden You don't have permission

Try this ...

Change:

define('HTTP_SERVER', 'http://www.edenspirit.co.uk');
define('HTTPS_SERVER', 'https://web30.secure-secure.co.uk');

define('HTTP_SERVER', 'http://www.edenspirit.co.uk');
define('HTTPS_SERVER', 'https://web30.secure-secure.co.uk/edenspirit.co.uk');

and change:

define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/edenspirit.co.uk/');

to read:

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

Note: your site does not know to load the index.php when there is nothing stated in the path for the specific file to run ...

So, you get a dead page on:
https://web30.secure-secure.co.uk/edenspirit.co.uk

But a working page on:
https://web30.secure-secure.co.uk/edenspirit.co.uk/index.php

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!

25 Aug 2006, 2:20 PM
#22
paulfromwales avatar

paulfromwales

Zen Follower

Join Date:
Aug 2006
Posts:
102
Plugin Contributions:
0

Re: Reviews says - Forbidden You don't have permission

Hi Linda

That fixed it, works fine now thanks. :D

I must give it to you , you know your stuff.

Paul

3 Sep 2006, 4:41 AM
#23
ajeh avatar

ajeh

Oba-san

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

Re: Reviews says - Forbidden You don't have permission

I fake it well ... :smile:

Glad you got your site back up and running ...

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!

20 Aug 2009, 3:20 PM
#24
zbench avatar

zbench

New Zenner

Join Date:
Aug 2009
Posts:
4
Plugin Contributions:
0

Re: Reviews says - Forbidden You don't have permission

Linda,

This is an old thread, but I've nearly got my site configured for use, but am having this same problem. I've tried editing the index/configure.php file as you suggest above, but it doesn't work, and in fact makes it worse.

The default configuration which exhibits the problem is:

<?php /** * * @package Configuration Settings * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 */ // 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://leadandbrass.com'); define('HTTPS_SERVER', 'https://lightning.safe-order.net'); // 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', '/zencart/'); define('DIR_WS_HTTPS_CATALOG', '/leadandbrass/zencart/'); 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', '/www/leadandbrass/zencart/'); // * 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', '/www/leadandbrass/zencart/'); 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', 'localhost'); // eg, localhost - should not be empty define('DB_SERVER_USERNAME', 'leadandbrass'); define('DB_SERVER_PASSWORD', 'bandala1'); define('DB_DATABASE', 'leadandbrass_com_-_zencart'); 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', 'file'); define('DIR_FS_SQL_CACHE', '/www/leadandbrass/zencart/cache'); ?>

Specifically, when I try to log in I get an error, backspacing reveals that I am logged in, same problem with when I log out.

Any ideas of how my similar problem requires a slightly different solution?

Zbench

20 Aug 2009, 3:41 PM
#25
ajeh avatar

ajeh

Oba-san

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

Re: Reviews says - Forbidden You don't have permission

And if you change:

define('DIR_WS_HTTPS_CATALOG', '/leadandbrass/zencart/');

to read:

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

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!

20 Aug 2009, 6:59 PM
#26
zbench avatar

zbench

New Zenner

Join Date:
Aug 2009
Posts:
4
Plugin Contributions:
0

Re: Reviews says - Forbidden You don't have permission

Linda,

When making that single change, I can't even access the login page. Just to be clear, the config file is currently:

// 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://leadandbrass.com');
define('HTTPS_SERVER', 'https://lightning.safe-order.net');

// 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', '/zencart/');
define('DIR_WS_HTTPS_CATALOG', '/zencart/');

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/');

Before I could reach the login page, and would then get the message, although when backing up, I would in fact be logged in.

Thanks in advance for your help.

Pete

20 Aug 2009, 7:02 PM
#27
drbyte avatar

drbyte

Sensei

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

Re: Reviews says - Forbidden You don't have permission

zbench:

define('HTTP_SERVER', 'http://leadandbrass.com');
define('HTTPS_SERVER', 'https://lightning.safe-order.net');
You need to also change the HTTPS_SERVER to 'https://lightning.safe-order.net/leadandbrass'

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Aug 2009, 7:23 PM
#28
zbench avatar

zbench

New Zenner

Join Date:
Aug 2009
Posts:
4
Plugin Contributions:
0

Re: Reviews says - Forbidden You don't have permission

Works like a charm now...Thanks!

20 Aug 2009, 8:03 PM
#29
ajeh avatar

ajeh

Oba-san

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

Re: Reviews says - Forbidden You don't have permission

That one too would help ... glad you have this working now ... :smile:

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!