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

Author Topic: Fatal error, unknown column 'player' after upgrading  (Read 5067 times)

0 Members and 1 Guest are viewing this topic.

utah

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Fatal error, unknown column 'player' after upgrading
« on: March 21, 2006, 08:46:56 pm »

Hey there,

www.77photography.nl/coppermine

Damn, I'm in trouble.. Tried to upgrade from 1.33 both this happened..

After running the upgrade, the following appeared on the screen!
Does this have something to do with CHMOD?

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

mySQL error: Unknown column 'player' in 'field list'

Best regards,

Jasper
« Last Edit: March 21, 2006, 09:40:07 pm by utah »
Logged

Nibbler

  • Guest
Re: Fatal error, unknown column 'player' after upgrading
« Reply #1 on: March 22, 2006, 12:25:07 am »

It's because the db was not updated properly. Ensure your db user has the ALTER privilege and run update.php.
Logged

utah

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Fatal error, unknown column 'player' after upgrading
« Reply #2 on: March 26, 2006, 11:02:16 am »

OK, I've checked the ALTER function and this is OK..
After upgrading I'm still suffering with the same problem..
Logged

Nibbler

  • Guest
Re: Fatal error, unknown column 'player' after upgrading
« Reply #3 on: March 26, 2006, 02:39:44 pm »

Run the query manually instead.

Code: [Select]
ALTER TABLE `cpg133_filetypes` ADD `player` VARCHAR( 5 )
Logged

jenma

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: Fatal error, unknown column 'player' after upgrading
« Reply #4 on: September 17, 2006, 12:13:48 pm »

Please help.  I'm running into the same problem while updating from cpg1.3.0 to 1.4.9.

When I tried to manually add "player" but I get the following error:

SQL query:

ALTER TABLE `cpg130_filetypes` ADD `player` VARCHAR( 5 )

MySQL said: 

#1062 - Duplicate entry 'mid' for key 1

When I click on browse, here's the message:

SQL query: 

SELECT *
FROM `cpg130_filetypes`
WHERE CONCAT_WS( "-", 5 ) = "mid"
ORDER BY 5
LIMIT 0 , 30

MySQL said: 

#1054 - Unknown column '5' in 'order clause'
 
Please help!!
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 15 queries.