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: [Solved]: Upgrade without loss  (Read 9946 times)

0 Members and 1 Guest are viewing this topic.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upgrade without loss
« Reply #20 on: August 17, 2004, 07:13:50 am »

switch debug_mode back on to see what query actually fails. If you have integrated, post your changes in the bridge file (removing your password with asterisks). I have a life, I'm not online all day. Allow days, not hours before bumping!

GauGau
Logged

Zerg

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 52
Re: Upgrade without loss
« Reply #21 on: August 17, 2004, 07:48:52 am »

Ok.

Debug Info

Code: [Select]
While executing query "SELECT cid, name, description, thumb FROM cpg11d_categories WHERE parent = ''  ORDER BY pos" on 0

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

Code: [Select]
USER:
------------------
Array
(
    [ID] => 324dc7bd2f2367fae9f792aed1faee2d
    [am] => 1
    [liv] => Array
        (
            [0] => 656
        )

)

==========================
USER DATA:
------------------
Array
(
    [0] => 1
    [user_id] => 1
    [1] => Sotsirh
    [user_name] => Sotsirh
    [2] => 4
    [mgroup] => 4
    [3] => 4
    [group_id] => 4
    [4] => Fьhrer
    [group_name] => Fьhrer
    [5] => 0
    [group_quota] => 0
    [6] => 0
    [has_admin_access] => 1
    [7] => 1
    [can_rate_pictures] => 1
    [8] => 1
    [can_send_ecards] => 1
    [9] => 1
    [can_post_comments] => 1
    [10] => 1
    [can_upload_pictures] => 1
    [11] => 1
    [can_create_albums] => 1
    [12] => 0
    [pub_upl_need_approval] => 0
    [13] => 0
    [priv_upl_need_approval] => 0
    [groups] => Array
        (
            [0] => 4
        )

    [can_see_all_albums] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content FROM cpg11d_filetypes;
    [1] => SELECT id as user_id, name as user_name, mgroup FROM `gothic`.ibf_members WHERE id='1' AND password='b06ea7f425a3791315eb0cde0591b652'
    [2] => SELECT * FROM cpg11d_usergroups WHERE group_id = '4'
    [3] => DELETE FROM cpg11d_banned WHERE expiry < 1092721273
    [4] => SELECT * FROM cpg11d_banned WHERE ip_addr='82.147.170.172' OR ip_addr='82.147.170.172' OR user_id=1
    [5] => SELECT cid, name, description, thumb FROM cpg11d_categories WHERE parent = ''  ORDER BY pos
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.8 - OK
------------------
mySQL version: 4.0.20-log
------------------
Coppermine version: 1.3.1
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0.23 compatible)
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
==========================
Module: mysql
------------------
Active Persistent Links 1
Active Links 2
Client API version 3.23.49
MYSQL_MODULE_TYPE builtin
MYSQL_SOCKET /var/run/mysqld/mysqld.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.2.1
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/usr/share/php:/usr/share/pear | .:/usr/share/php:/usr/share/pear
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
sendmail_path | /usr/sbin/sendmail -t -i  | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | -1 | -1
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.039 seconds - 6 queries in 0.002 seconds - Album set :
Logged

Zerg

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 52
Re: Upgrade without loss
« Reply #22 on: August 17, 2004, 07:53:18 am »

bridge info
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upgrade without loss
« Reply #23 on: August 17, 2004, 07:55:53 am »

Did you replace the files in the sql folder as well and run update.php after uploading all cpg1.3.1 files? Sounds like you didn't. I ran update.php for you, but no success. Use a database tool like phpMyAdmin and browse the categories table: post the structure here.

GauGau
Logged

Zerg

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 52
Re: Upgrade without loss
« Reply #24 on: August 17, 2004, 08:12:07 am »

Actually I did replace the files in sql folder and did run update.php (everything was "OK" or "Already done" there)

here's browsed categories..
Logged

Zerg

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 52
Re: Upgrade without loss
« Reply #25 on: August 17, 2004, 08:16:36 am »

update..

[attachment deleted by admin]
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upgrade without loss
« Reply #26 on: August 17, 2004, 08:22:27 am »

in phpMyAdmin, try running this query:
Code: [Select]
ALTER TABLE `cpg11d_categories` ADD `thumb` INT NOT NULL AFTER `parent` ;
GauGau
Logged

Zerg

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 52
Re: Upgrade without loss
« Reply #27 on: August 17, 2004, 08:25:24 am »

Quote
MySQL said:

Access denied for user: 'support_got@localhost' to database 'gothic'

guess i need to contact my hosters..
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upgrade without loss
« Reply #28 on: August 17, 2004, 08:27:51 am »

right, your mySQL user doesn't have the necessary permissions to execute an "ALTER" command. After your webhost has granted permissions, make sure to run update.php once more...

GauGau
Logged

Zerg

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 52
Re: Upgrade without loss
« Reply #29 on: August 17, 2004, 08:48:31 am »

ok, that solved the problem. thanks!

there's another one though.. my events gallery appears on the gallery index page now.. while it's not supposed to be there (but only in "Events").. how do i fix it?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upgrade without loss
« Reply #30 on: August 17, 2004, 08:53:50 am »

please start a new thread on the new issue, this one is already cluttered up enough.

GauGau
Logged
Pages: 1 [2]   Go Up
 

Page created in 0.049 seconds with 19 queries.