The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Cannot redeclare load_template() (2 posts)

  1. cron
    Posted 10 years ago #

    After installing Coppermine Gallery I get this error message :

    Fatal error: Cannot redeclare load_template() (previously declared in /home/zaeatco/public_html/tokyocrew51/gallery/include/functions.inc.php:653) in /home/zaeatco/public_html/tokyocrew51/wp-includes/functions.php on line 2085

    Does anyone have any sugestions? I know that wordpress and coppermine both have a function called load_template() and that they are intefering with each other. Does anyone know a work around?

    Any help would be appreciated;


  2. cron
    Posted 10 years ago #

    I have found that there are quite a few functions that the same between wordpress and coppermine:


    and more. I have tried putting cmg_ in front of the coppermine ones and wp_ in front of the wordpress ones but they are refrenced in a ton of diffrent files and I am afraid that this will ruin future proofing.

    Is there any way I could use a plugin to automaticly put wp_ in front of all the wordpress functions. That way it will automaticly re-refrence all the calls to that function and I can dissable it whenever I want.

    Is this posible?

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.