Internal Server Error 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

Internal Server Error

Started by Izzie Stevens, September 16, 2007, 05:54:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Izzie Stevens

[sorry for my bad english]

This is the link of my gallery: http://www.seriouslygreylovers.com/gallery/cpg1410/

When I try to upload images, I click on http://www.seriouslygreylovers.com/gallery/cpg1410/searchnew.php (Aggiunta Batch) but since yesterday I've this messege:

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

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





Joachim Müller


Izzie Stevens

I've this error:
QuoteUSER:
------------------
Array
(
    [ID] => 062e037d886954b7a1a33f67b4c9e2a9
    [am] => 1
    [lang] => italian
    [liv] => Array
        (
        )

    [lap] => 1
)

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

        [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] => 10
        [num_URI_upload] => 10
        [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
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg1410_filetypes; (0.001s)
        [1] => select * from cpg1410_plugins order by priority asc; (0s)
        [2] => delete from `Sql149611_1`.cpg1410_sessions where time<1189959037 and remember=0; (0.001s)
        [3] => delete from `Sql149611_1`.cpg1410_sessions where time<1188753037; (0s)
        [4] => select user_id from `Sql149611_1`.cpg1410_sessions where session_id=md5("2de207a0742b25b4a11d7232e727b89dbd10f5d3573a10e03aa6d66478127867"); (0.001s)
        [5] => select user_id as id, user_password as password from `Sql149611_1`.cpg1410_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 `Sql149611_1`.cpg1410_users AS u INNER JOIN `Sql149611_1`.cpg1410_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `Sql149611_1`.cpg1410_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 cpg1410_usergroups WHERE group_id in (1) (0s)
        [9] => SELECT group_name FROM  cpg1410_usergroups WHERE group_id= 1 (0s)
        [10] => update `Sql149611_1`.cpg1410_sessions set time='1189962637' where session_id=md5('2de207a0742b25b4a11d7232e727b89dbd10f5d3573a10e03aa6d66478127867'); (0s)
        [11] => SELECT user_favpics FROM cpg1410_favpics WHERE user_id = 1 (0.001s)
        [12] => DELETE FROM cpg1410_mod_online WHERE last_action < NOW() - INTERVAL 10 MINUTE (0s)
        [13] => REPLACE INTO cpg1410_mod_online (user_id, user_name, user_ip, last_action) VALUES ('1', 'Izzie85', '79.6.87.239', NOW()) (0s)
        [14] => DELETE FROM cpg1410_banned WHERE expiry < '2007-09-16 17:10:37' (0s)
        [15] => SELECT * FROM cpg1410_banned WHERE (ip_addr='79.6.87.239' OR ip_addr='79.6.87.239' OR user_id=1) AND brute_force=0 (0.001s)
        [16] => SELECT group_id, group_name FROM cpg1410_usergroups WHERE 1 (0s)
        [17] => UPDATE cpg1410_usergroups SET has_admin_access = '1' WHERE group_id = '1' LIMIT 1 (0.001s)
        [18] => UPDATE cpg1410_usergroups SET group_name='Administrators',group_quota='0',can_rate_pictures='1',can_send_ecards='1',can_post_comments='1',can_upload_pictures='1',pub_upl_need_approval='0',can_create_albums='1',priv_upl_need_approval='0',upload_form_config='0',custom_user_upload='0',num_file_upload='1',num_URI_upload='0' WHERE group_id = '1' LIMIT 1 (0.001s)
        [19] => UPDATE cpg1410_usergroups SET group_name='Registered',group_quota='1024',can_rate_pictures='1',can_send_ecards='1',can_post_comments='1',can_upload_pictures='1',pub_upl_need_approval='1',can_create_albums='1',priv_upl_need_approval='0',upload_form_config='3',custom_user_upload='0',num_file_upload='3',num_URI_upload='3' WHERE group_id = '2' LIMIT 1 (0s)
        [20] => UPDATE cpg1410_usergroups SET group_name='Guests',group_quota='0',can_rate_pictures='0',can_send_ecards='0',can_post_comments='0',can_upload_pictures='0',pub_upl_need_approval='0',can_create_albums='0',priv_upl_need_approval='0',upload_form_config='0',custom_user_upload='0',num_file_upload='0',num_URI_upload='0' WHERE group_id = '3' LIMIT 1 (0s)
        [21] => UPDATE cpg1410_usergroups SET group_name='Banned',group_quota='0',can_rate_pictures='0',can_send_ecards='0',can_post_comments='0',can_upload_pictures='0',pub_upl_need_approval='0',can_create_albums='0',priv_upl_need_approval='0',upload_form_config='0',custom_user_upload='0',num_file_upload='0',num_URI_upload='0' WHERE group_id = '4' LIMIT 1 (0.001s)
        [22] => UPDATE cpg1410_usergroups SET group_name='Co-admin',group_quota='0',can_rate_pictures='1',can_send_ecards='1',can_post_comments='1',can_upload_pictures='1',pub_upl_need_approval='0',can_create_albums='1',priv_upl_need_approval='0',upload_form_config='3',custom_user_upload='0',num_file_upload='10',num_URI_upload='10' WHERE group_id = '5' LIMIT 1 (0.001s)
        [23] => SELECT COUNT(*) FROM cpg1410_pictures WHERE approved = 'NO' (0.032s)
        [24] => SELECT * FROM cpg1410_usergroups WHERE 1 ORDER BY group_id (0.001s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [group_id] => Array
            (
               
  • => 1
                [1] => 2
                [2] => 3
                [3] => 4
                [4] => 5
            )

        [group_name_1] => Administrators
        [group_quota_1] => 0
        [can_rate_pictures_1] => 1
        [can_send_ecards_1] => 1
        [can_post_comments_1] => 1
        [can_upload_pictures_1] => 1
        [pub_upl_need_approval_1] => 0
        [can_create_albums_1] => 1
        [priv_upl_need_approval_1] => 0
        [custom_user_upload_1] => 0
        [num_file_upload_1] => 1
        [num_URI_upload_1] => 0
        [group_name_2] => Registered
        [group_quota_2] => 1024
        [can_rate_pictures_2] => 1
        [can_send_ecards_2] => 1
        [can_post_comments_2] => 1
        [can_upload_pictures_2] => 1
        [pub_upl_need_approval_2] => 1
        [can_create_albums_2] => 1
        [priv_upl_need_approval_2] => 0
        [custom_user_upload_2] => 0
        [num_file_upload_2] => 3
        [num_URI_upload_2] => 3
        [group_name_3] => Guests
        [group_quota_3] => 0
        [can_rate_pictures_3] => 0
        [can_send_ecards_3] => 0
        [can_post_comments_3] => 0
        [can_upload_pictures_3] => 0
        [pub_upl_need_approval_3] => 0
        [can_create_albums_3] => 0
        [priv_upl_need_approval_3] => 0
        [custom_user_upload_3] => 0
        [num_file_upload_3] => 0
        [num_URI_upload_3] => 0
        [group_name_4] => Banned
        [group_name_5] => Co-admin
        [group_quota_5] => 0
        [can_rate_pictures_5] => 1
        [can_send_ecards_5] => 1
        [can_post_comments_5] => 1
        [can_upload_pictures_5] => 1
        [pub_upl_need_approval_5] => 0
        [can_create_albums_5] => 1
        [priv_upl_need_approval_5] => 0
        [custom_user_upload_5] => 0
        [num_file_upload_5] => 10
        [num_URI_upload_5] => 10
        [apply_modifs] => Salva Modifiche
        [upload_form_config_1] => 0
        [upload_form_config_2] => 3
        [upload_form_config_3] => 0
        [upload_form_config_4] => 0
        [upload_form_config_5] => 3
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.4.7 - OK
    ------------------
    mySQL version: 5.0.45-community-log
    ------------------
    Coppermine version: 1.4.10(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: bundled (2.0.28 compatible)
    FreeType Support: 1
    FreeType Linkage: with freetype
    T1Lib Support: 1
    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 4.1.20
    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.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 | .:/php/lib/php/ | .:/php/lib/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 | 120 | 120
    max_input_time | -1 | -1
    upload_max_filesize | 50M | 50M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 0.304 seconds - 25 queries in 0.042 seconds - Album set : ; Meta set: ;

Joachim Müller

Nobody asked for the debug_output. Do as I suggested and read the upload troubleshooting section of the docs and especially the section "Asking for support on upload issues".

Izzie Stevens


Joachim Müller

What is "ok, thanks" suppossed to mean? Do as I suggested!

Izzie Stevens

Sorry! I'm italian I don't understand very well english, so please be pacience!
I've read the upload troubleshooting but my problem is still there.

Izzie Stevens

Sorry for the duble post. I did what you "suggested to do" but my specific error isn't there, for that reason I copied the bug in the post before. Anyway where can I ask to solve my problem? Because it's clear that here no one can help me..

François Keller

QuoteSorry! I'm italian I don't understand very well english, so please be pacience!
Why did you not post in the italian board ?
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Izzie Stevens

because in the italian board no one answered me. it is not the same here?

Izzie Stevens

because I've posted the same question days ago and no one has answered me yet. Is it not the same here?

Joachim Müller

You probably failed to read the instructions carefully. I already advised you what you need to do twice: you have to read the upload troubleshooting section of the docs and do exactly as suggested there. Especially read the section highlighted in red. There is a particular reason why it has been highlighted to stand out: for your ease of use, let me quote it here:
Quote4.11.5 Asking for support on upload issues

When asking for support on the coppermine forum, post a link to your site and a test user account (the test user mustn't be in the admin group!) with upload privileges, with the above mentioned settings in place - this way, supporters can see the error messages as well. Do not post debug_output unless requested. If you want fast results, you should disable admin approval for the group the test user is in, so supporters can tell instantly what is wrong without needing to double-check.

When people have issues with uploading and decide to post their question on the Coppermine support board, they usually are told to read this upload troubleshooting section. Many of them fail to do so properly, which results in frustration both for users as well as supporters. To make this absolutely clear: the above mentioned steps are absolutely mandatory, no matter what skill level you have, no matter what upload method you have troubles with. Failing to do exactly as suggested will result in your request for help being ignored. Yes, this applies to you. We mean it!
See what I mean? The docs clearly say that you need to post a link to your gallery and a non-admin test user account. You failed to do so? What answer do you expect then?

Izzie Stevens

Ok, perfect! Maybe I've understood.
So I've created a test user.
Nickname: Test
Pass: coppermine

The link to my gallery is: http://www.seriouslygreylovers.com/gallery/cpg1410

Sorry again, I hope now it's ok  ::)

Joachim Müller

Stop wasting my time. Do as suggested: enable single file upload for the group the test user account is in.
You'll need to upgrade as well.

Izzie Stevens

Sorry, I don't want to waste your time, neither mine.
I've create a new user, that I've put in the group "test user" then I've enable single file upload for the group.


Izzie Stevens

Now I can't see nothing in my gallery.
I've the messege: 404 page not found.

phill104

Uploads work fine for me even without single file upload enabled
It is a mistake to think you can solve any major problems just with potatoes.

Joachim Müller

@Phil: thanks for your report.

The internal server error usually is being caused by uploading files that are too huge to be handled using your image library. That's why I suggested doing as suggested in the upload troubleshooting section. I would suggest trying with smaller files and then gradually trying larger files.

Izzie Stevens

Sorry I think you don't understand.
When I upload one file at time, it works.
But when I've to upload a lot of files, that I've upload with the FTP, I go to "Aggiunta Batch" (sorry I don't know the translation) but I can't upload, because I've the error messege!!

So the problem is ONLY when I try to upload images that I've in the album, which was uploaded by FTP.

(I don't know if you understand, I hope so.)

Izzie Stevens

It seems to work.
I will tell you if everything it's ok.

Thanks for the pacience =)