Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12312
Latest: Delta5
New This Month: 13
New This Week: 1
New Today: 0
Stats
Total Posts: 39664
Total Topics: 6985
Most Online Today: 75
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 50
Total: 50

Author Topic: SMF Gallery Pro problems with HTTP 502/HTTP 505 errors.  (Read 1754 times)

0 Members and 1 Guest are viewing this topic.

Offline CatHunterSteve

  • Newbie
  • *
  • Posts: 4
    • View Profile
SMF Gallery Pro problems with HTTP 502/HTTP 505 errors.
« on: December 21, 2011, 12:46:01 am »
I installed SMF Gallery Pro and all appeared to go ok but when I added a gallery and uploaded a pic into the gallery all is good but when I click on the thumb nail to load the full size pic I get the following error:

The website is unable to display the webpage
 HTTP 501/HTTP 505

When I click "edit" below the thumbnail image I get the same error. When I try to "edit permissions" after adding the Video AddOn and click on the edit permissions from within the program I recieve the same error.
I know I must have a CMOD permission that needs changed but have no idea which file's permission needs to be changes.

Using:  SMS 2.0.1   SMF Gallery Pro 3.0.25   SMF Gallery Pro Video AddOn 1.0.9

Can anyone help?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14854
    • View Profile
Re: SMF Gallery Pro problems with HTTP 502/HTTP 505 errors.
« Reply #1 on: December 21, 2011, 09:21:21 am »
Two things first you can either try to disable mod_security either contact your hosting company or read this topic.
http://wiki.simplemachines.org/smf/Mod_security_-_Having_problems_with_mod_security


Or if that does not work you will need to modify the core files

Open Sources/Gallery2.php

Find all
Code: [Select]
;id=
Replace all with
Code: [Select]
&id=


Open Sources/UserGallery2.php

Find all
Code: [Select]
;id=
Replace all with
Code: [Select]
&id=


Open Themes/default/gallery2.template.php

Find all
Code: [Select]
;id=
Replace all with
Code: [Select]
&id=

Open Themes/default/usergallery2.template.php

Find all
Code: [Select]
;id=
Replace all with
Code: [Select]
&id=



Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
3632 Views
Last post December 04, 2007, 09:27:54 pm
by SMFHacks
8 Replies
8554 Views
Last post January 08, 2008, 07:45:53 pm
by veldfire
3 Replies
8814 Views
Last post September 15, 2008, 07:34:47 pm
by ApplianceJunk
6 Replies
3206 Views
Last post February 17, 2016, 09:52:09 am
by Orlando
9 Replies
1374 Views
Last post September 14, 2017, 10:58:38 pm
by ApplianceJunk

+- Recent Topics

Seller View Log.. Can I delete? by SMFHacks
April 22, 2019, 07:54:29 am

Classified Ads Mod by SMFHacks
April 22, 2019, 07:53:57 am

Pretty Urls extras by Oldiesmann
April 18, 2019, 10:50:05 pm

Message Editor Pro - Copy and Paste Question by SMFHacks
April 14, 2019, 09:36:06 am

PERMIT based permissions vs DENY by tfs
April 11, 2019, 06:58:08 pm

Pretty URLs 2.0.15 forum with >115k posts in just under 8k threads by SMFHacks
April 10, 2019, 01:17:37 pm

Is Menu Editor Pro SMF 2.1 compatible? by videoed
April 05, 2019, 01:51:41 pm

Can't See Gallery? by sah62
March 30, 2019, 08:29:48 am

[Mod] SEO Microdata Breadcrumbs by SMFHacks
March 22, 2019, 11:56:00 pm

Resizing by SMFHacks
March 22, 2019, 07:57:53 am

Powered by EzPortal