Upload problem - I get a message indicating and Internal Server Error Upload problem - I get a message indicating and Internal Server Error
 

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

Upload problem - I get a message indicating and Internal Server Error

Started by Gerry, August 18, 2004, 07:07:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Gerry

Thanks in advance for your help.

I used an earlier version successfully with the same service provider.  I deleted all the prior version and installed from scratch.

I reviewed the forum for similar problems. My CHMODs are set to 777.  I have a folder called EDIT within ALBUMS.  I originally used the multi file upload then changed to the single file option with the same results.  The file has been put in the 10001 directiory within the USERPICS directory.

I get the following message after getting the successful upload messag and I click continue:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, advancedsupport@doteasy.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
--------------------------------------------------------------------------------
Apache/1.3.27 Server at www.neworleanslaughs.com Port 80


I set the debug options on I get the following debug info:
USER:
------------------
Array
(
   [ID] => 418ea8c9bea3f7265d874b5d94caa4f2
   [am] => 1
   [liv] => Array
       (
           
  • => 8
               [1] => 7
               [2] => 4
               [3] => 75
               [4] => 112
           )

       [sort] => da
       [uid] => 1
       [search] => ###ridley
       [lap] => 3
    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
       [user_id] => 1
       [user_group] => 1
       [user_active] => YES
       [user_name] => gerry
       [user_password] => ********
       [user_lastvisit] => 2004-08-17 16:54:39
       [user_regdate] => 2004-08-17 16:53:35
       [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 cpg130_filetypes;
       [1] => SELECT * FROM cpg130_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '1da0decc66005603037458de1c82a47a'
       [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)
       [3] => SELECT group_name FROM  cpg130_usergroups WHERE group_id= 1
       [4] => DELETE FROM cpg130_banned WHERE expiry < 1092844513
       [5] => SELECT * FROM cpg130_banned WHERE ip_addr='68.11.94.229' OR ip_addr='68.11.94.229' OR user_id=1
       [6] => SELECT cid, name, description, thumb FROM cpg130_categories WHERE parent = ''  ORDER BY pos
       [7] => SELECT aid FROM cpg130_albums WHERE category>=10000
       [8] => SELECT count(*) FROM cpg130_pictures, cpg130_albums WHERE cpg130_pictures.aid = cpg130_albums.aid AND category >= 10000
       [9] => SELECT cid, name, description, thumb FROM cpg130_categories WHERE parent = '1'  ORDER BY pos
       [10] => SELECT aid FROM cpg130_albums WHERE category = 2
       [11] => SELECT count(*) FROM cpg130_pictures, cpg130_albums WHERE cpg130_pictures.aid = cpg130_albums.aid AND category = 2
       [12] => SELECT count(*) FROM cpg130_albums as a WHERE category = '2'
       [13] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg130_albums as a LEFT JOIN cpg130_pictures as p ON a.thumb=p.pid WHERE category=2 ORDER BY a.pos LIMIT 0,1
       [14] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg130_pictures WHERE aid IN (4) AND approved = 'YES' GROUP BY aid
       [15] => SELECT cid, name, description, thumb FROM cpg130_categories WHERE parent = '2'  ORDER BY pos
       [16] => SELECT aid FROM cpg130_albums WHERE category = 3
       [17] => SELECT count(*) FROM cpg130_pictures, cpg130_albums WHERE cpg130_pictures.aid = cpg130_albums.aid AND category = 3
       [18] => SELECT count(*) FROM cpg130_albums as a WHERE category = '3'
       [19] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg130_albums as a LEFT JOIN cpg130_pictures as p ON a.thumb=p.pid WHERE category=3 ORDER BY a.pos LIMIT 0,1
       [20] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg130_pictures WHERE aid IN (5) AND approved = 'YES' GROUP BY aid
       [21] => SELECT cid, name, description, thumb FROM cpg130_categories WHERE parent = '3'  ORDER BY pos
       [22] => SELECT aid FROM cpg130_albums WHERE category = 4
       [23] => SELECT count(*) FROM cpg130_pictures, cpg130_albums WHERE cpg130_pictures.aid = cpg130_albums.aid AND category = 4
       [24] => SELECT count(*) FROM cpg130_albums as a WHERE category = '4'
       [25] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg130_albums as a LEFT JOIN cpg130_pictures as p ON a.thumb=p.pid WHERE category=4 ORDER BY a.pos LIMIT 0,1
       [26] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg130_pictures WHERE aid IN (6) AND approved = 'YES' GROUP BY aid
       [27] => SELECT cid, name, description, thumb FROM cpg130_categories WHERE parent = '4'  ORDER BY pos
       [28] => SELECT aid FROM cpg130_albums as a WHERE category = '0'
       [29] => SELECT count(*) FROM cpg130_albums as a WHERE category>0
       [30] => SELECT count(*) FROM cpg130_pictures as p LEFT JOIN cpg130_albums as a ON a.aid=p.aid WHERE a.category>=0
       [31] => SELECT count(*) FROM cpg130_comments as c LEFT JOIN cpg130_pictures as p ON c.pid=p.pid LEFT JOIN cpg130_albums as a ON a.aid=p.aid WHERE a.category>=0
       [32] => SELECT count(*) FROM cpg130_categories WHERE 1
       [33] => SELECT sum(hits) FROM cpg130_pictures as p LEFT JOIN cpg130_albums as a ON p.aid=a.aid WHERE a.category>=0
       [34] => SELECT count(*) FROM cpg130_albums as a WHERE category = '0'
       [35] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg130_albums as a LEFT JOIN cpg130_pictures as p ON a.thumb=p.pid WHERE category=0 ORDER BY a.pos LIMIT 0,3
       [36] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg130_pictures WHERE aid IN (1, 2, 3) AND approved = 'YES' GROUP BY aid
       [37] => SELECT COUNT(*) from cpg130_pictures WHERE approved = 'YES' AND aid IN (4,5,6,1,2,3)
       [38] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, aid FROM cpg130_pictures WHERE approved = 'YES' AND aid IN (4,5,6,1,2,3)  ORDER BY RAND() LIMIT 8
       [39] => SELECT COUNT(*) from cpg130_pictures WHERE approved = 'YES' AND aid IN (4,5,6,1,2,3)
       [40] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid,title, caption, owner_id, owner_name, aid FROM cpg130_pictures WHERE approved = 'YES' AND aid IN (4,5,6,1,2,3)  ORDER BY pid DESC  LIMIT 0 ,8
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.3 - 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 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.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 | .:/php/includes:/usr/share/php | .:/php/includes:/usr/share/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 | 60 | 60
    upload_max_filesize | 2M | 2M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 0.66 seconds - 41 queries in 0.431 seconds - Album set : AND aid IN (4,5,6,1,2,3) [/i]

Gerry

Additional info - I did send the message to my host service as directed and here is my PHP info:
phpMyAdmin 2.3.2
MySQL 3.23.58 running on localhost as gerry@localhost


Joachim Müller

An internal server error usually is what it says: it is caused by the server (misconfiguration). You should do as the error message suggests and take a look into the server logs. Make sure the file is not corrupt and that you have uploaded it using the proper ftp mode. To mnake that sure, get a fresh copy of the coppermine package and re-upload the file in question.
Please post a link and test user account (non-admin) with upload privileges as well so we can test.

GauGau

Gerry

www.neworleanslaughs.com/ml

userid & pw  test/test

how can I identify the possible corrupt file?

I'm going to resend my message to the ISP

thanks


Gerry

Problem resolved - I tried a smaller picture and it ran ok - the ones that I was trying were smaller than the config value of 1024... about 850 - anyway I compressed them and everything is working fine

thanks
gerry

Joachim Müller

The max size limits are only wishfull thinking if your server settings (php.ini and apache.conf, which usually can't be changed by you when webhosted) are set to a lower value. Please find out more on the sticky threads (the ones with pin icons) on this very sub-board.

GauGau