Forums / All Other Contributions/Addons / Forbidden You don't have permission to access ...

Forbidden You don't have permission to access ...

Views: 2,588

Results 1 to 6 of 6
17 Apr 2012, 9:07 PM
#1
sph avatar

sph

Totally Zenned

Join Date:
Jan 2006
Posts:
1,556
Plugin Contributions:
0

Forbidden You don't have permission to access ...

Dynamic Filter looks like cool mod, trying to test on my demo site:

http://www.prom-mart.com/demo-1/

Fresh 1.5 install as of today.

Get this error when trying to insert sql patch from admin:

Forbidden
You don't have permission to access /demo-1/MY ADMIN/sqlpatch.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I just installed the Column Layout Grid and sql, so I know that the admin sql works.

Steve
prommart.com

17 Apr 2012, 9:13 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Forbidden You don't have permission to access ...

The SQL you're pasting is probably getting trapped by mod_security rules on your hosting company's server configuration, thus blocking you. You'll need to use another means of running the SQL statements.

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

17 Apr 2012, 9:28 PM
#3
sph avatar

sph

Totally Zenned

Join Date:
Jan 2006
Posts:
1,556
Plugin Contributions:
0

Re: Forbidden You don't have permission to access ...

Thanks. I tried running the sql from phpmyadmin and got error below.

I'm with Hostgator, will contact them.


Error

SQL query:

SELECT @cid:= configuration_group_id
FROM configuration_group
WHERE configuration_group_title ='Dynamic Filter';

MySQL said:
#1146 - Table 'MYDATABASE.configuration_group' doesn't exist

Steve
prommart.com

17 Apr 2012, 9:33 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: Forbidden You don't have permission to access ...

You probably have table prefixes which you'll need to insert by hand if you're using phpMyAdmin

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

17 Apr 2012, 9:40 PM
#5
sph avatar

sph

Totally Zenned

Join Date:
Jan 2006
Posts:
1,556
Plugin Contributions:
0

Re: Forbidden You don't have permission to access ...

Yes, zen_

I'll give that a try, thanks.

Steve
prommart.com

18 Apr 2012, 1:16 AM
#6
sph avatar

sph

Totally Zenned

Join Date:
Jan 2006
Posts:
1,556
Plugin Contributions:
0

Re: Forbidden You don't have permission to access ...

Got the Dynamic Filter showing:

http://www.prom-mart.com/demo-1/products_new.html

Did some studying and with educated guess manually added the zen_ prefix in the sql and inserted it in myphpadmin.

Hope I got it right and it works.

I can post sql if and when anyone else needs this for Dynamic Filter. (Is there a support thread for that?)

Thanks again.

sph

Steve
prommart.com