Internal Server Error - assigning image to folder. Internal Server Error - assigning image to folder.
 

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

Internal Server Error - assigning image to folder.

Started by hockeypulse, September 07, 2005, 12:46:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hockeypulse

Dear all - i have been using Coppermine 1.3 for a week or so now, with no problems uploading files, or editing albums etc, however yesterday and today i have been unable to upload any more images.

I click on upload file, add my file (only 200kb) - smaller than other images i have already uploaded.
The file is uploaded successfully.
Then it asks to click continue, and on the next page asks me to choose a folder for the image. I select the folder, and click continue, then i get the following error displayed in my browser (firefox 1.0.6)

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, ****@@*****  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.

using coppermine debug mode, this is the debug information on the last page that i can view successfully:

USER:
------------------
Array
(
    [ID] => 64d7c0be981cae30392103f10a3c9bf8
    [am] => 1
    [liv] => Array
        (
           
  • => 16
                [1] => 13
                [2] => 15
                [3] => 17
                [4] => 18
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 1
        [user_group] => 1
        [user_active] => YES
        [user_name] => admin
        [user_password] => ********
        [user_lastvisit] => 2005-09-04 18:10:37
        [user_regdate] => 2005-08-30 00:09:55
        [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 cpg134_filetypes;
        [1] => SELECT * FROM cpg134_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '3c9869055872ebab746d35e956e4aea3'
        [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 cpg134_usergroups WHERE group_id in (1)
        [3] => SELECT group_name FROM  cpg134_usergroups WHERE group_id= 1
        [4] => DELETE FROM cpg134_banned WHERE expiry < '2005-09-06 18:35:15'
        [5] => SELECT * FROM cpg134_banned WHERE ip_addr='61.95.24.163' OR ip_addr='61.95.24.163' OR user_id=1
        [6] => SELECT aid, title FROM cpg134_albums WHERE category < 10000 ORDER BY title
        [7] => SELECT aid, title FROM cpg134_albums WHERE category='10001' ORDER BY title
        [8] => SELECT encoded_string FROM cpg134_temp_data WHERE unique_ID = '263d5332'
        [9] => UPDATE cpg134_temp_data SET encoded_string = 'YToxOntpOjA7YTozOntzOjExOiJhY3R1YWxfbmFtZSI7czoxMzoiSU1HXzMzMjB3LmpwZyI7czoxNDoidGVtcG9yYXJ5X25hbWUiO3M6MjM6Im1IVFRQX3RlbXBfYjY5ZDcyM2UuanBnIjtzOjEyOiJwcmV2aWV3X3BhdGgiO3M6MzQ6Ii4vYWxidW1zL2VkaXQvcHJldmlld184ZjQ0MzZkNi5qcGciO319' WHERE unique_ID = '263d5332'
        [10] => SELECT category FROM cpg134_albums WHERE aid='2'
        [11] => SELECT name FROM cpg134_categories WHERE cid='2'
        [12] => SELECT category FROM cpg134_albums WHERE aid='1'
        [13] => SELECT name FROM cpg134_categories WHERE cid='2'
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [unique_ID] => 263d5332
        [control] => phase_2
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.3 - OK
    ------------------
    mySQL version: 3.23.58
    ------------------
    Coppermine version: 1.3.4
    ==========================
    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 1.152 seconds - 14 queries in 0.04 seconds - Album set :

    i am using:
    Coppermine 1.3
    PHP Version: 4.3.3
    MySQL Version 3.23.58

kegobeer

First, upgrade PHP to at least 4.3.10+.  Earlier versions have security weaknesses.

Second, examine your server error logs and find what caused the error.
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

hockeypulse

Any ideas why this would have been working fine and then just all of a sudden dropped out?

Tranz

Have you asked your webhost what they have done/changed?