coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: GladiatoR on December 17, 2005, 01:29:00 AM

Title: Fatal error when installing themes.
Post by: GladiatoR on December 17, 2005, 01:29:00 AM
I just upgraded my Coppermine from 1.3 to 1.4. When using the Hardwired theme it would come up with an error saying

Warning: Cannot modify header information - headers already sent by (output started at /home/farkin/public_html/gallery/index.php:751) in /home/farkin/public_html/gallery/themes/hardwired/theme.php on line 896

Warning: Cannot modify header information - headers already sent by (output started at /home/farkin/public_html/gallery/index.php:751) in /home/farkin/public_html/gallery/themes/hardwired/theme.php on line 897

Warning: Cannot modify header information - headers already sent by (output started at /home/farkin/public_html/gallery/index.php:751) in /home/farkin/public_html/gallery/include/functions.inc.php on line 51

I thought this is because the current hardwired theme was 1.3 so I upgraded the new 1.4 themes and now i'm getting a fatal error whenever I use one of the newer 1.4 themes saying:

"Fatal error: Call to undefined function: pageheader() in /home/farkin/public_html/gallery/config.php on line 454"

I installed the new themes into the gallery/themes directory. What's gone wrong?

Regards Joe.
Title: Re: Fatal error when installing themes.
Post by: Joachim Müller on December 17, 2005, 01:39:08 AM
http://coppermine-gallery.net/demo/cpg14x/docs/theme/index.html
Title: Re: Fatal error when installing themes.
Post by: GladiatoR on December 17, 2005, 01:18:38 PM
Ok, tried doing that tutorial but I get lost when I have to create my own theme.php. Maybe someone already has a hardwired theme they have edited they they could possibly send me?

www.farkin.ugtech.net/gallery

Check out the errors!
Title: Re: Fatal error when installing themes.
Post by: Nibbler on December 17, 2005, 05:09:35 PM
http://forum.coppermine-gallery.net/index.php?topic=24788.msg113968#msg113968