SMFHacks.com

SMF Gallery Pro => Support => Topic started by: cwinter on June 24, 2013, 01:32:31 pm

Title: Method Not Implemented error when trying to view image
Post by: cwinter on June 24, 2013, 01:32:31 pm
After briefly trying out the lite version without issue I yesterday bought the pro version, however I am now getting the following error when trying to view an image:

Quote
Method Not Implemented

GET to /theforum/index.php not supported.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at warhammer-empire.com Port 80

Here are the get values in the url of the request: index.php?action=gallery;sa=view;id=4
Title: Re: Method Not Implemented error when trying to view image
Post by: SMFHacks on June 24, 2013, 01:37:21 pm
First try to disable mod_security on your site or asking your hosting provider to do it.
http://wiki.simplemachines.org/smf/Mod_security_-_Having_problems_with_mod_security

If not I can provide a workaround
Title: Re: Method Not Implemented error when trying to view image
Post by: cwinter on June 25, 2013, 07:17:01 pm
I got the host to disable mod_security and that seems to have done the trick.

Thanks  :D
Title: Re: Method Not Implemented error when trying to view image
Post by: SMFHacks on June 25, 2013, 11:19:11 pm
Glad that helped! Yeah that system tends to cause more problems then it helps.
Title: Re: Method Not Implemented error when trying to view image
Post by: cwinter on June 26, 2013, 01:28:57 pm
I have another issue now. I'm getting some text showing at the top of pages such as profiles and "who's online".

Quote
// Begin SMF Gallery $txt['whoall_gallery'] = 'In the Gallery'; // END SMF Gallery Strings

This is in both the SMF default theme and also my own custom theme which is closely based on the default theme.
Title: Re: Method Not Implemented error when trying to view image
Post by: cwinter on June 26, 2013, 01:35:33 pm
For clarification I don't think this is a new error, just I hadn't noticed it before.
Title: Re: Method Not Implemented error when trying to view image
Post by: SMFHacks on June 26, 2013, 01:37:18 pm
Open your themes/default/languages/who.english.php

Find the ?>

And move it to the very last line of the file
Title: Re: Method Not Implemented error when trying to view image
Post by: cwinter on June 26, 2013, 01:44:48 pm
Thanks again!
Title: Re: Method Not Implemented error when trying to view image
Post by: SMFHacks on June 26, 2013, 01:51:08 pm
Glad to help