forum.coppermine-gallery.net

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.

Code: [Select]

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
Code: [Select]
<form action="index.php" method="get">and remove it. Then find
Code: [Select]
</form>and remove it as well. The code you had there wrapped all coppermine forms, which of course is very silly.