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: Can't delete an album.  (Read 3937 times)

0 Members and 1 Guest are viewing this topic.

goahed

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Can't delete an album.
« on: September 30, 2004, 12:48:15 am »

I selected Delete to remove a large album with over 700 files in it. When it came back it still had 275 items listed but the original files were gone. Now I can't seem to egt the album to delete. Here is the message:
Quote
USER:
------------------
Array
(
    [ID] => 2b22cbda2cdc5e9a33a7e18558f20bee
    [am] => 1
    [liv] => Array
        (
           
  • => 1033
  • [1] => 1067
                [2] => 1092
                [3] => 1168
                [4] => 1133
            )

       
[uid] => 2
    [lap] => 2
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 2
    [user_group] => 2
    [user_active] => YES
    [user_name] =>
    [user_password] => ********
    [user_lastvisit] => 2004-09-29 08:54:14
    [user_regdate] => 2004-07-27 17:38:14
    [user_group_list] => 1
    [user_email] =>
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [disk_max] => 1024
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Registered
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 2
    [groups] => Array
        (
           
  • => 1
  • [1] => 2
            )

    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content FROM cpg130_filetypes;
  • [1] => SELECT * FROM cpg130_users WHERE user_id='2'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = 'afd8b09088df90713c6dc37af7fcbc58'
        [2] => 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 cpg130_usergroups WHERE group_id in (1,2)
        [3] => SELECT group_name FROM  cpg130_usergroups WHERE group_id= 2
        [4] => DELETE FROM cpg130_banned WHERE expiry < 1096497344
        [5] => SELECT * FROM cpg130_banned WHERE ip_addr='65.66.30.163' OR ip_addr='65.66.30.163' OR user_id=2
        [6] => UPDATE cpg130_albums SET pos='100' WHERE aid='5'  LIMIT 1
        [7] => UPDATE cpg130_albums SET pos='101' WHERE aid='4'  LIMIT 1
        [8] => UPDATE cpg130_albums SET pos='102' WHERE aid='9'  LIMIT 1
        [9] => UPDATE cpg130_albums SET pos='103' WHERE aid='10'  LIMIT 1
        [10] => UPDATE cpg130_albums SET pos='104' WHERE aid='11'  LIMIT 1
        [11] => UPDATE cpg130_albums SET pos='105' WHERE aid='12'  LIMIT 1
        [12] => UPDATE cpg130_albums SET pos='106' WHERE aid='14'  LIMIT 1
        [13] => UPDATE cpg130_albums SET pos='107' WHERE aid='15'  LIMIT 1
        [14] => UPDATE cpg130_albums SET pos='108' WHERE aid='16'  LIMIT 1
        [15] => UPDATE cpg130_albums SET pos='109' WHERE aid='19'  LIMIT 1
        [16] => UPDATE cpg130_albums SET pos='110' WHERE aid='18'  LIMIT 1
        [17] => UPDATE cpg130_albums SET pos='111' WHERE aid='17'  LIMIT 1
        [18] => UPDATE cpg130_albums SET pos='112' WHERE aid='2'  LIMIT 1
        [19] => UPDATE cpg130_albums SET pos='113' WHERE aid='3'  LIMIT 1
        [20] => UPDATE cpg130_albums SET pos='114' WHERE aid='6'  LIMIT 1
        [21] => UPDATE cpg130_albums SET pos='115' WHERE aid='8'  LIMIT 1
        [22] => UPDATE cpg130_albums SET pos='116' WHERE aid='1'  LIMIT 1
        [23] => SELECT title, category FROM cpg130_albums WHERE aid ='1'
        [24] => SELECT pid FROM cpg130_pictures WHERE aid='1'
        [25] => SELECT aid, filepath, filename FROM cpg130_pictures WHERE pid='804'
    )

    ==========================
    GET :
    ------------------
    Array
    (
       
[what] => albmgr
)

==========================
POST :
------------------
Array
(
    [delete_album] => 1,
    [sort_order] => 5@100,4@101,9@102,10@103,11@104,12@105,14@106,15@107,16@108,19@109,18@110,17@111,2@112,3@113,6@114,8@115,1@116,
    [cat] => 2
    [to] => Array
        (
           
  • => album_no=8,album_nm=\'09-26-2004 Shoot - Pick-up Alley Shots & Parking Garage\',album_sort=115,action=0

        )

    [album_nm] => 09-26-2004 Shoot - Pick-up Alley Shots & Parking Garage
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.4 - OK
------------------
mySQL version: 3.23.58
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0.15 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
==========================
Module: mysql
------------------
Active Persistent Links 2
Active Links 3
Client API version 3.23.58
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.3
Linked Version 1.1.4
==========================
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/local/lib/php | .:/usr/local/lib/php
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 | 60 | 60
max_input_time | -1 | -1
upload_max_filesize | 5M | 5M
post_max_size | 16M | 16M
==========================
Page generated in 0.529 seconds - 26 queries in 0.047 seconds - Album set :
« Last Edit: September 30, 2004, 12:56:17 am by Casper »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Can't delete an album.
« Reply #1 on: September 30, 2004, 07:09:06 am »

that's the debug_output. What actual error message do you get?

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.