Error 500 - Internal Server Error Error 500 - Internal Server Error
 

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

Error 500 - Internal Server Error

Started by LiquidTom360, April 30, 2006, 08:10:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LiquidTom360

When I try to upload pictures (file upload or batch upload) some photos load, however some don't and give me an Error 500. And ues, I've followed all other instructions for help with uploading (chmod, making sure config is right etc..)

URL - http://at.liquidstorm.co.uk/Gallery


USER:
------------------
Array
(
    [ID] => 8fe81e6140e5a40d8a33b529bb16a434
    [am] => 1
    [lang] => english
    [lap] => 1
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => Tom
    [groups] => Array
        (
            [0] => 101
            [1] => 104
        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 0
    [can_send_ecards] => 0
    [ufc_max] => 0
    [ufc_min] => 0
    [custom_user_upload] => 0
    [num_file_upload] => 1
    [num_URI_upload] => 0
    [can_post_comments] => 0
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 1
    [priv_upl_need_approval] => 1
    [group_name] => Admin
    [upload_form_config] => 0
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 101
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg145_filetypes; (0.001s)
    [1] => select * from cpg145_plugins order by priority asc; (0s)
    [2] => SELECT * FROM cpg145_bridge (0s)
    [3] => 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 cpg145_usergroups WHERE group_id in (101,104) (0.001s)
    [4] => SELECT group_name FROM  cpg145_usergroups WHERE group_id= 101 (0s)
    [5] => SELECT user_favpics FROM cpg145_favpics WHERE user_id = 1 (0.001s)
    [6] => DELETE FROM cpg145_banned WHERE expiry < '2006-04-30 19:11:37' (0s)
    [7] => SELECT * FROM cpg145_banned WHERE (ip_addr='84.13.33.231' OR ip_addr='84.13.33.231' OR user_id=1) AND brute_force=0 (0s)
    [8] => SELECT cid, name, description, thumb FROM cpg145_categories WHERE parent = ''  ORDER BY pos (0.001s)
    [9] => SELECT aid FROM cpg145_albums as a WHERE category>=10000 (0s)
    [10] => SELECT count(*) FROM cpg145_pictures as p, cpg145_albums as a WHERE p.aid = a.aid AND category >= 10000 (0s)
    [11] => SELECT aid FROM cpg145_albums WHERE category = 2 (0s)
    [12] => SELECT count(*) FROM cpg145_pictures as p, cpg145_albums as a WHERE p.aid = a.aid AND category = 2 (0s)
    [13] => SELECT aid FROM cpg145_albums as a WHERE category = '0' (0s)
    [14] => SELECT count(*) FROM cpg145_albums as a WHERE 1 (0s)
    [15] => SELECT count(*) FROM cpg145_pictures as p LEFT JOIN cpg145_albums as a ON a.aid=p.aid WHERE 1 (0s)
    [16] => SELECT count(*) FROM cpg145_comments as c LEFT JOIN cpg145_pictures as p ON c.pid=p.pid LEFT JOIN cpg145_albums as a ON a.aid=p.aid WHERE 1 (0s)
    [17] => SELECT count(*) FROM cpg145_categories WHERE 1 (0s)
    [18] => SELECT sum(hits) FROM cpg145_pictures as p LEFT JOIN cpg145_albums as a ON p.aid=a.aid WHERE 1 (0s)
    [19] => SELECT COUNT(*) FROM cpg145_pictures WHERE approved = 'NO' (0s)
    [20] => SELECT count(*) FROM cpg145_albums as a WHERE category = '0' (0s)
)

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

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

==========================
VERSION INFO :
------------------
PHP version: 4.3.11 - OK
------------------
mySQL version: 5.0.19-standard
------------------
Coppermine version: 1.4.5(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
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.18
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 | .:/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 | /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 | 8M | 8M
==========================
Page generated in 0.136 seconds - 21 queries in 0.004 seconds - Album set : ; Meta set: ;

LiquidTom360

Followed your advice in the documentation and created a test account for you

Username - test
Password - test


LiquidTom360

I've already done all of that!

Also, I'd like to rasie the point that some photos display a thumbnail on the batch page where the album is chosen and these are the only ones that work.

Stramm

no, you haven't ... there's no album I can upload in.

But probably your php memory size is limited... that'll give errors for bigger images. Read the sticky thred I've posted

LiquidTom360

I've rectified it so you can now upload  :)