Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.217
Nickname:

Password:

Security Code
Security Code
Type Security Code


PND Downloads Feed

Phpnuke Downloads
How to Delete or Reset yo...
How to Delete or Reset your PHPNuke Admin Account
Lost your admin password ?  Cant login to your admin account ? This s...
Back Online & Stuff
Back Online & Stuff
Look at us with our nifty website back up and running… Seriously...
How to edit the admins in...
How to edit the admins in the forums
Here is a way to make someone admin in your forums on your Evo site. I...
Demo Splash Screen
Demo Splash Screen
Ped @ Clan Themes has released a simple splash screen entrance hack. ...
Free Phpnuke Business The...
Free Phpnuke Business Theme 6
This is the 6th Business theme for Phpnuke that Clan Themes has releas...
Tricked Out Slider
Tricked Out Slider
We have seen some great new things come out of Tricked Out News and th...

Custom Work

PHP Nuke Custom Work

www.clanthemes.com :: View topic - Error when i want to edit weblinks
Error when i want to edit weblinks

7 Replies / 640 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » Bugs/Issues

View previous topic :: View next topic


alfiecrous
Reputation: 23.2 Add RepSubtract Rep
Local time: 4:12 AM

southafrica.gif

Tree Hugger
Tree Hugger

0.04 posts per day
Medals: 0

Joined: Apr 11, 2008
Last Visit: 17 Nov 2011
Posts: 65
Points: 24286 

Post Error when i want to edit weblinks Posted: Mon Aug 16, 2010 11:55 am

Shop Purchases:
Modern Gamer Evo Xtreme Theme · Battlefield: Bad Company 2 Xtreme Theme · Call of Duty Black Ops Xtreme Theme · Clan Roster 2.0 · Medal of Honor Xtreme Theme · ARMA 2 Xtreme Theme · Multiple Gamer Xtreme · Battlefield 3 Xtreme Theme · Bad Company 2 Vietnam Xtreme Theme

I have PHP nuke extreme, In my admin panel when i wants to edit my weblinks it gives me this error

Fatal error: Cannot redeclare getparent() (previously declared in /home/fflclanc/public_html/modules/Downloads/includes/functions.php:0) in /home/fflclanc/public_html/modules/Web_Links/admin/index.php on line 46


Can someone please advise
 

 
View user's profileSend private messageSend e-mail Reply with quote

scope1234
Reputation: 80.2 Add RepSubtract Rep
votes: 2
Local time: 2:12 AM
Location: United Kingdom
uk.gif

Stand-by Stand-by
Stand-by Stand-by

0.49 posts per day
Medals: 0

Joined: Nov 06, 2009
Last Visit: 02 Jan 2012
Posts: 455
Points: 35419 

Post Re: Error when i want to edit weblinks Posted: Mon Aug 16, 2010 12:09 pm

Shop Purchases:
Battlefield 2 Splash Screen

from reading that i can see 'getparent' now a parent is usually the main category witch the sub category is held under like sub forums! have you set up the category's!
 

 
View user's profileSend private messageMSN Messenger Reply with quote

DreAdeDcoRpSE
Reputation: 2572.3 Add RepSubtract Rep
votes: 28
Local time: 9:12 PM
Location: Back of your Mind
usa.gif

Site Admin
Site Admin

1.36 posts per day
Medals: 3 (View more...)
Super Dedicated User (Amount: 1)
Forums Moderator
Forums Moderator
Joined: Sep 22, 2007
Last Visit: 26 May 2012
Posts: 2331
Points: 136112 

Post Re: Error when i want to edit weblinks Posted: Mon Aug 16, 2010 1:51 pm

Shop Purchases:
Enemy Territory Theme (Aviator) for PHP Nuke · Clan Roster 2.0 ·  · Modern Warfare 3 Xtreme Theme

whats line 46 of /home/fflclanc/public_html/modules/Web_Links/admin/index.php?

is there any upgrades you are running over the stock Evo Extreme?, What version of extreme are you running? 2.0.7 or 2.0?
 

 
View user's profileSend private messageVisit poster's website Reply with quote


alfiecrous
Reputation: 23.2 Add RepSubtract Rep
Local time: 4:12 AM

southafrica.gif

Tree Hugger
Tree Hugger

0.04 posts per day
Medals: 0

Joined: Apr 11, 2008
Last Visit: 17 Nov 2011
Posts: 65
Points: 24286 

View user's profileSend private messageSend e-mail Reply with quote

DreAdeDcoRpSE
Reputation: 2572.3 Add RepSubtract Rep
votes: 28
Local time: 9:12 PM
Location: Back of your Mind
usa.gif

Site Admin
Site Admin

1.36 posts per day
Medals: 3 (View more...)
Super Dedicated User (Amount: 1)
Forums Moderator
Forums Moderator
Joined: Sep 22, 2007
Last Visit: 26 May 2012
Posts: 2331
Points: 136112 

Post Re: Error when i want to edit weblinks Posted: Mon Aug 16, 2010 2:42 pm

Shop Purchases:
Enemy Territory Theme (Aviator) for PHP Nuke · Clan Roster 2.0 ·  · Modern Warfare 3 Xtreme Theme

It may just be an error with in that CMS. Extreme 2.0.7 has lot's of errors, I remember working on my buddies site, I spent 3 days chasing his errors and finally I gave up, he ran the CMS till extreme 2.0 came out and upgraded to that. I suggest you doing that.

EDIT:

By your footer, you are running Extreme 2.0, not Extreme 2.0.7, which is a good thing, bad thing that you did not know that but good thing that your running it.

Now back to my original question,

1.) whats line 46 of /home/fflclanc/public_html/modules/Web_Links/admin/index.php?


2.) is there any upgrades you are running over the stock Evo Extreme 2.0?

Sorry that I colored the questions, I just did not get the answers for them last time so I figured if I make them stand out, they will get answered.
 

 
View user's profileSend private messageVisit poster's website Reply with quote

alfiecrous
Reputation: 23.2 Add RepSubtract Rep
Local time: 4:12 AM

southafrica.gif

Tree Hugger
Tree Hugger

0.04 posts per day
Medals: 0

Joined: Apr 11, 2008
Last Visit: 17 Nov 2011
Posts: 65
Points: 24286 

Post Error when i want to edit weblinks Posted: Mon Aug 16, 2010 6:49 pm

Shop Purchases:
Modern Gamer Evo Xtreme Theme · Battlefield: Bad Company 2 Xtreme Theme · Call of Duty Black Ops Xtreme Theme · Clan Roster 2.0 · Medal of Honor Xtreme Theme · ARMA 2 Xtreme Theme · Multiple Gamer Xtreme · Battlefield 3 Xtreme Theme · Bad Company 2 Vietnam Xtreme Theme

46 function getparent($parentid, $title)
47 {
global $prefix,$db;
$parentid = intval($parentid);
$row = $db->sql_fetchrow($db->sql_query("SELECT cid, title, parentid FROM " . $prefix . "_links_categories WHERE cid='$parentid'"));
$cid = intval($row['cid']);
$ptitle = $row['title'];
$pparentid = intval($row['parentid']);
$db->sql_freeresult($result);
if (!empty($ptitle))


And no updates !
 

 
View user's profileSend private messageSend e-mail Reply with quote


monroe
Reputation: 569.9 Add RepSubtract Rep
votes: 2
Local time: 9:12 PM
Location: Pittsburgh
usa.gif

Rocket Noob
Rocket Noob

0.01 posts per day
Medals: 0

Joined: Apr 08, 2007
Last Visit: 26 Dec 2010
Posts: 20
Points: 1836 

Post Re: Error when i want to edit weblinks Posted: Mon Aug 16, 2010 9:07 pm

alfiecrous wrote:
I have PHP nuke extreme, In my admin panel when i wants to edit my weblinks it gives me this error

Fatal error: Cannot redeclare getparent() (previously declared in /home/fflclanc/public_html/modules/Downloads/includes/functions.php:0) in /home/fflclanc/public_html/modules/Web_Links/admin/index.php on line 46


Can someone please advise


You have something that is including the Downloads module's function.php outside of the module. Perhaps a downloads block? Maybe a modification to mainfile.php?

Since the two functions with the same name are structurally different there is no easy way to fix it other than to simply avoid the conflict. Meaning you must find the Downloads include and remove it. If you for some reason it can not be removed the only thing to really do is do a global find and replace on getparent and replace it with getparent2 or something. If you go this route only do this in the Web_Links folder. I suggest Notepad++ for the above mentioned task.

P.S I would also think you would have this problem in the Tutorials administration.
 


Palbin  
View user's profileSend private messageVisit poster's website Reply with quote

alfiecrous
Reputation: 23.2 Add RepSubtract Rep
Local time: 4:12 AM

southafrica.gif

Tree Hugger
Tree Hugger

0.04 posts per day
Medals: 0

Joined: Apr 11, 2008
Last Visit: 17 Nov 2011
Posts: 65
Points: 24286 

View user's profileSend private messageSend e-mail Reply with quote
Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » Bugs/Issues


 
7 Replies / 640 Views
Page 1 of 1
All times are GMT
Display posts from previous:   
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum