Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: editing with a broken theme?  (Read 5189 times)

0 Members and 1 Guest are viewing this topic.

jamar190

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 59
  • me
editing with a broken theme?
« 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?
Logged
if you read this, you eat children...

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: editing with a broken theme?
« Reply #1 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.
Logged

jamar190

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 59
  • me
Re: editing with a broken theme?
« Reply #2 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
Logged
if you read this, you eat children...

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: editing with a broken theme?
« Reply #3 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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: editing with a broken theme?
« Reply #4 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
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: editing with a broken theme?
« Reply #5 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.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Nibbler

  • Guest
Re: editing with a broken theme?
« Reply #6 on: December 07, 2004, 02:15:08 pm »

Classic theme is there but not readable. Check the permissions.
Logged

jamar190

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 59
  • me
Re: editing with a broken theme?
« Reply #7 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?
Logged
if you read this, you eat children...

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: editing with a broken theme?
« Reply #8 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.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

jamar190

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 59
  • me
Re: editing with a broken theme?
« Reply #9 on: December 07, 2004, 11:43:59 pm »

k thanks where do i put themes=classic
Logged
if you read this, you eat children...

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: editing with a broken theme?
« Reply #10 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
Logged

jamar190

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 59
  • me
Re: editing with a broken theme?
« Reply #11 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.
Logged
if you read this, you eat children...
Pages: [1]   Go Up
 

Page created in 0.033 seconds with 21 queries.