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: Upload errors  (Read 3420 times)

0 Members and 1 Guest are viewing this topic.

wired

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Upload errors
« on: July 29, 2004, 08:34:39 pm »

hello,.......again

upon trying to upload pics into the gallery i get the following errors:


Notice: Undefined index: file_upload_array in /home/content/s/c/o/scottd/html/gallery/upload.php on line 1014

Notice: Undefined variable: escrow_array in /home/content/s/c/o/scottd/html/gallery/upload.php on line 1939

Notice: Undefined variable: file_failure_array in /home/content/s/c/o/scottd/html/gallery/upload.php on line 1940

Notice: Undefined variable: URI_failure_array in /home/content/s/c/o/scottd/html/gallery/upload.php on line 1941

Notice: Undefined variable: zip_failure_array in /home/content/s/c/o/scottd/html/gallery/upload.php on line 1942

The dubug info:


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

==========================
USER DATA:
------------------
Array
(
   
  • => 2
[user_id] => 2
    [1] => wired
    [user_name] => wired
    [2] => 1
    [user_level] => 1
    [groups] => Array
        (
           
  • => 1
  • [1] => 2
            )

       
[group_quota] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [upload_form_config] => 3
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [custom_user_upload] => 0
    [disk_max] => 1024
    [disk_min] => 0
    [ufc_max] => 3
    [ufc_min] => 3
    [has_admin_access] => 1
    [group_name] => Admin
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content FROM cpg130_filetypes;
  • [1] => SELECT user_id, username as user_name, user_level FROM `wired`.phpbb_sessions INNER JOIN `wired`.phpbb_users ON session_user_id = user_id WHERE session_id='1c7c8c8bf59dff6233320c05495183bc' AND session_user_id ='2' AND user_active='1'
        [2] => SELECT (ug.group_id + 5) as group_id FROM `wired`.phpbb_user_group as ug LEFT JOIN `wired`.phpbb_groups as g ON ug.group_id = g.group_id WHERE user_id = 2 AND user_pending = 0 AND group_single_user = 0
        [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 cpg130_usergroups WHERE group_id in (1,2)
        [4] => SELECT group_name FROM  cpg130_usergroups WHERE group_id= 1
        [5] => DELETE FROM cpg130_banned WHERE expiry < 1091125905
        [6] => SELECT * FROM cpg130_banned WHERE ip_addr='68.68.11.10' OR ip_addr='68.68.11.10' OR user_id=2
    )

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

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

       
[control] => phase_1
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.2 - OK
------------------
mySQL version: 4.0.20-max-log
------------------
Coppermine version: 1.3.1
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0.12 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
==========================
Module: mysql
------------------
Active Persistent Links 0
Active Links 1
Client API version 3.23.49
MYSQL_MODULE_TYPE builtin
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
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 | ~ | ~
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 | .:/usr/local/lib/php
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.127 seconds - 7 queries in 0.009 seconds - Album set :


Any suggestions?
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Upload errors
« Reply #1 on: July 29, 2004, 08:45:08 pm »

Does the upload actually work, without any warnings, with the debug turned off?

Moving this to the correct board.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

wired

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Upload errors
« Reply #2 on: July 29, 2004, 09:25:02 pm »

well it did actually work before i updated from 1.3.0 to 1.3.1. Which is actually part of the reason for me to update.

I wasn't able to change the configuation file. It seemed as though godaddy changed the server vars on me. Implimented the workaround temporarily found on another post. cgi/php error

After the update i lost my album. Not sure why, but oh well. now I am trying to repopulate it.


No after I try to upload It says

0 files uploaded.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upload errors
« Reply #3 on: July 30, 2004, 08:22:26 am »

sounds like not all cpg1.2 files where updated with cpg1.3 files on your server.

GauGau
Logged

wired

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Upload errors
« Reply #4 on: July 30, 2004, 09:35:56 pm »

hhhmmm... thanx i'll take a look again

 :-*
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 15 queries.