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: php Error after toying around with Themes  (Read 627 times)

0 Members and 1 Guest are viewing this topic.

Kuzey

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
php Error after toying around with Themes
« on: December 21, 2018, 07:26:16 pm »

Hello!

I'm running a cpg 1.6.04. All was fine until i decided to try some different themes.
Usually, if somethings went wrong, i just deleted the theme and Coppermine used one of it's standart themes instead. This time, when i was trying the Theme, i got an php error message. I tried to go back and use a standart theme as well as deleting the not working theme.
I still get the php error. Telling me that "Failed opening required 'themes/curve/theme.php'".
Where / how can i set themes back to another one? I can log in. Only access i have is FTP and the database. But can't access Admin panel.
Any help is much appreciated.
I just made my whole gallery all new, because hoster is shutting down old databases and i were not able to upload the old db dump.
However, i had to re-add 11k photos. Don't want to do this again :/
Logged

Kuzey

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: php Error after toying around with Themes
« Reply #1 on: December 21, 2018, 09:02:05 pm »

Well, were able to fix it. Just uploaded a random theme and named the folder like it was named in the error message.
Thereafter menu appeared and i was able to set design to standart theme.
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4659
    • Windsurf.me
Re: php Error after toying around with Themes
« Reply #2 on: December 22, 2018, 06:45:08 pm »

In the docs there is a section detailing themes. In those docs it tells you how to select any known theme simply by adding a simple string to then end of your url. This is well worth knowing for situations like this

Adding ?theme=curve for example will force the theme to be set to curve. ?theme=xxx will reset your cookie
Logged
It is a mistake to think you can solve any major problems just with potatoes.
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 20 queries.