Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 297
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 275
Total: 276

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

0 Members and 1 Guest are viewing this topic.

Offline CatHunterSteve

  • Member
  • *
  • 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: 16436
    • 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
14673 Views
Last post December 04, 2007, 09:27:54 pm
by SMFHacks
8 Replies
11702 Views
Last post January 08, 2008, 07:45:53 pm
by veldfire
3 Replies
11839 Views
Last post September 15, 2008, 07:34:47 pm
by ApplianceJunk
6 Replies
5699 Views
Last post February 17, 2016, 09:52:09 am
by Orlando
9 Replies
4765 Views
Last post September 14, 2017, 10:58:38 pm
by ApplianceJunk

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal