PortalParts.com Site

 Forum Index > Geeklog > FAQ Manager Plugin New Topic Post Reply
 php error with faqman
 |  Printable Version
eg0master
 September 27 2006 14:02 PM  
Forum Junior
Junior

Status: offline

Registered: 07/24/05
Posts: 9

Quote by: DarkHorizons
Fatal error: Cannot redeclare preparefordb() (previously declared in /home/public_html/faqman/data/common.lib.php:281) in /home/geeklog/plugins/pm/functions.inc on line 281
Any idea how to fix this?


The message clearly states the function preparedb is declared and used in both plugins. Since it is probably not exactly the same function you have to rename one of them and change the use everywhere it is used in one of the plugins.


 
Profile Email Website PM
Quote
DarkHorizons
 September 27 2006 14:10 PM  
Forum Full Poster
Full Poster

Status: offline

Registered: 09/20/06
Posts: 11

Yes that's what I ended up figuring out eventually. :banghead: I might try to use the PM plugin from this site instead. It looks a little tighter anyway.


 
Profile Email PM
Quote
Content generated in: 0.10 seconds
New Topic Post Reply



 All times are CST. The time is now 09:27 PM.
Normal Topic Normal Topic
Locked Topic Locked Topic
Sticky Topic Sticky Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content