Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: HTTP upload issue  (Read 2981 times)

0 Members and 1 Guest are viewing this topic.

NITRO1250

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
HTTP upload issue
« on: July 13, 2006, 05:12:03 pm »

Ok, I am having another problem. I found out that when my website was migrated to the new hosting platform, I can no longer put in user created php.ini files; powweb has to custom edit it for me. I have upped the max file size for php uploads to 14MB. Now for the problem: when I did a test today to upload 1 file (less than 900kb), I got the message saying that 1 file was successfully uploaded and that I should hit continue to post it. I hit continue and all I get is a blank webpage (upload.php). Now what? Any help would be much appreciated! Thanks in advance!!!

Here is the debug console output just before I hit the 'continue' button:

Code: [Select]
USER:
------------------
Array
(
    [ID] => 4742d3e92e20eb9b349a2bb54f2197c5
    [am] => 1
    [lang] => english
    [liv] => Array
        (
            [0] => 6
            [1] => 4
        )

)

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

    [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
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg_filetypes; (0.004s)
    [1] => select * from cpg_plugins order by priority asc; (0s)
    [2] => delete from `alabamahuntc_coppermine1`.cpg_sessions where time<1152798952 and remember=0; (0s)
    [3] => delete from `alabamahuntc_coppermine1`.cpg_sessions where time<1151592952; (0s)
    [4] => select user_id from `alabamahuntc_coppermine1`.cpg_sessions where session_id=md5("642d620c45646998c7eb615d304c00dd3b640c8a4554a5ca5b6b13f9d8d383de"); (0.015s)
    [5] => select user_id as id, user_password as password from `alabamahuntc_coppermine1`.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 `alabamahuntc_coppermine1`.cpg_users AS u INNER JOIN `alabamahuntc_coppermine1`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `alabamahuntc_coppermine1`.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 `alabamahuntc_coppermine1`.cpg_sessions set time='1152802552' where session_id=md5('642d620c45646998c7eb615d304c00dd3b640c8a4554a5ca5b6b13f9d8d383de'); (0s)
    [11] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 1 (0s)
    [12] => DELETE FROM cpg_banned WHERE expiry < '2006-07-13 10:55:52' (0s)
    [13] => SELECT * FROM cpg_banned WHERE (ip_addr='68.66.169.90' OR ip_addr='68.66.169.90' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT aid, title FROM cpg_albums WHERE category < 10000 ORDER BY title (0.001s)
    [15] => SELECT aid, title FROM cpg_albums WHERE category='10001' ORDER BY title (0s)
    [16] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0s)
    [17] => SELECT unique_ID FROM cpg_temp_data (0.001s)
    [18] => INSERT INTO cpg_temp_data VALUES ('00206bdc', 'YToxOntpOjA7YToyOntzOjExOiJhY3R1YWxfbmFtZSI7czoxMjoiSU0wMDA2MDEuanBnIjtzOjE0OiJ0ZW1wb3JhcnlfbmFtZSI7czoyMzoibUhUVFBfdGVtcF84NGUyODI4Yi5qcGciO319', '1152802552') (0.003s)
)

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

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

    [control] => phase_1
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.2 - OK
------------------
mySQL version: 4.1.18-standard-log
------------------
Coppermine version: 1.4.3(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 5.0.21
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 | 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/local/lib/php-4.4.2/lib/php | .:/usr/local/lib/php-4.4.2/lib/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | wwwuser@cgi.yourhostingaccount.com | wwwuser@cgi.yourhostingaccount.com
sendmail_path | /usr/sbin/sendmail -t -i  | /usr/sbin/sendmail -t -i
SMTP | mail.yourhostingaccount.com | mail.yourhostingaccount.com
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 | 10M | 10M
post_max_size | 11M | 11M
==========================
Page generated in 0.315 seconds - 19 queries in 0.024 seconds - Album set : ; Meta set: ;
Logged

Nibbler

  • Guest
Logged

NITRO1250

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: HTTP upload issue
« Reply #2 on: July 13, 2006, 05:28:54 pm »

I tried there already and that is why I have posted on the forum. As far as setting go for the gallery, I am the only person to upload images and have an account. No one can do that.... atleast until I get the bugs worked out. Anyway, I have the HTTP uploads set to 5 only, but I do 1 image only. So far, I am doing everything correctly with the gallery per the link you gave me. Thanks for any help!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: HTTP upload issue
« Reply #3 on: July 13, 2006, 07:04:05 pm »

Nibbler didn't post the link for fun - re-read it carefully and do exactly as suggested. Pay particular attention to the section at the bottom highlighted in red!
Logged

NITRO1250

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: HTTP upload issue
« Reply #4 on: July 13, 2006, 08:14:27 pm »

Ok, everything has been set except the multiple HTTP uploads because I don't know where to change it. It is defaulted to only 5, but you can just upload 1 picture. Gallery is http://alabamahuntclub.com/gallery

Username: test
Password: default

You can only upload in the Test area. When I tried to upload from the admin area, I ended up with a startling error message: Fatal error: Allowed memory size of 14680064 bytes exhausted (tried to allocate 2048 bytes) in /hermes/web03/b553/pow.alabamahuntclub/htdocs/gallery/include/picmgmt.inc.php on line 259


I don't know what to make of it.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 17 queries.