Cpg upgrade from cpg134 Cpg upgrade from cpg134
 

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

Main Menu

Cpg upgrade from cpg134

Started by PJ_56, February 14, 2007, 09:24:55 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

PJ_56

I applie modification on cpg 134 to upgrade in 1410.
When i launch my gallery, ve got this error :

While executing query "SELECT user_favpics FROM cpg134_favpics WHERE user_id = 1" on 0
mySQL error: Table 'cpg.cpg134_favpics' doesn't exist

What can i do ?


Here are debug information :

USER:
------------------
Array
(
    [ID] => d7fa19ec0193043b614f1eb018ceb33c
    [am] => 1
    [theme] => Groupe_GLON
    [lang] => french
    [liv] => Array
        (
            [0] => 1
            [1] => 692
            [2] => 126
            [3] => 127
            [4] => 693
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => admin
    [groups] => Array
        (
            [0] => 1
        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 1
    [ufc_min] => 1
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 1
    [can_post_comments] => 0
    [can_upload_pictures] => 1
    [can_create_albums] => 0
    [has_admin_access] => 1
    [pub_upl_need_approval] => 1
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 1
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg134_filetypes; (0.001s)
    [1] => select * from cpg134_plugins order by priority asc; (0.002s)
    [2] => delete from `cpg`.cpg134_sessions where time<1171437448 and remember=0; (0.003s)
    [3] => delete from `cpg`.cpg134_sessions where time<1170231448; (0s)
    [4] => select user_id from `cpg`.cpg134_sessions where session_id=md5("004fe4e3807f33a2de28a9cde5a15dcd354f2e3602def34b4933d3b43f416a41"); (0s)
    [5] => select user_id as id, user_password as password from `cpg`.cpg134_users where user_id=1 (0s)
    [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `cpg`.cpg134_users AS u INNER JOIN `cpg`.cpg134_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
    [7] => SELECT user_group_list FROM `cpg`.cpg134_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
    [8] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg134_usergroups WHERE group_id in (1) (0.001s)
    [9] => SELECT group_name FROM  cpg134_usergroups WHERE group_id= 1 (0s)
    [10] => update `cpg`.cpg134_sessions set time='1171441048' where session_id=md5('004fe4e3807f33a2de28a9cde5a15dcd354f2e3602def34b4933d3b43f416a41'); (0s)
    [11] => SELECT user_favpics FROM cpg134_favpics WHERE user_id = 1 (0.001s)
)

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

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

==========================
VERSION INFO :
------------------
PHP version: 5.1.4 - OK
------------------
mySQL version: 5.0.22-community-nt
------------------
Coppermine version: 1.4.10(stable)
==========================
Module: gd
------------------
module doesn't exist
==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.22
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3
==========================
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 | .;d:\php\includes | .;d:\php\includes
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | Stg-Sv-Web-Ts1@sanders.fr | Stg-Sv-Web-Ts1@sanders.fr
sendmail_path | no value | no value
SMTP | 142.187.65.10 | 142.187.65.10
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | 60 | 60
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.177 seconds - 12 queries in 0.009 seconds - Album set : ; Meta set: ;

Stramm

Have you read the upgrade documentation? http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#13

It's necessary to follow these instructions and especially run update.php
QuoteRun the file "update.php" in the coppermine directory once in your browser (e.g. http://yourdomain.tld/coppermine/update.php). This will update your coppermine install by making all necessary changes in the database.

PJ_56

yes ! i follow the instruction correctly.
This table doesn't exist

Stramm

Quote from: Stramm on February 14, 2007, 09:59:09 AM
It's necessary to follow these instructions and especially run update.php

you did that too?

and a link to your gallery is always helpful

PJ_56


Joachim Müller

Then do as Stramm suggested
Quote from: Stramm on February 14, 2007, 10:14:46 AM
and a link to your gallery is always helpful
and post a link to your coppermine-driven gallery ::)

Make sure that your mysql user has the privilege to create tables.