Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1] 2   Go Down

Author Topic: Database in upgrade  (Read 9765 times)

0 Members and 1 Guest are viewing this topic.

CGPhotos

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 64
Database in upgrade
« on: October 05, 2006, 10:04:44 pm »

I imported my database from my 1.3.3 version to my 1.4.9 and everything works except no new users can register.  Where do  I need to change the script?  My user tables begin with cpg133
« Last Edit: October 09, 2006, 03:49:12 pm by Sami »
Logged

Nibbler

  • Guest
Re: Database in upgrade
« Reply #1 on: October 05, 2006, 10:06:13 pm »

Have you enabled user registration in config ?
Logged

CGPhotos

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 64
Re: Database in upgrade
« Reply #2 on: October 05, 2006, 10:12:48 pm »

Yes and when I try to add a user in admin I also get "There was an error while processing a database query"
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Database in upgrade
« Reply #3 on: October 05, 2006, 11:10:54 pm »

Then enable debug_mode to see the actual error message (the query that fails). Do not post debug_output, but just the error message.
Logged

CGPhotos

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 64
Re: Database in upgrade
« Reply #4 on: October 06, 2006, 03:29:23 am »

I went to set to debug and accidentally hit reset to default....how can I fix this?
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Database in upgrade
« Reply #5 on: October 06, 2006, 07:05:37 am »

You can't !
how did you do that it'll prompt you for sure

But you didn't loss anything except any custom file-type defined and any bridge information
You should set all other config setting again

Or you could reastore your old db backup again if you don't change anything after last reastore
Logged
‍I don't answer to PM with support question
Please post your issue to related board

CGPhotos

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 64
Re: Database in upgrade
« Reply #6 on: October 06, 2006, 02:28:50 pm »

It did not prompt!!  one click and POOF Gone!!!  Up again....here is the info from debug:

"There was an error while processing a database query" and the first line in the debug box says:
While executing query "UPDATE cpg133..." then all the info
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Database in upgrade
« Reply #7 on: October 06, 2006, 02:34:21 pm »

"UPDATE cpg133..." then all the info

That all info is the actual error message. Do as suggested and post complete error message.
Logged
Chief Geek at Ranium Systems

CGPhotos

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 64
Re: Database in upgrade
« Reply #8 on: October 06, 2006, 02:41:10 pm »

Then enable debug_mode to see the actual error message (the query that fails). Do not post debug_output, but just the error message.

I am not sure what exactly is requested from this post  Do you want everything in the debug box or not?
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Database in upgrade
« Reply #9 on: October 06, 2006, 05:20:45 pm »

No we are just looking for the complete string after
Quote
UPDATE cpg133
Logged
‍I don't answer to PM with support question
Please post your issue to related board

CGPhotos

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 64
Re: Database in upgrade
« Reply #10 on: October 06, 2006, 06:57:07 pm »

While executing query "UPDATE cpg133_users SET user_name = 'test', user_email = 'carin@caringlaser.com', user_active = 'YES', user_group = '2', user_profile1 = 'USA', user_profile2 = 'Team 1', user_profile3 = 'NA', user_profile4 = '', user_profile5 = '', user_profile6 = '', user_group_list = '', user_password = 'test1' WHERE user_id = '16'" on 0

mySQL error: Unknown column 'user_profile1' in 'field list'
Logged

Nibbler

  • Guest
Re: Database in upgrade
« Reply #11 on: October 06, 2006, 07:00:57 pm »

Did you run update.php?
Logged

CGPhotos

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 64
Re: Database in upgrade
« Reply #12 on: October 06, 2006, 07:07:42 pm »

Yes I did thats how all the albums and users got to this server with the updated version.  Do I need to do it again?
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Database in upgrade
« Reply #13 on: October 08, 2006, 06:04:57 am »

yes do it agian ...
Logged
‍I don't answer to PM with support question
Please post your issue to related board

CGPhotos

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 64
Re: Database in upgrade
« Reply #14 on: October 09, 2006, 02:57:06 am »

I did it again and still cant do new users
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Database in upgrade
« Reply #15 on: October 09, 2006, 05:47:43 am »

- Post a link to you gallery
- Re-upload sql/basic.sql
- run update.php again
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Database in upgrade
« Reply #16 on: October 09, 2006, 10:56:01 am »

ands make sure your mysql user (you're using for cpg) has the rights to ALTER tables

CGPhotos

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 64
Re: Database in upgrade
« Reply #17 on: October 09, 2006, 01:49:40 pm »

1.  http://www.caringlaserphotography.com/coppermine/index.php
2.  I re uploaded the basic sql
3.  I rerean phpupdate and when I viewed the files I founf the oly thing wrong is I am missing this:
"albums/edit/no_FTP-uploads_into_this_folder!"
Logged

CGPhotos

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 64
Re: Database in upgrade
« Reply #18 on: October 09, 2006, 01:50:35 pm »

ands make sure your mysql user (you're using for cpg) has the rights to ALTER tables

I am not sure how to do this
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Database in upgrade
« Reply #19 on: October 09, 2006, 02:24:20 pm »

Your registration is fine and it's working !
I've already register a user "sami"
but you have miss configuration
- Your admin email is :you@somewhere.com (This way all activation mail goes to junk mail for sure)
- You didn't set the correct url for your gallery (this way all activation URL goes to sourceforge.net instead of your gallery)
Logged
‍I don't answer to PM with support question
Please post your issue to related board
Pages: [1] 2   Go Up
 

Page created in 0.022 seconds with 19 queries.