Hi! I got following debug report...
The problem i found was, that the picEDITOR.php has any problem, so i cant rotate pics etc.
Plz have a look and told me what to do! :)
greetz
Quote
USER:
------------------
Array
(
[ID] => 190aae3e05937908c22a8967c4c22565
[am] => 1
[liv] => Array
(
- => 1308
[1] => 1079
[2] => 1634
[3] => 1636
[4] => 534
)
[lang] => german
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_group] => 1
[user_active] => YES
[user_name] => Royce
[user_password] =>
[user_lastvisit] => 2004-02-21 11:57:55
[user_regdate] => 2004-02-21 11:57:55
[user_group_list] =>
[user_email] =>
[user_website] => www.k-connection.de
[user_location] =>
[user_interests] => Fussball, Badminton, PC zoggen...
[user_occupation] => Abiturient
[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 cpg11d_filetypes;
[1] => SELECT * FROM cpg11d_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '15a957eec81cff8df3172257b813e2d3'
[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 cpg11d_usergroups WHERE group_id in (1)
[3] => SELECT group_name FROM cpg11d_usergroups WHERE group_id= 1
[4] => DELETE FROM cpg11d_banned WHERE expiry < 1087582447
[5] => SELECT * FROM cpg11d_banned WHERE ip_addr='217.82.87.236' OR ip_addr='217.82.87.236' OR user_id=1
[6] => SELECT cid, name, description, thumb FROM cpg11d_categories WHERE parent = '' ORDER BY pos
[7] => SELECT aid FROM cpg11d_albums WHERE category>=10000
[8] => SELECT count(*) FROM cpg11d_pictures, cpg11d_albums WHERE cpg11d_pictures.aid = cpg11d_albums.aid AND category >= 10000
[9] => SELECT cid, name, description, thumb FROM cpg11d_categories WHERE parent = '1' ORDER BY pos
[10] => SELECT aid FROM cpg11d_albums WHERE category = 2
[11] => SELECT count(*) FROM cpg11d_pictures, cpg11d_albums WHERE cpg11d_pictures.aid = cpg11d_albums.aid AND category = 2
[12] => SELECT count(*) FROM cpg11d_albums as a WHERE category = '2'
[13] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_albums as a LEFT JOIN cpg11d_pictures as p ON a.thumb=p.pid WHERE category=2 ORDER BY a.pos LIMIT 0,2
[14] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg11d_pictures WHERE aid IN (9, 12) AND approved = 'YES' GROUP BY aid
[15] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='650'
[16] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='1184'
[17] => SELECT cid, name, description, thumb FROM cpg11d_categories WHERE parent = '2' ORDER BY pos
[18] => SELECT aid FROM cpg11d_albums as a WHERE category = '0'
[19] => SELECT count(*) FROM cpg11d_albums as a WHERE category>0
[20] => SELECT count(*) FROM cpg11d_pictures as p LEFT JOIN cpg11d_albums as a ON a.aid=p.aid WHERE a.category>=0
[21] => SELECT count(*) FROM cpg11d_comments as c LEFT JOIN cpg11d_pictures as p ON c.pid=p.pid LEFT JOIN cpg11d_albums as a ON a.aid=p.aid WHERE a.category>=0
[22] => SELECT count(*) FROM cpg11d_categories WHERE 1
[23] => SELECT sum(hits) FROM cpg11d_pictures as p LEFT JOIN cpg11d_albums as a ON p.aid=a.aid WHERE a.category>=0
[24] => SELECT count(*) FROM cpg11d_albums as a WHERE category = '0'
[25] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_albums as a LEFT JOIN cpg11d_pictures as p ON a.thumb=p.pid WHERE category=0 ORDER BY a.pos LIMIT 0,5
[26] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg11d_pictures WHERE aid IN (3, 13, 14, 15, 16) AND approved = 'YES' GROUP BY aid
[27] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='201'
[28] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='1563'
[29] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='1593'
[30] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='1682'
[31] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='1714'
[32] => SELECT COUNT(*) from cpg11d_pictures WHERE approved = 'YES' AND aid IN (6,9,12,3,13,14,15,16)
[33] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, aid FROM cpg11d_pictures WHERE approved = 'YES' AND aid IN (6,9,12,3,13,14,15,16) ORDER BY RAND() LIMIT 8
[34] => SELECT COUNT(*) from cpg11d_pictures WHERE approved = 'YES' AND aid IN (6,9,12,3,13,14,15,16)
[35] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid,title, caption, owner_id, owner_name, aid FROM cpg11d_pictures WHERE approved = 'YES' AND aid IN (6,9,12,3,13,14,15,16) ORDER BY pid DESC LIMIT 0 ,8
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
)
==========================
VERSION INFO :
------------------
PHP version: 4.3.1 - OK
------------------
mySQL version: 3.23.55-Max-log
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0 compatible)
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
==========================
Module: mysql
------------------
Active Persistent Links 0
Active Links 1
Client API version 3.23.55
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.1.4
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 | On | On
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 | .:.. | .:..
open_basedir | /www/htdocs/v096450/:/tmp:/usr/bin:/www/htdocs/v096450:/bin:/usr/local/bin | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost | me@localhost
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 | 8M | 8M
==========================
Page generated in 0.123 seconds - 36 queries in 0.043 seconds - Album set : AND aid IN (6,9,12,3,13,14,15,16)
If you image library doen't support rotation, you simply won't be able to use this feature.
GauGau
But, when i try to rotate it or cut it into the right size i got an error message
QuoteWarning: copy(albums/edit/picture.JPG) [function.copy]: failed to create stream: No such file or directory in /www/htdocs/v096450/photogallery/picEditor.php on line 128
So i thought something was wrong with it..
ps: Can i speak german with u, Gaugau? I know u are german! :) *hope*
QuoteWarning: copy(albums/edit/picture.JPG) [function.copy]: failed to create stream: No such file or directory in /www/htdocs/v096450/photogallery/picEditor.php on line 128
make sure the edit directoy exists within your albums folder and check that is has the proper CHMOD permission settings (as suggested in the docs). There is however an open issue with the garbage collection routine of the pic editor deleting the edit folder every now and then, search the board for details.
Quote from: Royce on June 19, 2004, 04:16:49 PMps: Can i speak german with u, Gaugau? I know u are german! :) *hope*
No, see http://coppermine.sourceforge.net/faq.php?q=nonEnglishPosting#nonEnglishPosting
GauGau
Hello,
I to seem to be having issues witht the rotation of images. Although my issue seems to be that the only the main picture does not rotate. All thumnails do, but not the main and even the normal picture you see when you click a thumbnail rotates, but as soon as you click the normal picture to see an enlarged view the demensions are correct but the picture is still turned side ways.
Here is a link to what I am currently seeing: http://photos.3dpn.com/displayimage.php?album=1&pos=47#
I get a couple of error messages, but I am not to sure what to do abou them. They are:
Warning: copy(albums/garcia/DSC00052.jpg): failed to open stream: Permission denied in /home/admin/domains/3dpn.com/public_html/photos/picEditor.php on line 159
Warning: chmod(): Operation not permitted in /home/admin/domains/3dpn.com/public_html/photos/include/picmgmt.inc.php on line 215
Warning: chmod(): Operation not permitted in /home/admin/domains/3dpn.com/public_html/photos/include/picmgmt.inc.php on line 215
Can someone help me out with this?
Thank You,
Sam Garcia
the error says it: you'll have to set proper permissions (CHMOD)!
GauGau
On what files?
I have change permissions on all files the install instructions states to. The include, albumn, and all directories within the albumn directory. The install instructions do not state that any other files need their permissions changed.
If there are other please feel free to point them out.
Thanks,
Sam Garcia
you have to CHMOD "albums" and all files and directories within, so that the script has write permissions. Also check safe mode.
GauGau