Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12387
Latest: Altha
New This Month: 11
New This Week: 3
New Today: 0
Stats
Total Posts: 39888
Total Topics: 7022
Most Online Today: 78
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 59
Total: 59

Author Topic: SMF Gallery Pro problems with HTTP 502/HTTP 505 errors.  (Read 1841 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: 14953
    • 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
3806 Views
Last post December 04, 2007, 09:27:54 pm
by SMFHacks
8 Replies
8861 Views
Last post January 08, 2008, 07:45:53 pm
by veldfire
3 Replies
9093 Views
Last post September 15, 2008, 07:34:47 pm
by ApplianceJunk
6 Replies
3414 Views
Last post February 17, 2016, 09:52:09 am
by Orlando
9 Replies
1691 Views
Last post September 14, 2017, 10:58:38 pm
by ApplianceJunk

+- Recent Topics

prettyurls - TroubleShooting.wiki by Rock Lee
October 10, 2019, 11:37:09 am

Some issues with adding and editing a listing by ajac63
October 07, 2019, 04:16:40 am

Problem update 1.1.21 to 2.0.15 by Rock Lee
October 06, 2019, 06:09:16 pm

[Mod]SMF 2.0.x PHP 7.2 Support by sah62
October 04, 2019, 01:46:00 pm

Ideas by shuban
October 03, 2019, 10:19:06 pm

How to space icons and multiple reacts? by shadav
October 03, 2019, 04:20:07 pm

PrettyUrls SEO Pro by Rock Lee
October 01, 2019, 09:09:38 am

How to get search preciser by SMFHacks
September 23, 2019, 10:09:56 am

How to AVOID SEO Hit when Implementing PrettyURLs by SMFHacks
September 12, 2019, 08:50:42 pm

theme by SMFHacks
September 12, 2019, 07:10:51 am

Powered by EzPortal