Fatal Error - Help!! Fatal Error - Help!!
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Fatal Error - Help!!

Started by iluvhil, November 15, 2004, 05:12:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

iluvhil

Can someone help me? At the bottom of my gallery it says this:

Fatal error: Cannot redeclare cpggetuserdata() (previously declared in /home/hduffne/public_html/iluvhil/gallery/include/init.inc.php:45) in /home/hduffne/public_html/iluvhil/gallery/include/init.inc.php on line 45

Why should I do? Here's the URL of the gallery: www.hduff.net/iluvhil/gallery. It says it at the bottom of the index
Check out my gallery: www.hduff.net/iluvhil/gallery - Dedicated to the wonderful Hilary Duff!

Joachim Müller

obviously you have modified some files - post your modfications, or get fresh (unmodified) files from the coppermine package and re-upload them.

Joachim

iluvhil

Hi, thanks for your help. I reuploaded it... but when I did everything disappeared! Now all that's on the index is this:

Fatal error: Cannot redeclare cpggetuserdata() (previously declared in /home/hduffne/public_html/iluvhil/gallery/include/init.inc.php:44) in /home/hduffne/public_html/iluvhil/gallery/include/init.inc.php on line 431
Check out my gallery: www.hduff.net/iluvhil/gallery - Dedicated to the wonderful Hilary Duff!

Joachim Müller

did you enable bridging? If yes, temporarily disable it - you appear to have made an error here.

Joachim

iluvhil

I was able to get the index back, but it still says the same message at the bottom except now its on Line 44:

Fatal error: Cannot redeclare cpggetuserdata() (previously declared in /home/hduffne/public_html/iluvhil/gallery/include/init.inc.php:44) in /home/hduffne/public_html/iluvhil/gallery/include/init.inc.php on line 44
Check out my gallery: www.hduff.net/iluvhil/gallery - Dedicated to the wonderful Hilary Duff!

iluvhil

Enable bridging... ? Sorry I dont know how to disable it.  ???
Check out my gallery: www.hduff.net/iluvhil/gallery - Dedicated to the wonderful Hilary Duff!

Joachim Müller

Hm, but where on earth do you mess with the code? What changes did you apply to the coppermine files? What did you do to make the error turn up somewhere else? You must be doing something with the code that is wrong.

Joachim

iluvhil

Well I seem to have gotten everything back. The only problem is the fatal error at the bottom of the gallery. The strange thing is that it shows only on some pages... I reuploaded the error file but it didn't help. Here are the files I edited:

Albums Index
Gallery Index
Themes>Water Drop>Template and Style

That's it, I think
Check out my gallery: www.hduff.net/iluvhil/gallery - Dedicated to the wonderful Hilary Duff!

iluvhil

Thanks so much for all you help... please reply soon ;D
Check out my gallery: www.hduff.net/iluvhil/gallery - Dedicated to the wonderful Hilary Duff!

Joachim Müller

undo your modifications then (step by step, back the modified versions up). It's impossible to tell you more if you don't post your actual changes.

Joachim

iluvhil

Check out my gallery: www.hduff.net/iluvhil/gallery - Dedicated to the wonderful Hilary Duff!

iluvhil

Fatal error: Cannot redeclare cpggetuserdata() (previously declared in /home/hduffne/public_html/iluvhil/gallery/include/init.inc.php:44) in /home/hduffne/public_html/iluvhil/gallery/include/init.inc.php on line 44

Does this message tell you anything (like what folders to reupload and undo modifications?)
Check out my gallery: www.hduff.net/iluvhil/gallery - Dedicated to the wonderful Hilary Duff!

Joachim Müller

no, it doesn't mean anything - you're including the file twice, so the definition goes twice. There's no telling in what file this happens. Do as I suggested and roll back your changes. There's little point in requesting a second opinion - I know the software coppermine good enough to be able to judge this.

Joachim

iluvhil

Ok, thanks. I've decided to reupload everything and start all over. I'm only modifying the template.html and style.css under the water_drop theme. I hope it will go better this time. Thanks for all you help!  :)
Check out my gallery: www.hduff.net/iluvhil/gallery - Dedicated to the wonderful Hilary Duff!