Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12342
Latest: Randem
New This Month: 6
New This Week: 2
New Today: 2
Stats
Total Posts: 39774
Total Topics: 7004
Most Online Today: 53
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 35
Total: 35

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

+- Recent Topics

About Comments Approval by ajac63
June 12, 2019, 07:48:52 pm

Pretty Urls extras by SMFHacks
June 06, 2019, 12:14:53 pm

About using chmod to secure files by ajac63
June 05, 2019, 04:02:28 am

Bulk upload image problem by SMFHacks
June 01, 2019, 07:24:00 pm

About Watermark Options by ajac63
May 30, 2019, 05:25:39 pm

Why PayPal only by ajac63
May 30, 2019, 04:20:47 pm

Seller ToU not showing by ajac63
May 29, 2019, 01:59:24 am

Not happy by ajac63
May 28, 2019, 06:37:58 pm

About Number of Images for Basic Ad by ajac63
May 26, 2019, 10:33:46 pm

Error when intalling SMF Gallery Pro 6.7 by SMFHacks
May 26, 2019, 04:56:46 pm

Powered by EzPortal