coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: tekitouni on September 13, 2006, 03:24:24 PM

Title: The gallery is gone after adding a theme
Post by: tekitouni on September 13, 2006, 03:24:24 PM
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!!!  :'(
Title: Re: The gallery is gone after adding a theme
Post by: Nibbler on September 13, 2006, 03:34:34 PM
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.
Title: Re: The gallery is gone after adding a theme
Post by: tekitouni on September 13, 2006, 03:40:16 PM
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.  :'(
Title: Re: The gallery is gone after adding a theme
Post by: tekitouni on September 13, 2006, 03:42:21 PM
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??
Title: Re: The gallery is gone after adding a theme
Post by: Sami on September 13, 2006, 03:47:30 PM
- 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
Title: Re: The gallery is gone after adding a theme
Post by: tekitouni on September 13, 2006, 04:18:35 PM
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.
Title: Re: The gallery is gone after adding a theme
Post by: tekitouni on September 13, 2006, 04:29:31 PM
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!!!
Title: Re: The gallery is gone after adding a theme
Post by: Sami 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
Title: Re: The gallery is gone after adding a theme
Post by: tekitouni on September 13, 2006, 04:42:45 PM
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)
Title: Re: The gallery is gone after adding a theme
Post by: Sami on September 13, 2006, 04:44:05 PM
can you post a link to your gallery?
Title: Re: The gallery is gone after adding a theme
Post by: tekitouni on September 13, 2006, 04:47:35 PM
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.
Title: Re: The gallery is gone after adding a theme
Post by: Sami on September 13, 2006, 04:55:50 PM
it's okey ...send it
Title: Re: The gallery is gone after adding a theme
Post by: tekitouni on September 13, 2006, 04:59:57 PM
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.
Title: Re: The gallery is gone after adding a theme
Post by: tekitouni on September 13, 2006, 05:31:06 PM
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?
Title: Re: The gallery is gone after adding a theme
Post by: Sami on September 13, 2006, 05:37:09 PM
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
Title: Re: The gallery is gone after adding a theme
Post by: tekitouni on September 14, 2006, 04:31:57 PM
Thank you. I've upgraded.  :)

Title: Re: The gallery is gone after adding a theme
Post by: Joachim Müller on September 14, 2006, 08:46:24 PM
Issue solved then?