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 [2] 3   Go Down

Author Topic: sudden problem with gallery loading  (Read 23363 times)

0 Members and 1 Guest are viewing this topic.

kb1100

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
Re: sudden problem with gallery loading
« Reply #20 on: January 31, 2006, 12:01:58 am »

Okay, thank you very much for your help, I would of been lost. I will try to upgrade as long as I will not loose anything. I won't loose all of my categories, albums, or files in the albums will I?
Logged

Nibbler

  • Guest
Re: sudden problem with gallery loading
« Reply #21 on: January 31, 2006, 12:08:03 am »

You won't lose anything if you do it properly.
Logged

kb1100

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
Re: sudden problem with gallery loading
« Reply #22 on: January 31, 2006, 12:09:12 am »

Ok, I went to the upgrade docs and the first thing it says to do is to "First, make a backup (dump) of your database." Can I do this seeing I can't get to my gallery?
Logged

Nibbler

  • Guest
Re: sudden problem with gallery loading
« Reply #23 on: January 31, 2006, 12:12:36 am »

You can make the dump using any database admin tool, such as phpmyadmin.
Logged

kb1100

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
Re: sudden problem with gallery loading
« Reply #24 on: January 31, 2006, 12:30:13 am »

OK thank you very much. I save my datebase just by exporting it then? I did this and its just a bunch of text.
Logged

Nibbler

  • Guest
Re: sudden problem with gallery loading
« Reply #25 on: January 31, 2006, 12:31:33 am »

Yes, that's what a dump looks like.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: sudden problem with gallery loading
« Reply #26 on: January 31, 2006, 06:15:23 am »

I'll have to go find a beta release to figure out what the "core" theme is
Here are the download links (hidden on the official downloads page) for older versions:
Dev-only thread that explains the naming scheme: http://forum.coppermine-gallery.net/index.php?topic=12899.msg78327#msg78327
Logged

kb1100

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
Re: sudden problem with gallery loading
« Reply #27 on: February 04, 2006, 04:34:13 pm »

I followed the upgrade instructions and upgraded to version 1.4.3 but now when I try to go to my gallery I get the following:
Coppermine Photo Gallery seems not to be installed correctly, or you are running coppermine for the first time. You'll be redirected to the installer. If your browser doesn't support redirect, click here.

When I click the "click here" link  I get the following:
• • • ERROR • • • 
The installer has already been run successfuly once and is now locked.

If you want to run the installer again, you first need to delete the 'include/install.lock' file that was created in the directory where you put Coppermine. You can do this with any FTP program. 

Would deleting the lock file and reinstalling fix this? And would I still be able to have all of the content as I did before this mess? I saved the datebase as instructed in the upgrade.
Logged

Nibbler

  • Guest
Re: sudden problem with gallery loading
« Reply #28 on: February 04, 2006, 04:36:22 pm »

What did you do with your include/config.inc.php file ?
Logged

kb1100

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
Re: sudden problem with gallery loading
« Reply #29 on: February 04, 2006, 04:38:41 pm »

I copied that file to my hard drive as well as the anyconntent.php file.
Logged

Nibbler

  • Guest
Re: sudden problem with gallery loading
« Reply #30 on: February 04, 2006, 04:50:20 pm »

Make sure you copied it and did not move it. You are getting that message because that file is not there.
Logged

kb1100

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
Re: sudden problem with gallery loading
« Reply #31 on: February 04, 2006, 04:58:24 pm »

Ok, I just checked and the config.inc.php file was not there so I uploaded the copy that I saved. Now when I go to my gallery I get this:
Fatal error :
Logged

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: sudden problem with gallery loading
« Reply #32 on: February 04, 2006, 05:08:27 pm »

Is this when you go to the main page or when you go to the installer?
Logged

kb1100

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
Re: sudden problem with gallery loading
« Reply #33 on: February 04, 2006, 05:10:26 pm »

This is when I go to the main page.
Logged

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: sudden problem with gallery loading
« Reply #34 on: February 04, 2006, 06:23:34 pm »

What happens when you run "update.php"?
Logged

kb1100

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
Re: sudden problem with gallery loading
« Reply #35 on: February 04, 2006, 06:31:51 pm »

When I run the update it shows the following at the bottom:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /mounted-storage/home8/sub001/sc14959-TCLB/LN/members/gallery/update.php on line 47

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /mounted-storage/home8/sub001/sc14959-TCLB/LN/members/gallery/update.php on line 50

Upgrade completed

And I tried to go to my gallery after I did this and it is still the same.
Logged

Nibbler

  • Guest
Re: sudden problem with gallery loading
« Reply #36 on: February 04, 2006, 06:36:58 pm »

Make sure include/config.inc.php contains correct information about your database.
Logged

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: sudden problem with gallery loading
« Reply #37 on: February 04, 2006, 06:40:54 pm »

It sounds like your config.inc.php is not set up properly.  update.php cannot find your existing Coppermine database tables.  You need to have the correct name of your database and the table prefix (and the connection information).  Are you using the one from your previous installation?  You can edit config.inc.php with a text editor and check the information.

Yeah, what Nibbler said.
Logged

kb1100

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
Re: sudden problem with gallery loading
« Reply #38 on: February 04, 2006, 11:44:02 pm »

It has all the correct info as far as datebase name, user name, and password. The other info in the file is:
$CONFIG['TABLE_PREFIX'] =                'cpg140_';

and I checked my phpmy admin and the table names are as follows so I dont see what is wrong with that. 
  cpg140_albums
  cpg140_banned
  cpg140_bridge
  cpg140_dict
  cpg140_ecards
  cpg140_exif
  cpg140_favpics
  cpg140_filetypes
  cpg140_hit_stats
  cpg140_plugins
  cpg140_sessions
  cpg140_temp_data
  cpg140_vote_stats
Logged

Nibbler

  • Guest
Re: sudden problem with gallery loading
« Reply #39 on: February 04, 2006, 11:51:44 pm »

While you are in phpmyadmin, use the SQL tab to run the query

UPDATE cpg140_config set value = 1 where name = 'debug_mode'

Then go back to your gallery.
Logged
Pages: 1 [2] 3   Go Up
 

Page created in 0.038 seconds with 21 queries.