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: Problem with "Batch add files"  (Read 4306 times)

0 Members and 1 Guest are viewing this topic.

pioneer2k

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Problem with "Batch add files"
« on: August 27, 2006, 01:20:47 pm »

Hi

I have succesfully used batch add files many times but now I have a problem.

When I've uploaded my images via FTP in ALBUMS as usually I can't find my folder under batch add files.

Its a bit strange because I've used this function quite a lot of times and then this happens.

How can I solve this problem?

Kind Rgards Allan/DK
Logged

pioneer2k

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Problem with "Batch add files"
« Reply #1 on: August 27, 2006, 01:44:28 pm »

UPDATE:

Now I did exactly what it says in "4.11.4 Upload troubleshooting" (I read it VERY carefully)

The problem is that it doesn't come out with an error message because I'm not able to choose my directory.

Here is my page http://www.dtmpower.dk

Please help someone  ???

Allan
Logged

pioneer2k

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Problem with "Batch add files"
« Reply #2 on: August 27, 2006, 01:58:22 pm »

Here are the debug output when I enter "batch add files"

USER:
------------------
Array
(
    [ID] => ff49cb90e13f508e4d50e76ada0e91db
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => pioneer2k
    [groups] => Array
        (
           
  • => 1

        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 0
    [ufc_min] => 0
    [custom_user_upload] => 0
    [num_file_upload] => 1
    [num_URI_upload] => 0
    [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] => Administrators
    [upload_form_config] => 0
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content, player FROM cpg143_filetypes; (0s)
  • [1] => select * from cpg143_plugins order by priority asc; (0s)
        [2] => delete from `bmwzone_dk`.cpg143_sessions where time<1156675118 and remember=0; (0s)
        [3] => delete from `bmwzone_dk`.cpg143_sessions where time<1155469118; (0s)
        [4] => select user_id from `bmwzone_dk`.cpg143_sessions where session_id=md5("13a65362f591826fbfcebb1e6c9de013da16cf3418db97e1b7cb4b80833a0af7"); (0s)
        [5] => select user_id as id, user_password as password from `bmwzone_dk`.cpg143_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 `bmwzone_dk`.cpg143_users AS u INNER JOIN `bmwzone_dk`.cpg143_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
        [7] => SELECT user_group_list FROM `bmwzone_dk`.cpg143_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 cpg143_usergroups WHERE group_id in (1) (0.001s)
        [9] => SELECT group_name FROM  cpg143_usergroups WHERE group_id= 1 (0s)
        [10] => update `bmwzone_dk`.cpg143_sessions set time='1156678718' where session_id=md5('13a65362f591826fbfcebb1e6c9de013da16cf3418db97e1b7cb4b80833a0af7'); (0s)
        [11] => SELECT user_favpics FROM cpg143_favpics WHERE user_id = 1 (0s)
        [12] => DELETE FROM cpg143_banned WHERE expiry < '2006-08-27 12:38:38' (0s)
        [13] => SELECT * FROM cpg143_banned WHERE (ip_addr='80.160.156.54' OR ip_addr='80.160.156.54' OR user_id=1) AND brute_force=0 (0s)
        [14] => SELECT aid, title FROM cpg143_albums WHERE 1 (0.001s)
        [15] => SELECT COUNT(*) FROM cpg143_pictures WHERE approved = 'NO' (0s)
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.4.2 - OK
    ------------------
    mySQL version: 4.1.18-standard-log
    ------------------
    Coppermine version: 1.4.4(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: bundled (2.0.28 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
    XBM Support: 1
    JIS-mapped Japanese Font Support:

    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Active Persistent Links 0
    Active Links 1
    Client API version 5.0.21
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /var/lib/mysql/mysql.sock
    MYSQL_INCLUDE -I/usr/include/mysql
    MYSQL_LIBS -L/usr/lib -lmysqlclient 
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.1.4
    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-4.4.2/lib/php | .:/usr/local/lib/php-4.4.2/lib/php
    open_basedir | no value | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | wwwuser@cgi.yourhostingaccount.com | wwwuser@cgi.yourhostingaccount.com
    sendmail_path | /usr/sbin/sendmail -t -i  | /usr/sbin/sendmail -t -i
    SMTP | mail.yourhostingaccount.com | mail.yourhostingaccount.com
    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 | 10M | 10M
    post_max_size | 11M | 11M
    ==========================
    Page generated in 2.369 seconds - 16 queries in 0.003 seconds - Album set : ; Meta set: ;
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem with "Batch add files"
« Reply #3 on: August 27, 2006, 10:25:51 pm »

I can tell you read it extra carefully ::), particularly the passages
Quote
When asking for support on the coppermine forum, post a link to your site and a test user account
You paid particular attention to
Quote
Do not post debug_output unless requested.
as well...
Logged

pioneer2k

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Problem with "Batch add files"
« Reply #4 on: August 27, 2006, 10:42:43 pm »

I can tell you read it extra carefully ::), particularly the passages You paid particular attention toas well...

I just thougt this was an support forum??? ???

Can you help me?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem with "Batch add files"
« Reply #5 on: August 27, 2006, 10:45:24 pm »

If you do as suggested: yes. Otherwise: no!
Logged

pioneer2k

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Problem with "Batch add files"
« Reply #6 on: August 27, 2006, 11:30:05 pm »

If you do as suggested: yes. Otherwise: no!

You see now I have a problem.

I've already posted the debug mode... So its a little difficult for me to pull it back  :)

What do you want me to do now?

Allan
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem with "Batch add files"
« Reply #7 on: August 27, 2006, 11:41:54 pm »

You're suppossed to do exactly as suggested in the docs and as I have told you already on this thread: post a non-admin test user account.
I'm fed up with this sort of meta support, having to repeat things over and over, so I'm out of this thread anyway.
Logged

pioneer2k

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Problem with "Batch add files"
« Reply #8 on: August 28, 2006, 12:33:47 am »

Here are the debug mode for the test user. The problem with my admin user occours when I'm trying to use batch add files. This debug mode is copied from upload file. Just don't know if this makes any differnece.

Hope you can see anything out of this

USER:
------------------
Array
(
    [ID] => ff49cb90e13f508e4d50e76ada0e91db
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 4
    [user_name] => pioneerdk06
    [groups] => Array
        (
           
  • => 2

        )

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

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content, player FROM cpg143_filetypes; (0s)
  • [1] => select * from cpg143_plugins order by priority asc; (0s)
        [2] => delete from `bmwzone_dk`.cpg143_sessions where time<1156714244 and remember=0; (0s)
        [3] => delete from `bmwzone_dk`.cpg143_sessions where time<1155508244; (0s)
        [4] => select user_id from `bmwzone_dk`.cpg143_sessions where session_id=md5("13a65362f591826fbfcebb1e6c9de013da16cf3418db97e1b7cb4b80833a0af7"); (0s)
        [5] => select user_id as id, user_password as password from `bmwzone_dk`.cpg143_users where user_id=4 (0.002s)
        [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 `bmwzone_dk`.cpg143_users AS u INNER JOIN `bmwzone_dk`.cpg143_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='4' (0s)
        [7] => SELECT user_group_list FROM `bmwzone_dk`.cpg143_users AS u WHERE user_id='4' 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 cpg143_usergroups WHERE group_id in (2) (0s)
        [9] => SELECT group_name FROM  cpg143_usergroups WHERE group_id= 2 (0s)
        [10] => update `bmwzone_dk`.cpg143_sessions set time='1156717844' where session_id=md5('13a65362f591826fbfcebb1e6c9de013da16cf3418db97e1b7cb4b80833a0af7'); (0s)
        [11] => SELECT user_favpics FROM cpg143_favpics WHERE user_id = 4 (0.003s)
        [12] => DELETE FROM cpg143_banned WHERE expiry < '2006-08-27 23:30:44' (0s)
        [13] => SELECT * FROM cpg143_banned WHERE (ip_addr='80.160.156.54' OR ip_addr='80.160.156.54' OR user_id=4) AND brute_force=0 (0.001s)
        [14] => SELECT aid, title FROM cpg143_albums WHERE category < 10000 AND uploads='YES' AND (visibility = '0' OR visibility IN (2)) ORDER BY title (0.004s)
        [15] => SELECT aid, title FROM cpg143_albums WHERE category='10004' ORDER BY title (0.002s)
    )

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

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

    ==========================
    Page generated in 0.393 seconds - 16 queries in 0.012 seconds - Album set : ; Meta set: ;
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem with "Batch add files"
« Reply #9 on: August 28, 2006, 12:37:58 am »

Stop it, will you? You're not suppossed to post debug_output unless a supporter explicitely asks you to do so. For the last time: re-read the upload troubleshooting section extra, extra carefully and do exactly (!!!!) as suggested.
Logged
Pages: [1]   Go Up
 

Page created in 0.048 seconds with 19 queries.