Try to uploade, but uploade.php or db_input.php all ways comming up Try to uploade, but uploade.php or db_input.php all ways comming up
 

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

Try to uploade, but uploade.php or db_input.php all ways comming up

Started by beeboob, June 20, 2007, 07:56:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

beeboob

Hey All My first post, and hope this is the right info.

I have searce the forum, read the FAQ and so on. But the thing i read, i dont understand, vs my problem.

Webpage: http://itedb.dk/familien/index.php?module=pnCPG

Info
Coppermine 1.4.10
PostNuke
pnCPG

Server:
SME server 7.1.3

I have installe Coppermine in supfolder:
/cpg1410

-----------------
User: test
Pass: test
-----------------
Problem:

When i want to upload are pic, and hit the "CONTUNIE" button then this happens:

On WinXp/IE & FF: Go to Blank Page.
On Ubuntu & FF: It will open uploade.php in a editor.

Whit "Groups menu"
Upload method whit
File upload boxes: 5
URI upload boxes: 0

I think i uploade something, because, it come whit
1 uploads were successful.

Please click 'Continue' to add the files to albums.

When i click on Continue, then the uploade.php, edit is comming


And whit change in "Groups menu":
Upload method -
File upload boxes: 1
URI upload boxes: 0

The FF on Ubuntu just pop up. That i can edit "db_input.php"

Have try to ftp are pic. Thats is ok.

I have try 755 & 777 on thoes folders:

/albums
/albums/edit
/albums/userpics






I have try whit admin and are normal user.


Debug Info:

USER:
------------------
Array
(
    [ID] => 37e11a1c582e6849a5cd2f242d6ef472
    [am] => 1
    [lang] => english
    [theme] => kalle
    [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] => 5
    [num_URI_upload] => 0
    [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] => 1
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg1410_filetypes; (0.001s)
    [1] => select * from cpg1410_plugins order by priority asc; (0s)
    [2] => delete from `familien`.cpg1410_sessions where time<1182357399 and remember=0; (0s)
    [3] => delete from `familien`.cpg1410_sessions where time<1181151399; (0s)
    [4] => select user_id from `familien`.cpg1410_sessions where session_id=md5("a16bb0c6ae1a40ed8180849c0509acacb3dc04e8415da3286bee9db790df9998"); (0s)
    [5] => select user_id as id, user_password as password from `familien`.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 `familien`.cpg1410_users AS u INNER JOIN `familien`.cpg1410_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `familien`.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 `familien`.cpg1410_sessions set time='1182360999' where session_id=md5('a16bb0c6ae1a40ed8180849c0509acacb3dc04e8415da3286bee9db790df9998'); (0s)
    [11] => SELECT user_favpics FROM cpg1410_favpics WHERE user_id = 1 (0.001s)
    [12] => DELETE FROM cpg1410_banned WHERE expiry < '2007-06-20 17:36:39' (0s)
    [13] => SELECT * FROM cpg1410_banned WHERE (ip_addr='192.168.116.221' OR ip_addr='192.168.116.221' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT aid, title FROM cpg1410_albums WHERE category < 10000 ORDER BY title (0.001s)
    [15] => SELECT aid, title FROM cpg1410_albums WHERE category='10001' ORDER BY title (0s)
    [16] => SELECT COUNT(*) FROM cpg1410_pictures WHERE approved = 'NO' (0s)
    [17] => SELECT unique_ID FROM cpg1410_temp_data (0s)
    [18] => INSERT INTO cpg1410_temp_data VALUES ('e84e0723', 'YToxOntpOjA7YToyOntzOjExOiJhY3R1YWxfbmFtZSI7czoxMjoiRFNDMDA3NTIuSlBHIjtzOjE0OiJ0ZW1wb3JhcnlfbmFtZSI7czoyMzoibUhUVFBfdGVtcF83ZDFhZDA5Yy5KUEciO319', '1182360999') (0.017s)
)

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

==========================
POST :
------------------
Array
(
    [control] => phase_1
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.9 - OK
------------------
mySQL version: 4.1.20
------------------
Coppermine version: 1.4.10(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.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 | .:/usr/share/pear-addons:/usr/share/pear | .:/usr/share/pear-addons:/usr/share/pear
open_basedir | /home/e-smith/files/ibays/familien/ | 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 | -1 | -1
upload_max_filesize | 10M | 10M
post_max_size | 20M | 20M
==========================
Page generated in 0.122 seconds - 19 queries in 0.02 seconds - Album set : ; Meta set: ;


[Edited By Sami]
Added Code Block to debug info

akyhne


akyhne

Succes with 800*600 image.
Succes with 1024*768 image
Succes with 2592*1944 image

Switch on language selection for other users!

beeboob

Many, so many thanks.

I think i never will have guess that, whit the pixel size off the pic. I only focus on the mb size off are pic. It is so logica, now. When i can see it.

I have are SME 7.1.3, at home. On are old P4, whit 512 mb ram. Not that big. but ok, to my use.   

beeboob

Now it is just working fine..

Now i have to find are solution, so when are user is uploade are pic, bigger than, the max pixel it is comming whit are arlert.

akyhne



Hein Traag

Beebob don't double post please. Can you tell what you did that solved your problem.

beeboob

I am sorry for the double post.

I can not rember all the thing, i have done. But.....

Change language to english, Both in postnuke and coppermine

Folder to be set to 777:

/albums
/albums/edit
/albums/userpics

In config, under " Files and thumbnails settings " i change the "Max size"

But the only think i din't know. Was that whit pixel size off a picture i try to uploade.

The pic, i was trying to uploade, was way to big in pixel, but still under my max size in kb.