Cannot be placed Cannot be placed
 

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

Cannot be placed

Started by Zappza, January 07, 2006, 03:06:31 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Zappza

Hi!

Debug:
USER:
------------------
Array
(
    [ID] => 6f87484b831ca86edcab49904c04bef8
    [am] => 1
    [lang] => english
)

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

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

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg143_filetypes; (0s)
    [1] => delete from `galleri_3541`.cpg143_sessions where time<1136595314 and remember=0; (0s)
    [2] => delete from `galleri_3541`.cpg143_sessions where time<1135389314; (0s)
    [3] => select user_id from `galleri_3541`.cpg143_sessions where session_id=md5("9b24b18e68446c8f173ebd0c7c02b9c6915345ced1c25949dace0642d9d2f099"); (0s)
    [4] => select user_id as id, user_password as password from `galleri_3541`.cpg143_users where user_id=1 (0s)
    [5] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `galleri_3541`.cpg143_users AS u INNER JOIN `galleri_3541`.cpg143_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [6] => SELECT user_group_list FROM `galleri_3541`.cpg143_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
    [7] => 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 cpg143_usergroups WHERE group_id in (1) (0s)
    [8] => SELECT group_name FROM  cpg143_usergroups WHERE group_id= 1 (0s)
    [9] => update `galleri_3541`.cpg143_sessions set time='1136598914' where session_id=md5('9b24b18e68446c8f173ebd0c7c02b9c6915345ced1c25949dace0642d9d2f099'); (0s)
    [10] => SELECT user_favpics FROM cpg143_favpics WHERE user_id = 1 (0s)
    [11] => DELETE FROM cpg143_banned WHERE expiry < '2006-01-07 02:55:14' (0s)
    [12] => SELECT * FROM cpg143_banned WHERE (ip_addr='195.159.185.248' OR ip_addr='195.159.185.248' OR user_id=1) AND brute_force=0 (0s)
    [13] => SELECT aid, title FROM cpg143_albums WHERE category < 10000 ORDER BY title (0s)
    [14] => SELECT aid, title FROM cpg143_albums WHERE category='10001' ORDER BY title (0s)
    [15] => SELECT encoded_string FROM cpg143_temp_data WHERE unique_ID = '9e873656' (0s)
    [16] => UPDATE cpg143_temp_data SET encoded_string = 'YToxOntpOjA7YTozOntzOjExOiJhY3R1YWxfbmFtZSI7czo2OiIwNy5qcGciO3M6MTQ6InRlbXBvcmFyeV9uYW1lIjtzOjIzOiJtSFRUUF90ZW1wXzA2YzhkY2UxLmpwZyI7czoxMjoicHJldmlld19wYXRoIjtzOjM0OiIuL2FsYnVtcy9lZGl0L3ByZXZpZXdfNmJkNDFhMjUuanBnIjt9fQ==' WHERE unique_ID = '9e873656' (0s)
    [17] => SELECT COUNT(*) FROM cpg143_pictures WHERE approved = 'NO' (0s)
    [18] => SELECT cat.name FROM cpg143_categories cat, cpg143_albums alb WHERE alb.aid='4' AND cat.cid=alb.category (0s)
    [19] => SELECT cat.name FROM cpg143_categories cat, cpg143_albums alb WHERE alb.aid='7' AND cat.cid=alb.category (0s)
    [20] => SELECT cat.name FROM cpg143_categories cat, cpg143_albums alb WHERE alb.aid='10' AND cat.cid=alb.category (0s)
    [21] => SELECT cat.name FROM cpg143_categories cat, cpg143_albums alb WHERE alb.aid='8' AND cat.cid=alb.category (0s)
    [22] => SELECT cat.name FROM cpg143_categories cat, cpg143_albums alb WHERE alb.aid='1' AND cat.cid=alb.category (0s)
    [23] => SELECT cat.name FROM cpg143_categories cat, cpg143_albums alb WHERE alb.aid='2' AND cat.cid=alb.category (0s)
    [24] => SELECT cat.name FROM cpg143_categories cat, cpg143_albums alb WHERE alb.aid='12' AND cat.cid=alb.category (0s)
    [25] => SELECT cat.name FROM cpg143_categories cat, cpg143_albums alb WHERE alb.aid='9' AND cat.cid=alb.category (0s)
    [26] => SELECT cat.name FROM cpg143_categories cat, cpg143_albums alb WHERE alb.aid='11' AND cat.cid=alb.category (0s)
    [27] => SELECT cat.name FROM cpg143_categories cat, cpg143_albums alb WHERE alb.aid='6' AND cat.cid=alb.category (0s)
    [28] => SELECT cat.name FROM cpg143_categories cat, cpg143_albums alb WHERE alb.aid='5' AND cat.cid=alb.category (0s)
    [29] => SELECT cat.name FROM cpg143_categories cat, cpg143_albums alb WHERE alb.aid='3' AND cat.cid=alb.category (0s)
)

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

==========================
POST :
------------------
Array
(
    [unique_ID] => 9e873656
    [control] => phase_2
    [debugtext] => USER:
------------------
Array
(
    [ID] => 6f87484b831ca86edcab49904c04bef8
    [am] => 1
    [lang] => english
)

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

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

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg143_filetypes; (0s)
    [1] => delete from `galleri_3541`.cpg143_sessions where time<1136595294 and remember=0; (0s)
    [2] => delete from `galleri_3541`.cpg143_sessions where time<1135389294; (0s)
    [3] => select user_id from `galleri_3541`.cpg143_sessions where session_id=md5("9b24b18e68446c8f173ebd0c7c02b9c6915345ced1c25949dace0642d9d2f099"); (0s)
    [4] => select user_id as id, user_password as password from `galleri_3541`.cpg143_users where user_id=1 (0s)
    [5] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `galleri_3541`.cpg143_users AS u INNER JOIN `galleri_3541`.cpg143_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [6] => SELECT user_group_list FROM `galleri_3541`.cpg143_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
    [7] => 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 cpg143_usergroups WHERE group_id in (1) (0s)
    [8] => SELECT group_name FROM  cpg143_usergroups WHERE group_id= 1 (0s)
    [9] => update `galleri_3541`.cpg143_sessions set time='1136598894' where session_id=md5('9b24b18e68446c8f173ebd0c7c02b9c6915345ced1c25949dace0642d9d2f099'); (0s)
    [10] => SELECT user_favpics FROM cpg143_favpics WHERE user_id = 1 (0s)
    [11] => DELETE FROM cpg143_banned WHERE expiry < '2006-01-07 02:54:54' (0s)
    [12] => SELECT * FROM cpg143_banned WHERE (ip_addr='195.159.185.248' OR ip_addr='195.159.185.248' OR user_id=1) AND brute_force=0 (0s)
    [13] => SELECT aid, title FROM cpg143_albums WHERE category < 10000 ORDER BY title (0s)
    [14] => SELECT aid, title FROM cpg143_albums WHERE category='10001' ORDER BY title (0s)
    [15] => SELECT COUNT(*) FROM cpg143_pictures WHERE approved = 'NO' (0s)
    [16] => SELECT unique_ID FROM cpg143_temp_data (0s)
    [17] => INSERT INTO cpg143_temp_data VALUES ('9e873656', 'YToxOntpOjA7YToyOntzOjExOiJhY3R1YWxfbmFtZSI7czo2OiIwNy5qcGciO3M6MTQ6InRlbXBvcmFyeV9uYW1lIjtzOjIzOiJtSFRUUF90ZW1wXzA2YzhkY2UxLmpwZyI7fX0=', '1136598894') (0s)
)

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

==========================
POST :
------------------
Array
(
    [URI_array] => Array
        (
            [0] =>
        )

    [control] => phase_1
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.1 - OK
------------------
mySQL version: 4.1.11-Debian_4sarge2-log
------------------
Coppermine version: 1.4.3(stable)
==========================
Module: GD
------------------
GD Version: 2.0 or higher
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:
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.1.11
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/run/mysqld/mysqld.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.2
Linked Version 1.2.2
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | On | On
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | /usr/share/php/ | /usr/share/php/
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | fsockopen | fsockopen
file_uploads | On | On
include_path | .:/usr/share/php | .:/usr/share/php
open_basedir | /var/www/virtual/zappza.byethost5.com/:/usr/share/php/:/tmp/:/var/www/errors:/var/www/banner/ | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/nosendmail -t -i | /usr/sbin/nosendmail -t -i
SMTP | localhost | localhost
smtp_port | 10025 | 10025
==========================
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.034 seconds - 18 queries in 0 seconds - Album set : ; Meta set: ;
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.1 - OK
------------------
mySQL version: 4.1.11-Debian_4sarge2-log
------------------
Coppermine version: 1.4.3(stable)
==========================
Module: GD
------------------
GD Version: 2.0 or higher
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:
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.1.11
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/run/mysqld/mysqld.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.2
Linked Version 1.2.2
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | On | On
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | /usr/share/php/ | /usr/share/php/
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | fsockopen | fsockopen
file_uploads | On | On
include_path | .:/usr/share/php | .:/usr/share/php
open_basedir | /var/www/virtual/zappza.byethost5.com/:/usr/share/php/:/tmp/:/var/www/errors:/var/www/banner/ | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/nosendmail -t -i | /usr/sbin/nosendmail -t -i
SMTP | localhost | localhost
smtp_port | 10025 | 10025
==========================
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.23 seconds - 30 queries in 0 seconds - Album set : ; Meta set: ;


Warning messages:
/include/picmgmt.inc.php
Warning line 271: imagejpeg(): Unable to access ./albums/edit/preview_6bd41a25.jpg
Warning line 271: imagejpeg(): Invalid filename './albums/edit/preview_6bd41a25.jpg'
Warning line 277: chmod(): Unable to access ./albums/edit/preview_6bd41a25.jpg
Warning line 277: chmod(): No such file or directory
Warning line 279: getimagesize(): Unable to access ./albums/edit/preview_6bd41a25.jpg
Warning line 279: getimagesize(./albums/edit/preview_6bd41a25.jpg): failed to open stream: No such file or directory
Warning line 282: unlink(./albums/edit/preview_6bd41a25.jpg): No such file or directory
/include/functions.inc.php
Notice line 2660: Undefined variable: i


http://zappza.byethost5.com/cpg143/index.php?
username/password= testuser2/mummu

When i try to upload images i get this message, i have CHMODDed the all the necessery folders. Followed the readme, support manual and all that, still aint working...

kegobeer

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

Zappza

I cant find imagejpeg($dst_img, $dest_file, $CONFIG['jpeg_qual']); in my "picmgmt.inc.php" file. I have CPG 1.43

kegobeer

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

Zappza

Now i get ths error:Critical error
Script called without the required parameter(s).

File: /var/www/virtual/zappza.byethost5.com/htdocs/cpg143/upload.php - Line: 2117

kegobeer

Post the changes you made.
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

Zappza

I got it to work!

i just missed one of em

tnx a lot for the help!