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: Adding files to albums doesn't work  (Read 14234 times)

0 Members and 1 Guest are viewing this topic.

mikeg

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Adding files to albums doesn't work
« on: October 25, 2010, 02:37:20 pm »

I am running 1.5.8 and trying to batch add files to an album, all get after selecting the album folder and then the album name is a folder with a padlock. After running in debug mod I got this message :-

   
Code: [Select]
display phpinfo Debug Output: show / hide Select All
USER: ------------------ Array ( [ID] => df456229450cb3e4c69e6b292f1a7702 [am] => 1 [lang] => english ) ========================== USER DATA: ------------------ Array ( [user_id] => 1 [user_name] => mike [groups] => Array ( [0] => 1 ) [disk_max] => 0 [disk_min] => 0 [can_rate_pictures] => 1 [can_send_ecards] => 1 [can_post_comments] => 1 [can_upload_pictures] => 1 [can_create_albums] => 1 [has_admin_access] => 1 [access_level] => 3 [pub_upl_need_approval] => 0 [priv_upl_need_approval] => 0 [group_name] => Administrators [group_quota] => 0 [can_see_all_albums] => 1 [group_id] => 1 [allowed_albums] => Array ( ) ) ========================== Queries: ------------------ Array ( [0] => SELECT name, value FROM cpg_config [include/init.inc.php:181] (0 ms) [1] => SELECT * FROM cpg_plugins ORDER BY priority [include/plugin_api.inc.php:54] (0 ms) [2] => SELECT user_id, time FROM `acesky_copp1`.cpg_sessions WHERE session_id = '37245eb66a4d7d98b2d41cad4c11672e' [bridge/coppermine.inc.php:264] (0 ms) [3] => SELECT user_id, user_password FROM `acesky_copp1`.cpg_users WHERE user_id = 1 [bridge/coppermine.inc.php:276] (0 ms) [4] => SELECT u.user_id AS id, u.user_name AS username, user_password AS password, u.user_group AS group_id FROM `acesky_copp1`.cpg_users AS u LEFT JOIN `acesky_copp1`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' [bridge/udb_base.inc.php:70] (0 ms) [5] => SELECT user_group_list FROM `acesky_copp1`.cpg_users AS u WHERE user_id='1' AND user_group_list <> '' [bridge/coppermine.inc.php:202] (0 ms) [6] => 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(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, MAX(access_level) AS access_level, MIN(pub_upl_need_approval) AS pub_upl_need_approval, MIN( priv_upl_need_approval) AS priv_upl_need_approval FROM cpg_usergroups WHERE group_id in (1) [bridge/udb_base.inc.php:321] (0 ms) [7] => SELECT group_name FROM cpg_usergroups WHERE group_id= 1 [bridge/udb_base.inc.php:325] (0 ms) [8] => SELECT lang_id FROM cpg_languages WHERE enabled='YES' [include/init.inc.php:329] (0 ms) [9] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 1 [include/init.inc.php:387] (0 ms) [10] => DELETE FROM cpg_banned WHERE expiry < '2010-10-25 13:27:09' [include/init.inc.php:443] (0 ms) [11] => SELECT null FROM cpg_banned WHERE (user_id=1 OR '79.146.101.171' LIKE ip_addr ) AND brute_force=0 LIMIT 1 [include/init.inc.php:459] (0 ms) [12] => SELECT title, category, keyword FROM cpg_albums WHERE aid = '10' [editpics.php:103] (0 ms) [13] => SELECT aid, title, IF(category = 0, CONCAT('> ', title), CONCAT(name,' < ',title)) AS cat_title FROM cpg_albums LEFT JOIN cpg_categories ON cid = category WHERE category < '10000' ORDER BY cat_title [editpics.php:732] (1 ms) [14] => SELECT aid , title FROM cpg_albums WHERE category = 10001 [editpics.php:694] (0 ms) [15] => SELECT COUNT(*) FROM cpg_pictures WHERE aid = '10' [editpics.php:862] (0 ms) [16] => SELECT p.*,a.category FROM cpg_pictures as p INNER JOIN cpg_albums as a ON a.aid = p.aid WHERE p.aid = '10' ORDER BY p.pid DESC LIMIT 0, 25 [editpics.php:873] (0 ms) [17] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' [include/functions.inc.php:2409] (0 ms) [18] => SELECT lang_id, abbr FROM cpg_languages WHERE available='YES' AND enabled='YES' [include/themes.inc.php:2315] (0 ms) [19] => DELETE FROM cpg_temp_messages WHERE time < 1288006029 [include/functions.inc.php:4911] (0 ms) ) ========================== GET : ------------------ Array ( [album] => 10 ) ========================== POST : ------------------ Array ( ) ========================== COOKIE : ------------------ Array ( [__utma] => 246582932.1318188481.1287486468.1288004284.1288008005.27 [__utmz] => 246582932.1287486468.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none) [f35857ddfcf99d8a2e09d98dc6fda601] => a2941da13fc2154f54f46ca29f4f27bb [__utmc] => 246582932 [logintheme] => cpanel [cprelogin] => no [cpsession] => FfPNoIzNHkSadeID1aNFdX4ODzo3hWdVbmYXeDNGSBUQAifnIoyw_Zq511YEODn7 [__utmb] => 246582932.3.10.1288008005 [coppermine_data] => YTozOntzOjI6IklEIjtzOjMyOiJkZjQ1NjIyOTQ1MGNiM2U0YzY5ZTZiMjkyZjFhNzcwMiI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjt9 [09f485d364ed625a8072fef017b41f90] => e4be9e02f7dba67532a6b898eb028958 ) ========================== VERSION INFO : ------------------ PHP version 5.2.9 OK MySQL version 5.0.91-community OK Coppermine version 1.5.8 stable ========================== Module: GD ------------------ Exact version 2.0.34 GD Version bundled (2.0.34 compatible) FreeType Support 1 FreeType Linkage with freetype T1Lib Support GIF Read Support 1 GIF Create Support 1 JPG Support 1 PNG Support 1 WBMP Support 1 XPM Support 1 XBM Support 1 JIS-mapped Japanese Font Support ========================== Key config settings ------------------ site_url http://www.aceskydiving.co.uk/CMGallery/ charset utf-8 allow_private_albums 1 cookie_name coppermine cookie_path / impath /usr/bin/ lang english main_page_layout breadcrumb/catlist/alblist,2 silly_safe_mode 0 smtp_host theme eyeball thumb_method im ========================== Plugins ------------------ ========================== Server restrictions ------------------ safe_mode safe_mode_exec_dir safe_mode_gid safe_mode_include_dir sql.safe_mode disable_functions system,passthru,exec,popen,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,highlight_file,escapeshellcmd,define_syslog_variables,posix_uname,posix_getpwuid,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,escapeshellarg,posix_uname,ini_alter,ini_restore,inject_code,syslog,openlog,define_syslog_variables,apache_setenv,mysql_pconnect,eval,phpAds_XmlRpc,phpAds_remoteInfo,phpAds_xmlrpcEncode,phpAds_xmlrpcDecode,xmlrpc_entity_decode,fp,fput,shell_exec file_uploads 1 include_path .:/usr/lib/php:/usr/local/lib/php open_basedir /home/acesky:/usr/lib/php:/usr/local/lib/php:/tmp allow_url_fopen 1 max_execution_time 30 max_input_time 60 upload_max_filesize 4M post_max_size 8M memory_limit 184M suhosin.post.max_vars suhosin.request.max_vars ========================== Page (performance) ------------------ Parameter Current Peak Memory usage 2.86 MiB 4.12 MiB Page generation 47 ms 47 ms Page query time 1 ms 1 ms Page query count 20 20 ==========================
Notices
/include/functions.inc.php

    * Notice line 184: Undefined index: dbcharset
    * Warning line 353: Missing argument 3 for cpg_die(), called in /home/acesky/public_html/CMGallery/editpics.php on line 904 and defined
    * Warning line 353: Missing argument 4 for cpg_die(), called in /home/acesky/public_html/CMGallery/editpics.php on line 904 and defined
    * Notice line 411: Undefined variable: error_file
    * Notice line 411: Undefined variable: error_line
« Last Edit: October 29, 2010, 09:04:36 pm by Jeff Bailey »
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Adding files to albums doesn't work
« Reply #1 on: October 29, 2010, 11:47:05 am »

Check the permissions of the files and folder. Moving to upload support board.
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.