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

Author Topic: What are the chances?  (Read 6675 times)

0 Members and 1 Guest are viewing this topic.

bigfanboy

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
What are the chances?
« on: December 30, 2006, 12:20:57 am »

I am having serious issues with an upgrade I did from 1.3.3 to 1.4.10. I have been getting some advice but no luck getting it work as of yet.

I have done a clean install to a new subdomain and this new install seems to work fine. I can create users and groups and upload tons of pics. (which was the first issue I ran into, and upload of any kind and way used would hose the whole site, and not upload the pics to boot).

Anyway I know the issue is not with 1.4.10 clean, I have run the upgrade from 1.3.3 to 1.4.10 so the DB might be good. What are the odds I can drop a fresh blank 1.4.10 on disk, delete the install.php change the config.inc.php file so it matches my DB settings, ove the albums dir over and have it work right?

Thoughts?

Big
« Last Edit: January 01, 2007, 02:54:07 pm by Nibbler »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: What are the chances?
« Reply #1 on: December 30, 2006, 09:52:01 am »

Upgrade as suggested in the docs, then post what errors you have with the upgrade. Let's then look into those issues together.
Logged

bigfanboy

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: What are the chances?
« Reply #2 on: December 30, 2006, 02:05:25 pm »

I had no errors on the upgrade but I cannot ceate new users. Well I can but then they cannot log in.

http://todd.my-familypics.com.

Also I cannot get to the categories admin menu, I always get a 400

Big
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: What are the chances?
« Reply #3 on: December 30, 2006, 02:13:33 pm »

What's a "400"? Post the exact error message you get when accessing http://todd.my-familypics.com/catmgr.php

I tried to register as a new user on your page, which led to the error message
Quote
While executing query "INSERT INTO cpg133_users (user_regdate, user_active, user_actkey, user_name, user_password, user_email, user_profile1, user_profile2, user_profile3, user_profile4, user_profile5, user_profile6) VALUES (NOW(), 'NO', '81e809742ac69e48b3bb63a94362f9aa', 'tester', '1234', 'mail@gaugau.de', '', '', '', '', '', '')" on 0

mySQL error: Duplicate entry '0' for key 1
, which indicates that the user_id column is not set to auto-increment. Use phpMyAdmin and set user_id to auto-increment.
Logged

bigfanboy

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: What are the chances?
« Reply #4 on: December 31, 2006, 05:12:36 pm »

OK I set the uder_id in the users table to autoincrement and now new users can be created.

But I still get the HTML server error 400 when I try to go to catmgr

this is the text of the error that come back from the server

INTERNAL SERVER ERROR

An internal server error has occured!
Please try again later.

Logged

bigfanboy

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: What are the chances?
« Reply #5 on: December 31, 2006, 05:14:26 pm »

What other fields should be autoincrement but the way because none are.

Logged

Nibbler

  • Guest
Re: What are the chances?
« Reply #6 on: December 31, 2006, 05:20:44 pm »

Check sql/schema.sql. That 400 error is probably a security measure by your webhost. Try renaming the file.
Logged

bigfanboy

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: What are the chances?
« Reply #7 on: January 01, 2007, 03:59:51 am »

Check sql/schema.sql. That 400 error is probably a security measure by your webhost. Try renaming the file.

Can you give me more info into what you are suggesting?

I looked at schemas.sql to tell which tables are autoincrement, but none show that setting.

Then the question is try renaming what file? sql/schema.sql?

Logged

bigfanboy

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: What are the chances?
« Reply #8 on: January 01, 2007, 04:01:41 am »

I was wrong about the auto_increment I was looking for autoincrment no _ I will make the needed changes.
Logged

bigfanboy

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: What are the chances?
« Reply #9 on: January 01, 2007, 04:08:35 am »

OK I added auto_increment to all the tables that needed it. For some reason only a few had this setting. I can now get to the categories mgr page.

My next test will be to upload a new pic to the site. I will use the trouble shooting link I was given in a previous topic, when my challenges first started.

If you want to call this one solved or move it to the "can't upload" Cat is up to you.

if I see it as solved and still have upload issues I will open a new topic.

Thanks For you help so far
Logged

bigfanboy

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: What are the chances?
« Reply #10 on: January 01, 2007, 04:12:09 am »

I followed all the directions, now when I try and upload a file I get this error

No file was uploaded !

If you have really selected a file to upload, check that the server allows file uploads...

File: /homepages/31/d186234617/htdocs/my-familypics.com/todd.my-familypics.com/db_input.php - Line: 311

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: What are the chances?
« Reply #11 on: January 02, 2007, 07:04:01 am »

if I see it as solved and still have upload issues I will open a new topic.
Do so. Read the upload troubleshooting section of the docs and do exactly as suggested there. Closing, locking.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.