SMFHacks.com
SMF Gallery Pro => Support => Topic started by: gofishont on March 19, 2009, 11:30:54 am
-
Hi, I just purchased and installed the gallery pro.. it all went smooth and seems to work great with one exception..
After pictures are uploaded, I See the thumbnail, but when I click for full size, I get the 501/505 error
"The website is unable to display the webpage"
Any thoughts to the issue?
(I'm running SMF20RC1)
regards, Mike.
-
This is most likely a mod_security issue. Check out this post on simplemachines.org
www.simplemachines.org/community/index.php?topic=34270
If you are still having issues you can try contacting your host to disable mod_security for your site or I can give you some code to change.
-
ok I tried that, (appending the code to my .htaccess file) but it didnt seem to matter...
any other thoughts??
If I click on the thumbnail, the unapprove, edit or delete - I always get the same page can not be displayed message.
-
some more info that might be helpful... as per microsoft 501/505 errors for IE I turned off http settings and also turned off friendly error messages..
here's the output now:
Method Not Implemented
GET to /smf/index.php not supported.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
hopefully this helps :)
-
It is an issue with mod_security they do not like ;id= in the url for some reason
You can open Sources/Gallery2.php
;id=
And replace all with
&id=
And themes/default/Gallery2.template.php
Find
;id=
And replace all with
&id=
-
that worked,, thank you so much!! now I can enjoy it. :)
-
it's happening again on a user gallery.. is there another file I need to perform the edit on??
-
Yes I forgot also apply the same fix to
Themes/default/UserGallery2.template.php
And
Sources/UserGallery2.php
-
ok thanks :)
-
It is an issue with mod_security they do not like ;id= in the url for some reason
You can open Sources/Gallery2.php
;id=
And replace all with
&id=
And themes/default/Gallery2.template.php
Find
;id=
And replace all with
&id=
I did this and it worked for when i wanted to create a new album in smf Media Gallery, but when i want to view a pic in an album i get this again:
Method Not Implemented
GET to /index.php not supported.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
My host wont disable mod_security2 :( :(
Is there anything else i can do??
-
That code above should fix all issues as long as you do it in all the gallery files and do a find and replace all.
-
Hello,
I get the same error with rss feed poster.
I have smf 1.1.10
I added .htaccess
I get the error when I try to edit or delete a rss feed.
I'm able to add rss feeds but not edit or delete.
Thanks for your help,
-
It is an issue with mod_security they do not like ;id= in the url for some reason
You can open Sources/Gallery2.php
;id=
And replace all with
&id=
And themes/default/Gallery2.template.php
Find
;id=
And replace all with
&id=
Hello,
Just to let you know that I resolved the problem by appling the same solution to : feedposter.template.php
;id ==> &id
;sa ==> &sa
Have a nice day,
-
Glad you got it working.