Can Not Upload Picture Files Can Not Upload Picture Files
 

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]

Main Menu

Can Not Upload Picture Files

Started by logopolis, September 06, 2005, 11:29:58 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

logopolis

Hi

I need some help with Coppermine. I installed it via Fantastico which came with my webspace provider, Nethosted. I'm unable to upload any files. So far I've uploaded the pictures via FTP to my webspace. I've CHMOD'ed the Albums folder to 777 and the folder within Albums where I have uploaded the pictures to 777 as well.

I've created one category and an album inside it. I get as far as being able to tick which pictures I want to upload and then click Insert Selected Files. But after i do that it says "Please be patient, the script needs time to add the files". No matter how long I wait nothing happens. How long should I be waiting?

I've tried uploading many files at one, and I've tried to upload only one as well. Neither attempt works.

I've included the debug text that I've been asked to below. Hopefully someone can have a look  and advise me what to do next.

I'm pretty new to this. It's the first time I've tried using Coppermine and tried running a PHP bulleting board as well.

Please help me if you can, much appreciated.

Best Regards,
Prakash


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

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => prakash
    [user_password] => ********
    [user_lastvisit] => 2005-09-06 21:59:04
    [user_regdate] => 2005-09-06 20:49:48
    [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] => 0
    [ufc_min] => 0
    [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] => 0
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content FROM cpg_filetypes;
        [1] => SELECT * FROM cpg_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '75d8b43c200dcf6a3b489d3eb3532255'
        [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 cpg_usergroups WHERE group_id in (1)
        [3] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 1
        [4] => DELETE FROM cpg_banned WHERE expiry < '2005-09-06 22:11:12'
        [5] => SELECT * FROM cpg_banned WHERE ip_addr='213.253.17.78' OR ip_addr='213.253.17.78' OR user_id=1
        [6] => SELECT aid, title FROM cpg_albums WHERE 1
    )

    ==========================
    GET :
    ------------------
    Array
    (
        [insert] => 1
    )

    ==========================
    POST :
    ------------------
    Array
    (
        [d0000] => 3
        [pics] => Array
            (
               
  • => i0000
            )

        [album_lb_id_i0000] => d0000
        [picfile_i0000] => eW9naXRhL3NfaW1nXzE3NjYuanBn
        [album_lb_id_i0001] => d0000
        [picfile_i0001] => eW9naXRhL1NfSU1HXzE3NjcuSlBH
        [album_lb_id_i0002] => d0000
        [picfile_i0002] => eW9naXRhL1NfSU1HXzE3NzEuSlBH
        [album_lb_id_i0003] => d0000
        [picfile_i0003] => eW9naXRhL1NfSU1HXzE3NzQuSlBH
        [album_lb_id_i0004] => d0000
        [picfile_i0004] => eW9naXRhL1NfSU1HXzE3NzYuSlBH
        [album_lb_id_i0005] => d0000
        [picfile_i0005] => eW9naXRhL1NfSU1HXzE3NzcuSlBH
        [album_lb_id_i0006] => d0000
        [picfile_i0006] => eW9naXRhL1NfSU1HXzE3ODguSlBH
        [album_lb_id_i0007] => d0000
        [picfile_i0007] => eW9naXRhL1NfSU1HXzE3ODkuSlBH
        [album_lb_id_i0008] => d0000
        [picfile_i0008] => eW9naXRhL1NfSU1HXzE3OTAuSlBH
        [album_lb_id_i0009] => d0000
        [picfile_i0009] => eW9naXRhL1NfSU1HXzE3OTEuSlBH
        [album_lb_id_i0010] => d0000
        [picfile_i0010] => eW9naXRhL1NfSU1HXzE3OTMuSlBH
        [album_lb_id_i0011] => d0000
        [picfile_i0011] => eW9naXRhL1NfSU1HXzE3OTYuSlBH
        [album_lb_id_i0012] => d0000
        [picfile_i0012] => eW9naXRhL1NfSU1HXzE3OTcuSlBH
        [album_lb_id_i0013] => d0000
        [picfile_i0013] => eW9naXRhL1NfSU1HXzE3OTguSlBH
        [album_lb_id_i0014] => d0000
        [picfile_i0014] => eW9naXRhL1NfSU1HXzE4MDIuSlBH
        [album_lb_id_i0015] => d0000
        [picfile_i0015] => eW9naXRhL1NfSU1HXzE4MDMuSlBH
        [album_lb_id_i0016] => d0000
        [picfile_i0016] => eW9naXRhL1NfSU1HXzE4MTAuSlBH
        [album_lb_id_i0017] => d0000
        [picfile_i0017] => eW9naXRhL1NfSU1HXzE4MTEuSlBH
        [album_lb_id_i0018] => d0000
        [picfile_i0018] => eW9naXRhL1NfSU1HXzE4MTUuSlBH
        [album_lb_id_i0019] => d0000
        [picfile_i0019] => eW9naXRhL1NfSU1HXzE4MTguSlBH
        [album_lb_id_i0020] => d0000
        [picfile_i0020] => eW9naXRhL1NfSU1HXzE4MjEuSlBH
        [album_lb_id_i0021] => d0000
        [picfile_i0021] => eW9naXRhL1NfSU1HXzE4MjQuSlBH
        [album_lb_id_i0022] => d0000
        [picfile_i0022] => eW9naXRhL1NfSU1HXzE4MjUuSlBH
        [album_lb_id_i0023] => d0000
        [picfile_i0023] => eW9naXRhL1NfSU1HXzE4MjcuSlBH
        [album_lb_id_i0024] => d0000
        [picfile_i0024] => eW9naXRhL1NfSU1HXzE4MzEuSlBH
        [album_lb_id_i0025] => d0000
        [picfile_i0025] => eW9naXRhL1NfSU1HXzE4MzMuSlBH
        [album_lb_id_i0026] => d0000
        [picfile_i0026] => eW9naXRhL1NfSU1HXzE4MzYuSlBH
        [album_lb_id_i0027] => d0000
        [picfile_i0027] => eW9naXRhL1NfSU1HXzE4NDAuSlBH
        [album_lb_id_i0028] => d0000
        [picfile_i0028] => eW9naXRhL1NfSU1HXzE4NDQuSlBH
        [album_lb_id_i0029] => d0000
        [picfile_i0029] => eW9naXRhL1NfSU1HXzE4NDUuSlBH
        [album_lb_id_i0030] => d0000
        [picfile_i0030] => eW9naXRhL1NfSU1HXzE4NDYuSlBH
        [album_lb_id_i0031] => d0000
        [picfile_i0031] => eW9naXRhL1NfSU1HXzE4NDcuSlBH
        [album_lb_id_i0032] => d0000
        [picfile_i0032] => eW9naXRhL1NfSU1HXzE4NTAuSlBH
        [album_lb_id_i0033] => d0000
        [picfile_i0033] => eW9naXRhL1NfSU1HXzE4NTEuSlBH
        [album_lb_id_i0034] => d0000
        [picfile_i0034] => eW9naXRhL1NfSU1HXzE4NTIuSlBH
        [album_lb_id_i0035] => d0000
        [picfile_i0035] => eW9naXRhL1NfSU1HXzE4NTMuSlBH
        [album_lb_id_i0036] => d0000
        [picfile_i0036] => eW9naXRhL1NfSU1HXzE4NTQuSlBH
        [album_lb_id_i0037] => d0000
        [picfile_i0037] => eW9naXRhL1NfSU1HXzE4NTcuSlBH
        [album_lb_id_i0038] => d0000
        [picfile_i0038] => eW9naXRhL1NfSU1HXzE4NjAuSlBH
        [album_lb_id_i0039] => d0000
        [picfile_i0039] => eW9naXRhL1NfSU1HXzE4NjEuSlBH
        [album_lb_id_i0040] => d0000
        [picfile_i0040] => eW9naXRhL1NfSU1HXzE4NjIuSlBH
        [album_lb_id_i0041] => d0000
        [picfile_i0041] => eW9naXRhL1NfSU1HXzE4NjQuSlBH
        [album_lb_id_i0042] => d0000
        [picfile_i0042] => eW9naXRhL1NfSU1HXzE4NjYuSlBH
        [insert] => Insert selected files
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.11 - OK
    ------------------
    mySQL version: 4.0.25-standard
    ------------------
    Coppermine version: 1.3.3
    ==========================
    Module: gd
    ------------------
    GD Support enabled
    GD Version bundled (2.0.28 compatible)
    FreeType Support enabled
    FreeType Linkage with freetype
    GIF Read Support enabled
    GIF Create 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 4.0.25
    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.2.1.2
    Linked Version 1.2.1.2
    ==========================
    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/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
    open_basedir | no value | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | no value | no value
    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 | 30 | 30
    max_input_time | -1 | -1
    upload_max_filesize | 2M | 2M
    post_max_size | 55M | 55M
    ==========================
    Page generated in 0.019 seconds - 7 queries in 0.001 seconds - Album set :

kegobeer

Just one more reason why Fantastico sucks.  "Please be patient?"  That's not in our version.

I recommend completely removing the Fantastico/Coppermine files and remove the tables from your MySQL database.  Download 1.3.4 from our site, extract it to your computer, read the documentation, then upload the files and perform the installation yourself.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Azrayen

Quote from: kegobeer on September 07, 2005, 02:09:28 AM
"Please be patient?"  That's not in our version.

Hum, Are you sure of that ? I've a standalone 1.3.3 version downloaded from sf.net which says exactly that (little notice, not message box) when batch-adding pictures by the "=>FTP" button.

It doesn't mean Fantastico isn't the problem in that case, just that I think this notice is part of official CPG version.

Regards,
Azy

Joachim Müller

The official coppermine doesn't have a
Quote from: Azy on September 09, 2005, 02:19:18 PM
"=>FTP" button.
either. I think you may be confusing things a bit. Coppermine is not an FTP client.

Nibbler

Just to clarify matters, the official version does have both 'FTP =>' and 'Please be patient, the script needs time to add the files' messages.

Joachim Müller



Azrayen

ahem,

Sorry, Joachim, I didn't take time to have a look on the english admin menu... Nibbler is right, the "Batch add File" button looks like "FTP=>" in french version... :-[

Back to subject : I don't know about Fantastico, so let's say I can't help more here... ???

Azy, over ! ;)

Joachim Müller

OK, this means that the french language file needs editing, as "FTP =>" definitely is wrong, as coppermine is not an ftp uploader.

Azrayen

Well, indeed, translation is technically wrong.

But I can't think of a better translation in french which would be short enough to fit in the available space... If got an idea, I'll post it.

Regards,
Azy

artistsinhawaii

Quote from: Azy on September 09, 2005, 08:33:15 PM

Sorry, Joachim, I didn't take time to have a look on the english admin menu... Nibbler is right, the "Batch add File" button looks like "FTP=>" in french version... :-[


Azy, over ! ;)

My wife who's French says that "Batch" is commonly used in France.  So "Batch +", "Batch Adj+"  or "Batch =>" should be fine.       -- She said it, not me ;-)

Dennis   
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

Joachim Müller

It's the same dilema in German as well, that's why I used the same workaround as suggested by Dennis' wife: I left the English phrase "Batch" and applied the German word for "add" - that's what went into the German translation since cpg1.2.0, so far nobody from the German user community has complained so far. After all, the batch-add feature will be only available for coppermine admins, who are potentially more computer-literate than "regular" users, so I guess we should do as suggested above.

@french community: please confirm or post your alternatives.