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

Reviews says - Forbidden You don't have permission

Locked

Views: 11,017

Results 1 to 20 of 29
This thread is locked. New replies are disabled.
16 Aug 2006, 6:46 PM
#1
paulfromwales avatar

paulfromwales

Zen Follower

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

Reviews says - Forbidden You don't have permission

I am testing my review and when a review is added, no confirmation page appears but this does:

FORBIDDEN
You don't have permission

When you go to the admin and give the review permission it then appears. Through you could say this works it doesnt look good to the person giving the review and gives the impression that it hasnt worked.

Is there a way to make the reviews all have permission at the start so the user thinks they have added something and they are contributing instead of a negative 'you dont have permission' page appearing.

Sorry if this is any easy no brainer or if this is just the way it is.

Any ideas guys??

If you fancy a look to see: https://www.edenspirit.co.uk/index.php

16 Aug 2006, 11:58 PM
#2
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

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

paulFromWales,

Currently, do you have reviews enabled only for registered users?

San

Tutorials on Zen Cart
http://tutorials.zen-cart.com/index.php

advanced.programmer at gmail dot com
In love with Zen Cart!!

17 Aug 2006, 4:56 PM
#3
paulfromwales avatar

paulfromwales

Zen Follower

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

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

Good question, Had A look in admin but not sure where to check??

17 Aug 2006, 4:58 PM
#4
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

If you have forbidden pages ... it sounds like bad, missing or corrupt files ...

What version Zen Cart and how did you load your files?

Was this a clean install or an upgrade?

If an upgrade, what version did you upgrade from and how did you upgrade it?

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!

17 Aug 2006, 5:03 PM
#5
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

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

Admin->Configuration->Product Info

Tutorials on Zen Cart
http://tutorials.zen-cart.com/index.php

advanced.programmer at gmail dot com
In love with Zen Cart!!

18 Aug 2006, 8:06 AM
#6
drbyte avatar

drbyte

Sensei

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

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

What does your server's errorlog say when the no-permission message appears?

.
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.

18 Aug 2006, 11:52 AM
#7
paulfromwales avatar

paulfromwales

Zen Follower

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

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

Hi Guys, thanks all for replying

OK see if I can answer the last 3 replies together. The version i am using was a fresh upload of 1.3.0.1 which was provided with my hosting with appropriate patches provided. I went to the 'Product Info ' page and set 'Product Reviews Require Approval' setting to zero and retried but the same thing happened - 'Forbidden' You don't have permission to access /index.php on this server.

I tried another review but after writing a review it went to the page;
'Forbidden' You don't have permission to access /index.php on this server.
BUT in the admin the review does have a green light as I didnt have to give it prmission so the one step worked but i am not being directed to the index.php page because it says i dont have permission or something like that

AS for the erro log i have had a look but not quite sure what i am looking for .

Help guys

18 Aug 2006, 12:10 PM
#8
drbyte avatar

drbyte

Sensei

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

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

paulFromWales:

AS for the erro log i have had a look but not quite sure what i am looking for .

  1. reproduce the problem
  2. view the errorlog
  3. post the last 30 lines of the log here (sometimes they are at the top of the file, not the bottom)

.
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.

18 Aug 2006, 12:22 PM
#9
paulfromwales avatar

paulfromwales

Zen Follower

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

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

Hi Doc
I get the same thing when logging in and out as well, maybe it is all to do with being logged in or something:

Forbidden
You don't have permission to access /index.php on this server.

But I am logged in after i go back?

There are 2 error log files, here are both:

1st file...

006] [error] [client 82.110.105.8] adding: edenspirit.co.uk-error_log.1.gz
[Fri Aug 18 12:20:00 2006] [error] [client 82.110.105.8] (deflated 0%)
[Fri Aug 18 12:20:00 2006] [error] [client 82.110.105.8] adding: edenspirit.co.uk-error_log.2.gz
[Fri Aug 18 12:20:00 2006] [error] [client 82.110.105.8] (deflated 0%)
[Fri Aug 18 12:20:00 2006] [error] [client 82.110.105.8] adding: edenspirit.co.uk-error_log.3.gz
[Fri Aug 18 12:20:00 2006] [error] [client 82.110.105.8] (deflated 0%)
[Fri Aug 18 12:34:26 2006] [error] [client 82.110.105.8] adding: edenspirit.co.uk-access_log
[Fri Aug 18 12:34:26 2006] [error] [client 82.110.105.8] (deflated 96%)
[Fri Aug 18 12:34:26 2006] [error] [client 82.110.105.8] adding: edenspirit.co.uk-access_log.1.gz
[Fri Aug 18 12:34:26 2006] [error] [client 82.110.105.8] (deflated 2%)
[Fri Aug 18 12:34:26 2006] [error] [client 82.110.105.8] adding: edenspirit.co.uk-access_log.2.gz
[Fri Aug 18 12:34:26 2006] [error] [client 82.110.105.8] (deflated 0%)
[Fri Aug 18 12:34:26 2006] [error] [client 82.110.105.8] adding: edenspirit.co.uk-access_log.3.gz
[Fri Aug 18 12:34:26 2006] [error] [client 82.110.105.8] (deflated 0%)
[Fri Aug 18 12:34:26 2006] [error] [client 82.110.105.8] adding: edenspirit.co.uk-error_log
[Fri Aug 18 12:34:26 2006] [error] [client 82.110.105.8] \tzip warning: file size changed while zipping edenspirit.co.uk-error_log
[Fri Aug 18 12:34:26 2006] [error] [client 82.110.105.8] (deflated 91%)
[Fri Aug 18 12:34:26 2006] [error] [client 82.110.105.8] adding: edenspirit.co.uk-error_log.1.gz
[Fri Aug 18 12:34:26 2006] [error] [client 82.110.105.8] (deflated 0%)
[Fri Aug 18 12:34:26 2006] [error] [client 82.110.105.8] adding: edenspirit.co.uk-error_log.2.gz
[Fri Aug 18 12:34:26 2006] [error] [client 82.110.105.8] (deflated 0%)
[Fri Aug 18 12:34:26 2006] [error] [client 82.110.105.8] adding: edenspirit.co.uk-error_log.3.gz
[Fri Aug 18 12:34:26 2006] [error] [client 82.110.105.8] (deflated 0%)
[Fri Aug 18 12:45:12 2006] [error] [client 84.66.231.124] File does not exist: /home/sites/edenspirit.co.uk/public_html/image1.gif, referer: http://edenspirit.co.uk/index.php
[Fri Aug 18 12:45:12 2006] [error] [client 84.66.231.124] File does not exist: /home/sites/edenspirit.co.uk/public_html/favicon.ico
[Fri Aug 18 13:18:40 2006] [error] [client 82.110.105.8] adding: edenspirit.co.uk-access_log
[Fri Aug 18 13:18:40 2006] [error] [client 82.110.105.8] (deflated 96%)
[Fri Aug 18 13:18:40 2006] [error] [client 82.110.105.8] adding: edenspirit.co.uk-access_log.1.gz
[Fri Aug 18 13:18:40 2006] [error] [client 82.110.105.8] (deflated 2%)
[Fri Aug 18 13:18:40 2006] [error] [client 82.110.105.8] adding: edenspirit.co.uk-access_log.2.gz
[Fri Aug 18 13:18:40 2006] [error] [client 82.110.105.8] (deflated 0%)
[Fri Aug 18 13:18:40 2006] [error] [client 82.110.105.8] adding: edenspirit.co.uk-access_log.3.gz
[Fri Aug 18 13:18:40 2006] [error] [client 82.110.105.8] (deflated 0%)
[Fri Aug 18 13:18:40 2006] [error] [client 82.110.105.8] adding: edenspirit.co.uk-error_log

2nd file...

edenspirit.co.uk 84.66.231.124 - - [18/Aug/2006:13:10:41 +0100] "GET /index.php?main_page=product_reviews_info&products_id=10&reviews_id=7 HTTP/1.1" 200 12889 "http://www.edenspirit.co.uk/index.php?main_page=product_info&cPath=13&products_id=10" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"
edenspirit.co.uk 84.66.231.124 - - [18/Aug/2006:13:10:41 +0100] "GET /includes/templates/template_default/buttons/english/button_more_reviews.gif HTTP/1.1" 200 992 "http://www.edenspirit.co.uk/index.php?main_page=product_reviews_info&products_id=10&reviews_id=7" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"
edenspirit.co.uk 84.66.231.124 - - [18/Aug/2006:13:10:48 +0100] "GET /index.php?main_page=reviews HTTP/1.1" 200 15366 "http://www.edenspirit.co.uk/index.php?main_page=product_reviews_info&products_id=10&reviews_id=7" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"
edenspirit.co.uk 84.66.231.124 - - [18/Aug/2006:13:10:49 +0100] "GET /includes/templates/template_default/buttons/english/button_read_reviews.gif HTTP/1.1" 200 1006 "http://www.edenspirit.co.uk/index.php?main_page=reviews" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"
edenspirit.co.uk 84.66.231.124 - - [18/Aug/2006:13:10:49 +0100] "GET /images/card.gif HTTP/1.1" 304 - "http://www.edenspirit.co.uk/index.php?main_page=reviews" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"
edenspirit.co.uk 84.66.231.124 - - [18/Aug/2006:13:10:49 +0100] "GET /includes/templates/eden/images/stars_4.gif HTTP/1.1" 304 - "http://www.edenspirit.co.uk/index.php?main_page=reviews" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"
edenspirit.co.uk 84.66.231.124 - - [18/Aug/2006:13:11:11 +0100] "GET /index.php?main_page=product_reviews_info&products_id=17&reviews_id=5 HTTP/1.1" 200 12303 "http://www.edenspirit.co.uk/index.php?main_page=reviews" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"
edenspirit.co.uk 84.66.231.124 - - [18/Aug/2006:13:11:13 +0100] "GET /index.php?main_page=product_reviews_write&products_id=17 HTTP/1.1" 302 - "http://www.edenspirit.co.uk/index.php?main_page=product_reviews_info&products_id=17&reviews_id=5" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"
edenspirit.co.uk 84.66.231.124 - - [18/Aug/2006:13:11:37 +0100] "GET /admin/customers.php HTTP/1.1" 200 21302 "http://www.edenspirit.co.uk/admin/reviews.php" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"
edenspirit.co.uk 84.66.231.124 - - [18/Aug/2006:13:11:38 +0100] "GET /admin/includes/languages/english/images/buttons/button_email.gif HTTP/1.1" 304 - "http://www.edenspirit.co.uk/admin/customers.php" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"
edenspirit.co.uk 84.66.231.124 - - [18/Aug/2006:13:15:15 +0100] "GET /index.php?main_page=product_reviews_info&products_id=17&reviews_id=5 HTTP/1.1" 200 12739 "http://www.edenspirit.co.uk/index.php?main_page=reviews" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"
edenspirit.co.uk 84.66.231.124 - - [18/Aug/2006:13:16:39 +0100] "GET /index.php HTTP/1.1" 200 18541 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"

Cheers for help...

19 Aug 2006, 10:49 AM
#10
paulfromwales avatar

paulfromwales

Zen Follower

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

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

I have a problem that is effecting logging in/out reviews and anything where the user is redirected back to the index page, because when the user is redirected back to the index page a meassage appears:

Forbidden
You don't have permission to access /index.php on this server.

BUT it still works, you navigate back to one of the pages and if you logged out you are logged, if you wrote a review it is know there, it just seems that when the user is redirected back to the index.php page there is a problem.

PLEASE HELP.......

20 Aug 2006, 12:35 AM
#11
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

Reload all of the files for:
/includes/modules/pages/product_reviews/.
/includes/templates/template_default/tpl_product_reviews_default.php
/includes/templates/your_template_dir/tpl_product_reviews_default.php
/includes/languages/english/product_reviews.php
/includes/languages/english/your_template_dir/product_reviews.php

/includes/modules/pages/product_reviews_info/.
/includes/templates/template_default/tpl_product_reviews_info_default.php
/includes/templates/your_template_dir/tpl_product_reviews_info_default.php
/includes/languages/english/product_reviews_info.php
/includes/languages/english/your_template_dir/product_reviews_info.php

I am guessing that you have just the 1 directory for both secure and non-secure pages ...

NOTE: you may or may not have anything in your templates and overrides directories for these files ...

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 Aug 2006, 8:25 PM
#12
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, thanks for replying

I tried to upload originals of files you suggested but couldnt do:

/includes/templates/your_template_dir/tpl_product_reviews_default.php

/includes/templates/your_template_dir/tpl_product_reviews_info_default.php

/includes/languages/english/your_template_dir/product_reviews_info.php

I assume I have 1 directory for both secure and non-secure pages though i am not sure

When I set up the site I created my own template but didnt set it up with the overrides which I would imagine means that I am copying over original files because I did not set up my own files (I think), would this have any bearing?? I assume the above folders appear when you set it up with overrides..

Basically when ever a user is redirected to the index.php (home) page i am getting a page displaying:

Forbidden
You don't have permission to access /index.php on this server.

It is getting very frustation because it it still works when you click back a page it is just the redirect to the home page, it happens when i log out after reviews and generally after you do something when you are directed back to this allosive index.php

HELP..... I need to get this up and running soon

https://www.edenspirit.co.uk/index.php

I have created a test acount if you want to play:
email: [email protected]
password: atest

21 Aug 2006, 8:34 PM
#13
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

Your bugs could very well be with a misconfigured /includes/configure.php

Could you post the file, from the server, without your username and password for:
/includes/configure.php

Part of your secure site is using the right URL and other parts are using incomplete URL and resulting in the error ...

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!

22 Aug 2006, 10:21 AM
#14
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

here is the cofig file you asked to see:

<?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://www.edenspirit.co.uk'); define('HTTPS_SERVER', 'https://web30.secure-secure.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', '/'); define('DIR_WS_HTTPS_CATALOG', '/edenspirit.co.uk/'); 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/sites/edenspirit.co.uk/public_html/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/sites/edenspirit.co.uk/public_html/'); 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', xxxxxxx); // eg, localhost - should not be empty define('DB_SERVER_USERNAME', xxxxxxx); define('DB_SERVER_PASSWORD', xxxxxx); define('DB_DATABASE', xxxxxxx); 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', 'none'); define('DIR_FS_SQL_CACHE', '/home/sites/edenspirit.co.uk/public_html/cache'); ?>

Thanks for help

Paul

22 Aug 2006, 4:42 PM
#15
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

This should solve the bulk of your issues ...

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

Should read:

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

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!

22 Aug 2006, 5:25 PM
#16
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

I added the code you sugested but it didnt work, all that happened was i couldnt access any area that is on a secure page, a page appeared with the text below:

Forbidden
You don't have permission to access /index.php on this server.

Any more ideas??

22 Aug 2006, 5:39 PM
#17
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

Change:

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

To read:

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

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!

24 Aug 2006, 2:36 PM
#18
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, thankyou once again for responding..

I added the code you said but it didnt work. It didnt go any where and i cut and paste the patheway that appeared and i noticed this:

web30.secure-secure.co.uk/edenspirit.co.uk/edenspirit.co.uk/index.php?

The 'edenspirit.co.uk' you asked me to add appears twice so i put the code to how it was and tested it again to see what pathway is acatually appearing. I noticed that when the problem appeared the pathway was:

web30.secure-secure.co.uk/index.php?main_page=index

The 'edenspirit.co.uk' is missing after the secure bit, now where to add this bit of code is the question.

Any more ideas, really do appreciate the help, once i have this site conquered, at moment time restricted due to client, I will knock up a few sample sites for myself to get a better understanding so it looks im around for a bit longer.

Paul

EDITED: Never, ever post the zen_id or zenAdminID (session id) in a forum, email, newsgroup, newsletter, advertisement, etc. etc. etc. or you will be doomed ... :eek:

24 Aug 2006, 2:39 PM
#19
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

Okay ... let's start again ...

View the file, on the server, for:
/includes/configure.php

Paste it here without your username and password and let's see where you are at ...

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, 11:37 AM
#20
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

Here you go...

<?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://www.edenspirit.co.uk'); define('HTTPS_SERVER', 'https://web30.secure-secure.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', '/'); define('DIR_WS_HTTPS_CATALOG', '/edenspirit.co.uk/'); 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/sites/edenspirit.co.uk/public_html/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/sites/edenspirit.co.uk/public_html/'); 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', 'xxxx); // eg, localhost - should not be empty define('DB_SERVER_USERNAME', 'xxxx'); define('DB_SERVER_PASSWORD', 'xxxx'); define('DB_DATABASE', 'xxxx); 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', 'none'); define('DIR_FS_SQL_CACHE', '/home/sites/edenspirit.co.uk/public_html/cache'); ?>

Fresh from the server.

Thanks for help, i would be lost without yours and forum users help

Paul