coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: puchoo on July 18, 2006, 10:51:17 PM

Title: Custom Header
Post by: puchoo on July 18, 2006, 10:51:17 PM
hey,i have a very urgent problem because of somethin stupid i did
well my board was up and working fine then i decided to explor the custom header a bit.... what i did was try putting a flash file(Swf) as a link.... so i did ../header.swf
now none of my coppermine pages open up and they all show the same error message which is

Warning: Unexpected character in input: '' (ASCII=14) state=1 in /home/www/puchoo.awardspace.com/header.swf on line 239

Parse error: parse error, unexpected T_STRING in /home/www/puchoo.awardspace.com/header.swf on line 239

how can i solve this problem or which file do i have to edit to fix it..... can somebody please reply fast.. its really urgent..
thanks a lot
Title: Re: Custom Header
Post by: Nibbler on July 18, 2006, 10:59:31 PM
Edit your theme's template.html to remove the {CUSTOM_HEADER} tag, then login to coppermine to clear the config setting. Restore the tag afterwards. This feature is for a php include() - you can only include() text files. To add a flash file to your header you should edit template.html.
Title: Re: Custom Header
Post by: puchoo on July 18, 2006, 11:07:04 PM
i tried replacing the template.html file with the basic template.html file itself. that didnt work. im using the fruity template. what do i do.im still getting the same message.

Warning: Unexpected character in input: '' (ASCII=14) state=1 in /home/www/puchoo.awardspace.com/header.swf on line 239

Parse error: parse error, unexpected T_STRING in /home/www/puchoo.awardspace.com/header.swf on line 239
Title: Re: Custom Header
Post by: Nibbler on July 18, 2006, 11:13:18 PM
Use phpmyadmin to clear the config setting manually. Browse to your coppermine database, locate the cpg_config table and set the value to '' where the name is 'custom_header_path'.
Title: Re: Custom Header
Post by: puchoo on July 18, 2006, 11:14:18 PM
i just edited the original template.html file in the fruity template directory to remove the {CUSTOM HEADER} Tag and then uploaded it once again to the Frutity directory on my server.When i refreshed the page i was still gettin the same error.Help!

Warning: Unexpected character in input: '' (ASCII=14) state=1 in /home/www/puchoo.awardspace.com/header.swf on line 239

Parse error: parse error, unexpected T_STRING in /home/www/puchoo.awardspace.com/header.swf on line 239
Title: Re: Custom Header
Post by: Nibbler on July 18, 2006, 11:16:06 PM
Maybe posting the error message some more will help solve your issue.  ::)
Title: Re: Custom Header
Post by: puchoo on July 18, 2006, 11:22:10 PM
sorry about posting the error message again and again.just paranoid.
can you just explain the myphpadmin process so clearly.im half way there but need some help
Title: Re: Custom Header
Post by: puchoo on July 18, 2006, 11:28:06 PM
thanks a lot.it worked!