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   Go Down

Author Topic: [Solved]: cant upgrade from 1.2.1 to 1.3  (Read 13653 times)

0 Members and 1 Guest are viewing this topic.

erikas

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 7
    • eriko.nuotraukos.com
[Solved]: cant upgrade from 1.2.1 to 1.3
« on: June 11, 2004, 02:07:47 pm »

http://erikas.hakeris.lt

Warning: Undefined index: user_group_list in /home/erikas/www/include/init.inc.php on line 273
Fatal error :
There was an error while processing a database

???

« Last Edit: July 02, 2004, 11:35:02 am by GauGau »
Logged

jack

  • VIP
  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 279
Re: cant upgrade from 1.2.1 to 1.3
« Reply #1 on: June 11, 2004, 02:16:02 pm »

Have you ran the update.php file?
Logged
Please do not contact me for support directly - instead: post on this board!

erikas

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 7
    • eriko.nuotraukos.com
Re: cant upgrade from 1.2.1 to 1.3
« Reply #2 on: June 11, 2004, 02:23:14 pm »

sure  :D

Have you ran the update.php file?
Logged

erikas

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 7
    • eriko.nuotraukos.com
Re: cant upgrade from 1.2.1 to 1.3
« Reply #3 on: June 11, 2004, 02:25:44 pm »

clear install is working fine (erikas.hakeris.lt/test), but upgrade dont


Have you ran the update.php file?
Logged

jack

  • VIP
  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 279
Re: cant upgrade from 1.2.1 to 1.3
« Reply #4 on: June 11, 2004, 02:58:31 pm »

The error you are getting indicates that your databse is still in the format for 1.2

Running update.php will fix that.
Logged
Please do not contact me for support directly - instead: post on this board!

erikas

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 7
    • eriko.nuotraukos.com
Re: cant upgrade from 1.2.1 to 1.3
« Reply #5 on: June 11, 2004, 08:29:05 pm »

updade.php it did not help, I said that  :-\\


Any more advices?

The error you are getting indicates that your databse is still in the format for 1.2

Running update.php will fix that.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: cant upgrade from 1.2.1 to 1.3
« Reply #6 on: June 11, 2004, 08:35:24 pm »

Then are you sure you updated all files, including those in the sql directory?
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

erikas

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 7
    • eriko.nuotraukos.com
Re: cant upgrade from 1.2.1 to 1.3
« Reply #7 on: June 11, 2004, 09:54:23 pm »

:)

yes, all :) and made directory "edit" in the albums dir, and chmod and....

dont know what to do :( how to upgrade gallery whithout loosing the albums
now gallery is restored and running on cpg 1.2.1 again...


Then are you sure you updated all files, including those in the sql directory?
Logged

sillygoat2

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: cant upgrade from 1.2.1 to 1.3
« Reply #8 on: June 12, 2004, 07:07:52 pm »

I am having the same problem.  I too have updated all the files except for config.inc.php and my albums directory, and have put in the edit folder.  I have run the update.php file with no luck.  Anybody have any ideas?

Thanks
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Re: cant upgrade from 1.2.1 to 1.3
« Reply #9 on: June 12, 2004, 07:21:25 pm »

If either of you have scrrenshot software, provide a screenshot of the update.php programs output. (The list of things it says it has done.)
Logged
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: cant upgrade from 1.2.1 to 1.3
« Reply #10 on: June 12, 2004, 07:26:38 pm »

Are you getting any error message?

What exactly happened when you ran the upgrade.php?  Did you get a page telling you things had been done? 

Can you give a link?
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

sillygoat2

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: cant upgrade from 1.2.1 to 1.3
« Reply #11 on: June 12, 2004, 07:31:12 pm »

Yes, i get the same error discussed earlier.  Update.php says that everythign is "already done"
http://gavin.keiners.com/update.php

Thanks for any help you might be able to provide.

Logged

jack

  • VIP
  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 279
Re: cant upgrade from 1.2.1 to 1.3
« Reply #12 on: June 12, 2004, 07:41:35 pm »

Hmm .. all the additional '\' characters in there don't look right to me. Could be one of the PHP magic_quotes settings crewing things up.
I'll look into this closer later on tonight.
Logged
Please do not contact me for support directly - instead: post on this board!

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: cant upgrade from 1.2.1 to 1.3
« Reply #13 on: June 12, 2004, 08:05:38 pm »

If you have access to the database, can you go into the config table, and turn the debug on?
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

erikas

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 7
    • eriko.nuotraukos.com
Re: cant upgrade from 1.2.1 to 1.3
« Reply #14 on: June 12, 2004, 08:22:20 pm »

this is a copy of update.php - http://erikas.hakeris.lt/upgrade.htm

and then error message:

***********
Warning: Undefined index: user_group_list in /home/erikas/www/include/init.inc.php on line 273
Fatal error :
There was an error while processing a database
***********



Are you getting any error message?

What exactly happened when you ran the upgrade.php?  Did you get a page telling you things had been done?  

Can you give a link?
Logged

sillygoat2

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: cant upgrade from 1.2.1 to 1.3
« Reply #15 on: June 12, 2004, 08:28:44 pm »

Well, I turned on debug, here's the output:

While executing query "SELECT extension, mime, content FROM cpg11d_filetypes;" on 0

mySQL error: Table 'sillygoat2.cpg11d_filetypes' doesn't exist

it can be viewed at http://gavin.keiners.com

I turned magic quotes off, that didn't seem to help
Logged

jack

  • VIP
  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 279
Re: cant upgrade from 1.2.1 to 1.3
« Reply #16 on: June 12, 2004, 08:36:00 pm »

@erikas: Can you ensure that the MySQL user in user for Coppermine has CREATE, ALTER, INSERT and DROP drivileges on the database
Logged
Please do not contact me for support directly - instead: post on this board!

sillygoat2

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: cant upgrade from 1.2.1 to 1.3
« Reply #17 on: June 12, 2004, 08:36:01 pm »

After turning off magic quotes and running update about 2 or 3 more times, it finally worked.
The output did work when it finally quit inserting the extra /'s.

Thanks a bunch for your help
Logged

Jon

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: cant upgrade from 1.2.1 to 1.3
« Reply #18 on: June 13, 2004, 10:31:14 pm »

I'm having the same problem.  After I did the upgrade it said that everything had already been done, then when I click the link to continue it goes to the gallery and says critical error: There was an error while processing a database query.  Is there a fix for this, or how should I revert to 1.2.1?

Thanks.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: cant upgrade from 1.2.1 to 1.3
« Reply #19 on: June 14, 2004, 12:46:50 am »

Please turn on debug mode (you may have to do this in the database if you cannot browse to config.php) and post here the debug report.
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
Pages: [1] 2   Go Up
 

Page created in 0.021 seconds with 15 queries.