SMFHacks.com

SMF Gallery Pro => Support => Topic started by: CatHunterSteve on December 21, 2011, 12:46:01 am

Title: SMF Gallery Pro problems with HTTP 502/HTTP 505 errors.
Post by: CatHunterSteve 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?
Title: Re: SMF Gallery Pro problems with HTTP 502/HTTP 505 errors.
Post by: SMFHacks 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=