Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 11841
Latest: lucaowen640
New This Month: 6
New This Week: 3
New Today: 0
Stats
Total Posts: 37364
Total Topics: 6575
Most Online Today: 95
Most Online Ever: 2482
(April 09, 2011, 06:02:45 pm)
Users Online
Members: 0
Guests: 67
Total: 67

Author Topic: Gallery mod links cause 501 error.  (Read 2871 times)

0 Members and 1 Guest are viewing this topic.

Offline JeffP

  • Newbie
  • *
  • Posts: 1
    • View Profile
Gallery mod links cause 501 error.
« on: January 03, 2012, 05:39:58 pm »
Hi Guys
Not sure if this is a bug or just something I have not setup correctly.
I have SMF 2.0.2 with Simple Portal 2.3.4 and SMF Gallery Lite 3.1.1a.
Site is http://www.shorkietalk.com.
You will see a gallery on the front page of a couple of images. If you click on the image or title you will get a 501 error, but a click on the members name is fine.
Any help would be appreciated.
Thanks

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 13810
    • View Profile
Re: Gallery mod links cause 501 error.
« Reply #1 on: January 03, 2012, 05:46:21 pm »
That is caused by mod_security since it does not like ;id= in the url

Check out this link or ask your hosting provider to disable it
http://wiki.simplemachines.org/smf/Mod_security_-_Having_problems_with_mod_security


The issue you are having is the portal block which appears to be part of Simple Portal.

Generally what I suggest if you can't disable it via hosting is do search and replace on the gallery files
for
Code: [Select]
;id=
And replace with
Code: [Select]
&id=
You would need to the same with the Simple Portal files as well in your case.
Get your Forum Ranked! at http://www.forumrankings.net - find out how your forum compares with others! Also contests/promotions for verified sites.

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
4037 Views
Last post December 10, 2006, 03:12:00 pm
by stefanp
6 Replies
5657 Views
Last post December 13, 2006, 11:48:07 am
by Burninglotus
2 Replies
3468 Views
Last post December 29, 2008, 11:10:24 pm
by bluedevil
2 Replies
3532 Views
Last post August 08, 2009, 09:00:53 am
by SMFHacks
2 Replies
683 Views
Last post October 09, 2015, 01:44:01 pm
by jim88

+- Recent Topics

[Theme] SMF : Facebook Theme Beta Test by ittiphol
Today at 12:05:52 am

PM opened pm mod by SMFHacks
December 05, 2016, 10:16:23 am

Sort or rank the main categories? by Jens
December 03, 2016, 02:17:41 pm

Need help making theme adjustments. by Jude
December 03, 2016, 02:10:50 pm

SA Facebook Integration 3.1: Exception: REST API is deprecated for versions v2.1 by Jens
December 03, 2016, 10:37:56 am

License Key Failure? by annedi
December 02, 2016, 01:04:04 pm

Disabling this script when focused on a textarea by SMFHacks
November 30, 2016, 03:38:01 pm

Is SVG supported by the Gallery? by SMFHacks
November 29, 2016, 04:59:04 pm

template by SMFHacks
November 29, 2016, 02:27:36 pm

Finding related Gallery items based on description is title search fails by shuban
November 28, 2016, 05:05:04 pm

Powered by EzPortal