Advanced search  

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

Pages: [1]   Go Down

Author Topic: yet another upload problem  (Read 2261 times)

0 Members and 1 Guest are viewing this topic.

crazydad

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
yet another upload problem
« on: November 27, 2006, 06:37:04 pm »

i am trying to upload a video file, 2.2mbs in size, through the web interface but is not going up.i have upped the settings to allow me to upload larger file in my config settings. ftp works fine but i want other users to be able to use it. after having a look around these forums i see that there is a "time out" for uploading files. my server allows uploads of 5mbs,
(Q. What's the maximum file upload and timeout set for PHP?
A. The maximum size at present is set at 5MB and the timeout is 30 seconds.).
thats from the support database from my server. what i need to know is how to change the timeout settings in both/either coppermine settings and my server settings (it also says on the support database that i am allowed to change settings, but i really haven't got a clue how to :-\

could you please give me any advice, in the plainest of english, please? i really haven't got a clue when people talk about "scripts" and stuff like that.

thanks in advance

john
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

crazydad

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: yet another upload problem
« Reply #2 on: November 27, 2006, 08:05:13 pm »

nope :'( here is the log.

USER:
------------------
Array
(
    [ID] => 4cfd95c2ff72532bf2454932be5fb191
    [am] => 1
    [lang] => english
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => Spartacus
    [groups] => Array
        (
           
  • => 1

        )

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

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content, player FROM cpg149_filetypes; (0.001s)
  • [1] => select * from cpg149_plugins order by priority asc; (0s)
        [2] => SELECT * FROM cpg149_bridge (0s)
        [3] => 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 cpg149_usergroups WHERE group_id in (1) (0.001s)
        [4] => SELECT group_name FROM  cpg149_usergroups WHERE group_id= 1 (0s)
        [5] => SELECT user_favpics FROM cpg149_favpics WHERE user_id = 1 (0.001s)
        [6] => DELETE FROM cpg149_banned WHERE expiry < '2006-11-27 19:41:10' (0s)
        [7] => SELECT * FROM cpg149_banned WHERE (ip_addr='87.112.30.3' OR ip_addr='87.112.30.3' OR user_id=1) AND brute_force=0 (0.007s)
        [8] => SELECT category FROM cpg149_albums WHERE aid='7' (0s)
        [9] => SELECT COUNT(*) FROM cpg149_pictures WHERE approved = 'NO' (0s)
    )

    ==========================
    GET :
    ------------------
    Array
    (
       
[b_input_php] =>
)

==========================
POST :
------------------
Array
(
    [album] => 7
    [MAX_FILE_SIZE] => 5242880
    [title] => me
    [caption] =>
    [keywords] =>
    [event] => picture
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.4 - OK
------------------
mySQL version: 5.0.24-standard
------------------
Coppermine version: 1.4.9(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 2
Client API version 5.0.24
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.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 | .:/usr/share/pear
open_basedir | no value | 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 | 60 | 60
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.257 seconds - 10 queries in 0.01 seconds - Album set : ; Meta set: ;
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: yet another upload problem
« Reply #3 on: November 27, 2006, 08:52:04 pm »

nope :'( here is the log.
Haven't asked for it. Don't post debug_output unless requested. The thread I refered to was suppossed to tell you what server-sided settings have an impact on uploading in coppermine, because that's what you have asked for as far as I can see.

If uploading smaller files works and you have issues with larger files, experiment with those server-sided settings if your webhost allows you to do so.
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 19 queries.