The gallery is gone after adding a theme The gallery is gone after adding a theme
 

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]

Main Menu

The gallery is gone after adding a theme

Started by tekitouni, September 13, 2006, 03:24:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tekitouni

Hello. I'm new to Coppermine and the forum.

I tried to add a new theme I created and set it as default. But it was all messed up because I forgot to put HTML file! I uploaded it as I noticed it, but nothing had changed. Then I decided to remove the file and renamed other theme file for the one I had removed, but the gallery didn't show up and there was this error message "MySQL said: Lost connection to MySQL server during query". Is my gallery broken?? How can I fix it? It is very important to me, so please someone help!!!  :'(

Nibbler

That's a server issue, unrelated to theming. You can access your gallery via the classic theme by adding ?theme=classic to the end of your site url.

If you are new to Coppermine then start with the latest stable version (1.4.9 currently), 1.3 is old and will soon be unsupported.

tekitouni

Like, xxxxxxx.com/photos/?theme=classic ?

Well, the similar errors happened when I set a new theme to my phpBB forum as default and I removed it BEFORE I set other theme as default.  :'(

tekitouni

Quote from: Nibbler on September 13, 2006, 03:34:34 PMIf you are new to Coppermine then start with the latest stable version (1.4.9 currently), 1.3 is old and will soon be unsupported.

Sorry, but I don't even know what my version is. How do you know? If mine is 1.3, how can I change it to latest stable version??

Sami

- You can find your CPG version by looking at end of page source (Right click and select view page source on FF and similar on IE)
- read upgrade documentation here:
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upgrade
‍I don't answer to PM with support question
Please post your issue to related board

tekitouni

#5
Thank you!

So, I was using the theme "rounded_corner" and editing it to make my own theme.
I renamed the file as "rounded_corner2" just for now.


This is how it looks right now.

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv298%2Fshawtay%2Ferror1.jpg&hash=2ea5574c3ea323651728d75148f9dd745c17c03c)


Now I can log in at least, but


(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv298%2Fshawtay%2Ferror2.jpg&hash=5a70815d2ad2a459bc08180f89dd8d0849d8b61f)


I can't read anything.  :'(  I need to change the default theme as soon as possible but I don't know where the link is. I don't think this theme contained the config page for some reasons. Could anyone please give me the link where I can go to the config page?

Thank you.

tekitouni

Nevermind about the second image. I can read the texts now. Now I just need what to add to my site URL for going to the config page to change the default theme. Your help will be greatly appreciated!!!

Sami

 what was the CPG version?
you should first login as an admin and then try to load admin.php
‍I don't answer to PM with support question
Please post your issue to related board

tekitouni

Quote from: bmossavari on September 13, 2006, 04:30:03 PM
what was the CPG version?
you should first login as an admin and then try to load admin.php

I just found that my gallery said 1.4.5. 
I have logged in as an admin, but there's no config botton there.  :'(

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv298%2Fshawtay%2Ferror4.jpg&hash=4227eccc5b3ca94bb4344e43cde45ff52ebf1ae3)

Sami

‍I don't answer to PM with support question
Please post your issue to related board

tekitouni

Is it okay to PM you a link to my gallery? I've always worried about getting spammers by posting links in the forums like this. I will be grateful if you could check my gallery.

Sami

‍I don't answer to PM with support question
Please post your issue to related board

tekitouni

I sent it to you. Thank you!

My gallery is offline right now so any visitors cannot see how I've been changing themes. If I need to set it online for you to look at, then please let me know.

tekitouni

So, I downloaded 1.4.9

Do I just need to upload the whole file and overwrite?
But what about the photos that are already uploaded in the gallery?

Sami

Do not over write Albums folder , do not over write include/config.inc.php and anycontent.php
Create a backup of all your files and DB as well
In fact you should do as upgrading doc. said
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#14
‍I don't answer to PM with support question
Please post your issue to related board

tekitouni

#15
Thank you. I've upgraded.  :)


Joachim Müller