coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: croft on April 30, 2005, 03:47:26 PM

Title: Problems after creating a new style.
Post by: croft on April 30, 2005, 03:47:26 PM
Its seams i cant do anything after i created a new style.
I cant change anything in the config. cant edit the album settings.

And when i try to upload i get this message.



Notice: Array to string conversion in /home/xxx/xxx/album/include/init.inc.php on line 135

Notice: Array to string conversion in /home/xxx/xxx/album/include/init.inc.php on line 135



How can i get my new theme to work with coppermine ?

The album is located here
http://www.dab-online.com/album
Title: Re: Problems after creating a new style.
Post by: Joachim Müller on April 30, 2005, 06:44:41 PM
click here: http://www.dab-online.com/album/?theme=xxx

Joachim

Title: Re: Problems after creating a new style.
Post by: croft on April 30, 2005, 06:49:01 PM
How does that help me ?
Title: Re: Problems after creating a new style.
Post by: Tranz on April 30, 2005, 06:50:58 PM
It resets the theme to the default set in Config.
Title: Re: Problems after creating a new style.
Post by: croft on April 30, 2005, 07:57:59 PM
so ?
that doesnt help me with current theme.
I only have one theme on there.
Title: Re: Problems after creating a new style.
Post by: Joachim Müller on April 30, 2005, 08:05:05 PM
without knowing your modifications to the theme, there's nothing else we can advice. Rename a local copy of your custom theme.php file to theme.php.txt and attach it to your next posting.
Title: Re: Problems after creating a new style.
Post by: Tranz on April 30, 2005, 08:28:21 PM
@croft: you should watch your tone. You're the one requesting help and supporters aren't obligated to give it to you.
Title: Re: Problems after creating a new style.
Post by: croft on May 01, 2005, 02:08:32 AM
Here is the txt file.

Its strange tho that you can still browse around the album and stuff like that but not editing the confog or upload.

Title: Re: Problems after creating a new style.
Post by: Joachim Müller on May 01, 2005, 08:33:30 AM
your whole custom theme is crap, in more than one place. To solve the particular issue, edit your theme's template.html file, find<form action="index.php" method="get">and remove it. Then find</form>and remove it as well. The code you had there wrapped all coppermine forms, which of course is very silly.