Problem with batch adding photos... thumbnails missing, but there - FIXED HERE Problem with batch adding photos... thumbnails missing, but there - FIXED HERE
 

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

Problem with batch adding photos... thumbnails missing, but there - FIXED HERE

Started by vuud, December 05, 2004, 09:12:01 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vuud

My web site was wiped entirely recently so I have been rebuilding it from the ashes.  I had coppermine working for a long time on there, but have just done a completely fresh install (new download 1.3.2 and new database and all).  Everything seems to work fine with the whole thing in general except this.

I've uploaded to a new directiory albums/2004_12_05 a number of photos (100-200K each about 65 of them).  When I do the batch add files, it lets me click on the directory, and lists all the files in that directory.  But then it spins for a bit without showing any thumbnails.  I get a large number of these in debug mode:

Notice: Undefined variable: fullimagesize in /home/virtual/site13/fst/var/www/html/photos/searchnew.php on line 136
Notice: Undefined variable: fullimagesize in /home/virtual/site13/fst/var/www/html/photos/searchnew.php on line 137

(one set per each photo)

The thumbnails link like so: http://www.fistfullofcode.com/photos/showthumb.php?picfile=2004_12_06%2FKitties007.jpg&size=48

Then, I can select the images and insert them into an album
The results screen spins, but only gives me broken icon images where it would say OK, etc, etc... 

The image location and link locations on these are strangely the same:
http://www.fistfullofcode.com/photos/addpic.php?aid=17&pic_file=MjAwNF8xMl8wNi9LaXR0aWVzMDA3LmpwZw==&reload=41b2c260a1d01

Then, just to piss me off - it adds the images and thumbnails flawlessly.  If I go back into batch add it shows the thumbnails now.

I've not had this problem before.  Although I am with the same hosting service, I am on a new server with GD2 (the only difference I know for sure)

What else can I provide to help!?!?!

I dont think that has anything to do with it, but I also get
Notice: Undefined variable: meta_keywords in /home/virtual/site13/fst/var/www/html/photos/displayimage.php on line 632

When I go to the intermediary page

(I am running the classic theme till this problem is fixed)

Thanks!

Update:

I tried doing a photo the normal (upload via the web page) and it works fine there... shows the preview and all.

Nothing else I have tried has helped.

Update 2:

I have also checked and the memory limit is 8MB which some have said causes some problems.  Although I tried a batch upload of only two images (of about 150K each) and it had the exact same symptoms

I have also tried changing the encoding back to ISO and away from UTF-8 using in another post.  If I view image on the missing thumbnails, I get a message saying the thumbnail contains invalu




Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

vuud


Thus is the debug information from coppermine.

USER:
------------------
Array
(
    [ID] => 9332d4256d5d18fb8461cb4add1b1855
    [am] => 1
    [lang] => english-utf-8
    [liv] => Array
        (
           
  • => 70
                [1] => 82
                [2] => 69
                [3] => 12
                [4] => 80
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 1
        [user_group] => 1
        [user_active] => YES
        [user_name] => adminZero
        [user_password] => ********
        [user_lastvisit] => 2004-12-05 06:11:59
        [user_regdate] => 2004-12-05 06:04:22
        [user_group_list] =>
        [user_email] =>
        [user_website] =>
        [user_location] =>
        [user_interests] =>
        [user_occupation] =>
        [user_actkey] =>
        [disk_max] => 0
        [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] => Administrators
        [upload_form_config] => 3
        [group_quota] => 0
        [can_see_all_albums] => 1
        [group_id] => 1
        [groups] => Array
            (
                [1] => 1
            )

    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content FROM cpg132_filetypes;
        [1] => SELECT * FROM cpg132_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = 'fca8430bc491df740d8561781cf00f78'
        [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 cpg132_usergroups WHERE group_id in (1)
        [3] => SELECT group_name FROM  cpg132_usergroups WHERE group_id= 1
        [4] => DELETE FROM cpg132_banned WHERE expiry < 1102292894
        [5] => SELECT * FROM cpg132_banned WHERE ip_addr='68.15.62.138' OR ip_addr='192.168.0.198' OR user_id=1
        [6] => SELECT filepath, filename FROM cpg132_pictures WHERE filepath LIKE '2004_12_06%'
        [7] => SELECT aid, title FROM cpg132_albums WHERE category = 0 ORDER BY title
        [8] => SELECT DISTINCT a.aid as aid, a.title as title, c.name as cname FROM cpg132_albums as a, cpg132_categories as c WHERE a.category = c.cid AND a.category < '10000' ORDER BY cname,title
        [9] => SELECT aid, CONCAT('(', user_name, ') ', title) AS title FROM cpg132_albums AS a INNER JOIN cpg132_users AS u ON category = (10000 + user_id) ORDER BY title
    )

    ==========================
    GET :
    ------------------
    Array
    (
        [startdir] => 2004_12_06
    )

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.3 - OK
    ------------------
    mySQL version: 3.23.58
    ------------------
    Coppermine version: 1.3.2
    ==========================
    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 0
    Active Links 1
    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.4
    Linked Version 1.1.4
    ==========================
    Server restrictions (safe mode)?
    ------------------
    Directive | Local Value | Master Value
    safe_mode | On | On
    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/pear | .:/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 -f webmaster@fistfullofcode.com | /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 | 60 | 60
    upload_max_filesize | 2M | 2M
    post_max_size | 2M | 2M
    ==========================
    Page generated in 0.222 seconds - 10 queries in 0.01 seconds - Album set :
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

vuud

So I was playing some more and noticed some strange characters in the upper left of the window.  There was so much other stuff floating around in debug mode (this not declared, this not found, etc) that I missed them.  Did some research and noticed there were known problems with UTF-8 and that switching back did not really help. 

I checked my english-utf8 file and sure enough the strange characters were there.  I removed them and it was all good.

The thing is that my system should support UTF-8...  I am running Linux and Firefox. 

Strange, but working now.
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

ddpmacho

I was having the exact same problem as you. I checked my english-utf-8.php file and just before <php, I had smoe weird characters also. I deleted them and now everything works.  ;D  Thanks for sharing your resolution