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: 0 uploads were successful.  (Read 5821 times)

0 Members and 1 Guest are viewing this topic.

uRZuZ

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
0 uploads were successful.
« on: February 02, 2005, 10:20:06 pm »

0 uploads were successful.

why ?
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: 0 uploads were successful.
« Reply #1 on: February 03, 2005, 01:37:33 am »

We need a lot more information besides "why?"

How about telling us your setup, the particulars of your problem, etc?
Logged
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

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: 0 uploads were successful.
« Reply #2 on: February 03, 2005, 08:31:22 am »

Some pointers on how to ask a question on this board.

http://forum.coppermine-gallery.net/index.php?topic=2746.0
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: 0 uploads were successful.
« Reply #3 on: February 03, 2005, 09:27:01 am »

0 uploads were successful.

why ?
No coffee in my cup. Why?
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: 0 uploads were successful.
« Reply #4 on: February 03, 2005, 09:34:36 am »

Short manuall to solve coffee problem.

- Walk to the kitchen
- Open cabinet where the coffee filters and coffee powder are stored
- Take some coffee powder and 1 filter
- Take powder and filter to the coffee machine
- Insert filter into coffeemachine and add powder into filter
- Add water into coffeemachine reservoir
- Switch the machine ON
- Watch the magic of coffee drip into the coffee containing device
- Take a cup and pour the end result into it.
- Enjoy

Not a PHP wizzard myself otherwise the above could have been posted in a fancy style. Maybe someone more skilled at PHP could lend a hand ?
Logged

Aditya Mooley

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 781
    • My Sweet Home
Re: 0 uploads were successful.
« Reply #5 on: February 03, 2005, 09:42:20 am »

Quote
No coffee in my cup. Why?
;D  ;D  :D
Logged
--- "Its Nice 2 BE Important but its more Important 2 Be NICE" ---
Follow Coppermine on Twitter

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: 0 uploads were successful.
« Reply #6 on: February 03, 2005, 10:02:21 am »

Code: [Select]
if ($coffee_cup == 'empty') {
    walk_down_to_kitchen();
    if ($coffee_machine_status == 'off') {
        push('power_on-button');
        sleep(20);
    }
    put_cup_into_machine('empty', 'open_side up');
    array_push($button, 'medium-sized');
    sleep(20);
    if ($coffee_cup == 'empty') {
        echo "Hey, what's wrong?";
        $return = check('water', 'coffee beans', 'power supply');
        if ($return) {
            refill($resources);
        } else {
            echo "Oh my, what a day";
            call('tech_support');
            die("No more coding today");
        }
    } else {
        smile();
    }
}
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: 0 uploads were successful.
« Reply #7 on: February 03, 2005, 10:59:37 am »

 ;D Thank you GauGau. Maybe Starbucks is interested in using your piece of code  ;)
Logged

uRZuZ

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: 0 uploads were successful.
« Reply #8 on: February 03, 2005, 01:35:59 pm »

Sorry !!

USER:
------------------
Array
(
    [ID] => 5f609a564dd2e5f17f3f1c4ac01b6632
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 2
    [user_group] => 1
    [user_active] => YES
    [user_name] => SupermangoS
    [user_password] => ********
    [user_lastvisit] => 2005-02-02 22:58:53
    [user_regdate] => 2005-01-31 23:06:42
    [user_group_list] => 2
    [user_email] =>
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [disk_max] => 1024
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 0
    [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] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
           
  • => 2
  • [1] => 1
            )

    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content FROM cpg132_filetypes;
  • [1] => SELECT * FROM cpg132_users WHERE user_id='2'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '293e121ea613f326cd70fca19ee7bdb2'
        [2] => 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 cpg132_usergroups WHERE group_id in (2,1)
        [3] => SELECT group_name FROM  cpg132_usergroups WHERE group_id= 1
        [4] => DELETE FROM cpg132_banned WHERE expiry < 1107434122
        [5] => SELECT * FROM cpg132_banned WHERE ip_addr='213.231.102.210' OR ip_addr='213.231.102.210' OR user_id=2
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
       
[URI_array] => Array
        (
           
  • =>

        )

    [control] => phase_1
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.2 - OK
------------------
mySQL version: 4.0.18-standard
------------------
Coppermine version: 1.3.2
==========================
Module: gd
------------------
module doesn't exist
==========================
Module: mysql
------------------
module doesn't exist
==========================
Module: zlib
------------------
module doesn't exist
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | On | On
safe_mode_exec_dir | /data/apache/php/safe_exec | /data/apache/php/safe_exec
safe_mode_gid | Off | Off
safe_mode_include_dir | /data/apache/php/mmp_lib | /data/apache/php/mmp_lib
safe_mode_exec_dir | /data/apache/php/safe_exec | /data/apache/php/safe_exec
sql.safe_mode | Off | Off
disable_functions | highlight_file,diskfreespace, exec, passthru, system, popen, fsockopen, pfsockopen, show_source, php_uname, ini_get, ini_alter, ini_restore, ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, listen, chown, chmod, chgrp, realpath, tmpfile, link, mb_send_mail | highlight_file,diskfreespace, exec, passthru, system, popen, fsockopen, pfsockopen, show_source, php_uname, ini_get, ini_alter, ini_restore, ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, listen, chown, chmod, chgrp, realpath, tmpfile, link, mb_send_mail
file_uploads | On | On
include_path | .:/data/apache/php/mmp_lib | .:/data/apache/php/mmp_lib
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail | /usr/sbin/sendmail
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 10 | 10
max_input_time | -1 | -1
upload_max_filesize | 200000 | 200000
post_max_size | 512000 | 512000
==========================
Page generated in 0.157 seconds - 6 queries in 0.005 seconds - Album set :
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: 0 uploads were successful.
« Reply #9 on: February 03, 2005, 03:52:51 pm »

We don't need your debug output, we need a description like "when I was doing this, I got the error message XXX". A link to your page and a test user account (non-admin) might help as well, with debug_mode enabled for everyone (coppermine config), notices off (config) and "method for file uploads" set to "Single file uploads only" in "groups" for the group the test user is in.
This is what we always request when users report problems with upload issues, a quick scan through the "uploads" sub-board would have told you so.

Joachim
Logged

uRZuZ

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: 0 uploads were successful.
« Reply #10 on: February 03, 2005, 07:23:57 pm »

Mode Admin : Upload 1  photo , say 0 uploads were successful


Mode User : Upload 1 photo , say 0 uploads were successful


Mode Anonymous : Upload 1 photo , say no uploads any photo

but not with all photos , if with many of them
and activated the way debug : say
Notice: Undefined offset: 2 in /data/members/free/tripod/es/x/s/u/xsupermangosx/htdocs/coppermine/upload.php on line 250

Notice: Undefined offset: 3 in /data/members/free/tripod/es/x/s/u/xsupermangosx/htdocs/coppermine/upload.php on line 256
Notice: Undefined index: URI_array in /data/members/free/tripod/es/x/s/u/xsupermangosx/htdocs/coppermine/upload.php on line 1261

Notice: Undefined variable: escrow_array in /data/members/free/tripod/es/x/s/u/xsupermangosx/htdocs/coppermine/upload.php on line 1939

Notice: Undefined variable: file_failure_array in /data/members/free/tripod/es/x/s/u/xsupermangosx/htdocs/coppermine/upload.php on line 1940

Notice: Undefined variable: URI_failure_array in /data/members/free/tripod/es/x/s/u/xsupermangosx/htdocs/coppermine/upload.php on line 1941

Notice: Undefined variable: zip_failure_array in /data/members/free/tripod/es/x/s/u/xsupermangosx/htdocs/coppermine/upload.php on line 1942

to prove :
[edit GauGau]
Warning: link below is not worksafe!
[/edit]
http://usuarios.lycos.es/xsupermangosx/coppermine
« Last Edit: February 04, 2005, 11:52:29 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: 0 uploads were successful.
« Reply #11 on: February 04, 2005, 11:51:27 am »

I told you to disable notices display. In fact I told you to do several things - do as suggested and I will be able to help you. If you don't, there's nothing I can do to help you. Re-read my posting and do as suggested.
When posting a link to a page with adult content, always post a warning with it - I edited your posting accordingly.

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 15 queries.