Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11781
Latest: BlueNova
New This Month: 20
New This Week: 3
New Today: 1
Stats
Total Posts: 37081
Total Topics: 6533
Most Online Today: 64
Most Online Ever: 2482
(April 09, 2011, 06:02:45 pm)
Users Online
Members: 0
Guests: 56
Total: 56

Author Topic: Gallery mod links cause 501 error.  (Read 2769 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: 13693
    • 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
3862 Views
Last post December 10, 2006, 03:12:00 pm
by stefanp
6 Replies
5388 Views
Last post December 13, 2006, 11:48:07 am
by Burninglotus
2 Replies
3377 Views
Last post December 29, 2008, 11:10:24 pm
by bluedevil
2 Replies
3398 Views
Last post August 08, 2009, 09:00:53 am
by SMFHacks
2 Replies
597 Views
Last post October 09, 2015, 01:44:01 pm
by jim88

+- Recent Topics

Responsive Themes by SMFHacks
August 26, 2016, 08:08:05 am

Topic: Serious issue and Fatal Error with CountryFlags, Help! by niknik
August 25, 2016, 01:57:44 am

Custom Fields in Gallery by bknapp
August 22, 2016, 06:47:48 pm

Additional Membergroups by Tonyvic
August 19, 2016, 03:45:29 am

Replace into MySQL question by SMFHacks
August 17, 2016, 05:12:18 pm

How do members cancel their subscription? by SMFHacks
August 16, 2016, 02:32:58 pm

new feature request - sorting images by SMFHacks
August 13, 2016, 12:16:50 pm

missing features on some gallery albums by paula
August 12, 2016, 02:14:37 pm

How could I neatly combine these similar codes using foreach by SMFHacks
August 06, 2016, 01:28:35 pm

Rewriting the subscription coding by shuban
August 06, 2016, 12:43:18 am

Powered by EzPortal