Logged in as Ikulin Logout
LIMITED TIME ONLY: EXTREME DISCOUNTS ON ALL PRODUCTS!!!
Search Knowledge Base Security Tips
Technical Support
Reply Forum Index | TGPX Tech Support

Messages 1 - 5 of 5
click.php
bpszenny
Posted: 12-24-2009 03:58pm

Anyone kno whow to fix this, I tried putting in database info in this file but same results when clicking on preview image to look at gallry



Forbidden

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

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at http://www.tgpplace.com/ Port 80
JMB-Jeremy
Posted: 12-26-2009 06:11am

Generally this type of error message is generated when the Apache mod_security module is being used on your server, but is improperly configured. Your server administrator should be able to assist you with this, and the server error logs should contain additional information on why the Forbidden error message was generated (in case it is not a mod_security issue).
bpszenny
Posted: 12-26-2009 12:51pm

Yes, thanks I am a bit further along not teh thimbs display but it gives me a wrong link when i click, might be tmeplate I bought?


When I click any thumb it send me to

http://www.DOMAINE.com/click.php&type=W3i_TB,178,4_0,NA%20Error,20091252,6089,0,8,0&programId=178&vintage=0&isFromErrorPage=1

any thoughts? I have not changes too much in teh code other than the domain stuff etc..
bpszenny
Posted: 12-26-2009 03:58pm

This code does not seem to work and I cant figure out why, its form a template I bought and almost have it working (The Apache white listing worked to get rid of Forbidden error thanks)

<a href="click.php?id={$gallery.gallery_id|urlencode}&u={$gallery.gallery_url|urlencode}"


I click the image and it gives me a bad URL for teh gallery...

any thoughts? is it the code, DB or server side again?

Server support responded with ::

When I go to http://www.-------.com/click.php&type=W3i_TB,178,4_0,NAError,20091252,6089,0,8,0&programId=178&vintage=0&isFromErrorPage=1 I get a white screen. Apache shows that this does not exist, so it must be the link being used.

[Sat Dec 26 15:39:13 2009] [error] [client 216.110.94.227] File does not exist: /click.php&type=W3i_TB,178,4_0,NAError,20091252,6089,0,8,0&programId=178&vintage=0&isFromErrorPage=1




So it seems this is the code in the template?


thanks
JMB-Jeremy
Posted: 12-27-2009 06:34am

This does appear to be an issue with your template. Check the template for each occurrence of click.php and make sure the link code looks like this:

click.php?id={$gallery.gallery_id|urlencode}&u={$gallery.gallery_url|urlencode}
Messages 1 - 5 of 5

PayPal, MasterCard, Visa, Discover, American Express