forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: jamar190 on December 07, 2004, 01:37:43 am

Title: editing with a broken theme?
Post by: jamar190 on December 07, 2004, 01:37:43 am
I downloaded a theme and the download didnt go right so i ended up with this:

Warning: main(themes/default/theme.php): failed to open stream: No such file or directory in /home/www/meygan.freelinuxhost.com/coppermine/include/init.inc.php on line 333

Fatal error: main(): Failed opening required 'themes/default/theme.php' (include_path='.:/usr/local/lib/php') in /home/www/meygan.freelinuxhost.com/coppermine/include/init.inc.php on line 333

is there any way I could edit it so I can go back to the old theme without losing all my pictures and re-installing?
Title: Re: editing with a broken theme?
Post by: Tranz on December 07, 2004, 01:45:27 am
The themes are completely separate from the pictures and the database containing the data about the pictures. Do you have the default theme which is called classic. I'm not sure why there is a reference to default. What version are you running? A link would help.
Title: Re: editing with a broken theme?
Post by: jamar190 on December 07, 2004, 01:50:09 am
Thanks for replying on im 1.3.0. My friends coppermine which im helping her with is
http://meygan.freelinuxhost.com/coppermine
Title: Re: editing with a broken theme?
Post by: Tranz on December 07, 2004, 01:52:47 am
Maybe that version still used 'default'... before my time. :) Have you tried re-uploading the default theme folder to the themes folder?
Title: Re: editing with a broken theme?
Post by: Joachim Müller on December 07, 2004, 08:18:46 am
just add theme=classic to your url, then go to coppermine config and switch to "classic" as standard (default) theme. Upgrade to cpg1.3.2!

Joachim
Title: Re: editing with a broken theme?
Post by: Casper on December 07, 2004, 02:05:34 pm
I tried that, it looks like jamar190 has not uploaded the themes.  No theme seems to work.

@ jamar190, please check which version you are using, as 'default theme' only exists in versions prior to 1.3.
Also, make sure your themes folder contains at least the classic theme(default if older version).

I suggest the easiest thing for you to do is to get the latest version, 1.3.2 from the download section, and upgrade.
Title: Re: editing with a broken theme?
Post by: Nibbler on December 07, 2004, 02:15:08 pm
Classic theme is there but not readable. Check the permissions.
Title: Re: editing with a broken theme?
Post by: jamar190 on December 07, 2004, 10:58:44 pm
where exactly do i add theme=classic ? to what url?

also i dont know how to upgrade, can someone tell me the steps?
Title: Re: editing with a broken theme?
Post by: Casper on December 07, 2004, 11:19:13 pm
Upgrading is very easy.  Just download the file from the downloads section, unzip it, then follow the instructions in the docs folder index.html.

Make sure you replace all the files on the server, except the albums folder, and the config.inc.php file and the install.lock file, both of which are in the include folder.
Title: Re: editing with a broken theme?
Post by: jamar190 on December 07, 2004, 11:43:59 pm
k thanks where do i put themes=classic
Title: Re: editing with a broken theme?
Post by: Joachim Müller on December 08, 2004, 11:16:40 am
http://meygan.freelinuxhost.com/coppermine/?theme=classic , but this will only help if your classic theme is readable and working. Apparently, it is not, you have messed with your coppermine install and should do what was suggested: upgrade asap. My suggestion alone won't help, that's why none of the devs answered your question on where to add the var to the url. Insisting by asking repeatedly the same thing is annoying, we can "hear" you well, there's no point in "shouting" at us.

Joachim
Title: Re: editing with a broken theme?
Post by: jamar190 on December 09, 2004, 03:57:47 am
ok, ill upgrade right away. and i dont know why you take such offense to peoples questions. i read over my replies and there wasn't anytime I was "shouting".  You understand this program like the back of your hand, but im a novice and sometimes people need things explained more then once. thanks so much for your help.