plateform changed getting upload error. plateform changed getting upload 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

plateform changed getting upload error.

Started by niks_007, August 28, 2007, 10:34:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

niks_007

Dear Friends,
            i have just updated my server from linux to windows. and copied all files and db to new server. and modified bd information in config file. site and gallery performing well. and i can see gallery. but now i am not able to upload images.

this is what i get in debug mode.

USER:
------------------
Array
(
    [ID] => ca26f2367ddbdb12f8f1a8159bd3770b
    [am] => 1
    [liv] => Array
        (
        )

)

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

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 1
    [ufc_min] => 1
    [custom_user_upload] => 0
    [num_file_upload] => 10
    [num_URI_upload] => 0
    [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] => 1
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg_filetypes; (0s)
    [1] => select * from cpg_plugins order by priority asc; (0s)
    [2] => delete from `nishant_copp4`.cpg_sessions where time<1188329241 and remember=0; (0.001s)
    [3] => delete from `nishant_copp4`.cpg_sessions where time<1187123241; (0s)
    [4] => select user_id from `nishant_copp4`.cpg_sessions where session_id=md5("3e24563ac40c6fa9fb37c1ef6d80376cf60a0e47bb97013312761f17730dec31"); (0s)
    [5] => select user_id as id, user_password as password from `nishant_copp4`.cpg_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 `nishant_copp4`.cpg_users AS u INNER JOIN `nishant_copp4`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `nishant_copp4`.cpg_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 cpg_usergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 1 (0s)
    [10] => update `nishant_copp4`.cpg_sessions set time='1188332841' where session_id=md5('3e24563ac40c6fa9fb37c1ef6d80376cf60a0e47bb97013312761f17730dec31'); (0s)
    [11] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 1 (0.001s)
    [12] => DELETE FROM cpg_banned WHERE expiry < '2007-08-29 01:27:21' (0s)
    [13] => SELECT * FROM cpg_banned WHERE (ip_addr='59.95.163.86' OR ip_addr='59.95.163.86' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT title, category FROM cpg_albums WHERE aid = '248' (0s)
    [15] => SELECT DISTINCT aid, title, IF(category = 0, CONCAT('> ', title), CONCAT(name,' < ',title)) AS cat_title FROM cpg_albums, cpg_categories WHERE category < '10000' AND (category = 0 OR category = cid) ORDER BY cat_title (0.038s)
    [16] => SELECT aid, title FROM cpg_albums WHERE category='10001'  OR category='10001' ORDER BY title (0s)
    [17] => SELECT count(*) FROM cpg_pictures WHERE aid = '248' (0s)
    [18] => SELECT p.*,a.category FROM cpg_pictures as p INNER JOIN cpg_albums as a ON a.aid=p.aid WHERE p.aid = '248' ORDER BY p.filename LIMIT 0, 25 (0s)
    [19] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0.002s)
)

==========================
GET :
------------------
Array
(
    [album] => 248
)

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

==========================
VERSION INFO :
------------------
PHP version: 5.2.0 - OK
------------------
mySQL version: 5.0.27-community-nt
------------------
Coppermine version: 1.4.3(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
XPM Support:
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.22
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3
==========================
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 | .;./includes;./pear | .;./includes;./pear
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | support@eukhost.com | support@eukhost.com
sendmail_path | no value | no value
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.867 seconds - 20 queries in 0.042 seconds - Album set : ; Meta set: ;


please help me out.
the url is www.lakesparadise.com/wallpapers/index.php

Thanks
Niks

niks_007

this error i got when i tried uploading batch files.


No image to display

File: D:\inetpub\vhosts\lakesparadise.com\httpdocs\wallpapers\editpics.php - Line: 496


and when i use traditional upload method of browse i get this error.

Error Report
The following uploads encountered errors: 
File Uploads: 
File Name/URL Error Message
1. an1024.jpg Impossible to move.


Thanks
Niks

niks_007

sorry for giving error details in multiple threads. as edit option is not working and i wish to give all details so you guys can help me

this is what i found below debug mode.

Notices
\include\logger.inc.php
Warning line 155: unlink(logs/global.log.php) [function.unlink]: Permission denied
Warning line 51: fopen(logs/global.log.php) [function.fopen]: failed to open stream: Permission denied
Warning line 53: fwrite(): supplied argument is not a valid stream resource
Warning line 54: fclose(): supplied argument is not a valid stream resource
\upload.php
Warning line 1218: move_uploaded_file(./albums/edit/mHTTP_temp_998251a4.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied
Warning line 1218: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\Temp\php8A4.tmp' to './albums/edit/mHTTP_temp_998251a4.jpg'
Notice line 1291: Undefined index: URI_array
Notice line 1967: Undefined variable: escrow_array
Notice line 1969: Undefined variable: URI_failure_array
Notice line 1970: Undefined variable: zip_failure_array


this may help in error solving.
thanks
Niks

Nibbler


Joachim Müller

@niks_007: this is the final, ultimate warning: again, you started another thread without reading the docs and doing as suggested there (you're suppossed to follow the advice in the upload troubleshooting section of the docs. You're not supposed to post debug_output. You're supposed to leave notices_display off), although you have been told to do so many, many times over. I'm not ready to tolerate this any longer. Your next misbehaviour (be it big or small) will result in your final, life-time ban. I mean it. >:(