Support » Fixing WordPress » Cannot redeclare load_template()

  • 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;

    Cron

Viewing 1 replies (of 1 total)
  • I have found that there are quite a few functions that the same between wordpress and coppermine:

    load_template()
    make_clickable()
    get_setings()

    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?

Viewing 1 replies (of 1 total)
  • The topic ‘Cannot redeclare load_template()’ is closed to new replies.