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: 177
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 187
Total: 187

Author Topic: Gallery Problem  (Read 7054 times)

0 Members and 1 Guest are viewing this topic.

Offline pioneer

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
    • www.birdboards.com
Gallery Problem
« on: January 05, 2009, 05:10:47 pm »
I was looking at my random pictures & looks fine but then had a visit to gallery and noticed this problem any ideas.


Fatal error: Cannot redeclare addcategory() (previously declared in /var/www/html/Sources/Gallery.php:348) in /var/www/html/Sources/classifieds2.php on line 1414

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Gallery Problem
« Reply #1 on: January 05, 2009, 06:49:29 pm »
Bah yeah that is an issue with classifieds block. Since I have the same function name both in classifieds and gallery.
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/

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Gallery Problem
« Reply #2 on: January 05, 2009, 07:12:37 pm »
Just fixed in ezPortal 0.2.4
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/

Offline pioneer

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
    • www.birdboards.com
Re: Gallery Problem
« Reply #3 on: January 06, 2009, 11:01:34 am »
Just fixed in ezPortal 0.2.4

I just uploaded 0.2.4 but Gallery button in header shows this prblem.

Fatal error: Cannot redeclare addcategory() (previously declared in /var/www/html/Sources/Gallery.php:348) in /var/www/html/Sources/classifieds2.php on line 1414

Also in ACP Panel > ezPortal > settings > Modules

Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/html/Sources/Class-Package.php on line 75

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Gallery Problem
« Reply #4 on: January 06, 2009, 07:28:43 pm »
Open Subs-EzPortalMain2.php in sources folder
Find and remove
Code: [Select]
require_once($sourcedir . '/classifieds2.php');
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/

Offline pioneer

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
    • www.birdboards.com
Re: Gallery Problem
« Reply #5 on: January 06, 2009, 08:01:12 pm »
Open Subs-EzPortalMain2.php in sources folder
Find and remove
Code: [Select]
require_once($sourcedir . '/classifieds2.php');

Hi there this solved the gallery problem from header links and also ACP but still have little problem within control panel. EzPortal > settings > Modules

Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/html/Sources/Class-Package.php on line 75

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Gallery Problem
« Reply #6 on: January 06, 2009, 08:05:53 pm »
That other error is part of SMF itself. You can attach that file and I can take a look but can't say what caused that erorr.
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/

Offline pioneer

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
    • www.birdboards.com
Re: Gallery Problem
« Reply #7 on: January 06, 2009, 08:20:22 pm »
I think this maybe what is causing the problem!!

But all looks 100 great with your ads & pro gallery from here.

Ta

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Gallery Problem
« Reply #8 on: January 06, 2009, 08:24:29 pm »
File looks ok to me might be a php version issue.
I would post on
http://www.simplemachines.org
Did a google search found a couple results
http://www.google.com/search?hl=en&q=%22Sources%2FClass-Package.php%22&btnG=Search
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/

Offline pioneer

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
    • www.birdboards.com
Re: Gallery Problem
« Reply #9 on: January 06, 2009, 08:42:04 pm »
I wll post for help there,

many thanks.

 

Related Topics

  Subject / Started by Replies Last post
11 Replies
6813 Views
Last post May 05, 2008, 01:09:13 pm
by gibbs
2 Replies
2529 Views
Last post March 29, 2011, 06:07:13 pm
by hartiberlin
6 Replies
4112 Views
Last post September 09, 2012, 07:01:21 pm
by SMFHacks
1 Replies
2090 Views
Last post October 30, 2012, 09:53:10 pm
by SMFHacks
3 Replies
2189 Views
Last post November 27, 2017, 10:22:52 am
by SMFHacks

+- 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