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: Error in upload.php [Undefined offset]  (Read 2712 times)

0 Members and 1 Guest are viewing this topic.

Chirrilona

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Error in upload.php [Undefined offset]
« on: June 03, 2007, 06:11:20 pm »

When I want upload pic I get this error:

Notice: Undefined offset: 2 in /var/www/vhosts/xxx/httpdocs/galerija/upload.php on line 257

Notice: Undefined offset: 3 in /var/www/vhosts/xxx/httpdocs/galerija/upload.php on line 263

Notice: Undefined offset: 4 in /var/www/vhosts/xxx/httpdocs/galerija/upload.php on line 263

I set permisson for album and other subfolders to 777.
« Last Edit: June 04, 2007, 08:56:13 am by GauGau »
Logged

Nibbler

  • Guest
Re: Error in upload.php [Undefined offset]
« Reply #1 on: June 03, 2007, 06:14:15 pm »

It's nothing, don't worry about it.
Logged

Chirrilona

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Error in upload.php [Undefined offset]
« Reply #2 on: June 03, 2007, 06:43:11 pm »

Btw I didt install it by my control pannel from my server hoster, and I thought everything gonna be ok, but it has many errors.  ???

Well when I'm uploading says pic is uploaded, but when I choose were to put it says:

Notice: Undefined index: user1 in /var/www/vhosts/xxx/httpdocs/galerija/upload.php on line 2155

Notice: Undefined index: user2 in /var/www/vhosts/xxx/httpdocs/galerija/upload.php on line 2156

Notice: Undefined index: user3 in /var/www/vhosts/xxx/httpdocs/galerija/upload.php on line 2157

Notice: Undefined index: user4 in /var/www/vhosts/xxx/httpdocs/galerija/upload.php on line 2158

Warning: rename(): SAFE MODE Restriction in effect. The script whose uid is 10583 is not allowed to access /var/www/vhosts/xxx/httpdocs/galerija/albums/userpics/10001 owned by uid 33 in /var/www/vhosts/xxx/httpdocs/galerija/upload.php on line 2238

Notice: Undefined variable: PIC_NEED_APPROVAL in /var/www/vhosts/xxx/httpdocs/galerija/upload.php on line 2278
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Error in upload.php [Undefined offset]
« Reply #3 on: June 03, 2007, 10:01:44 pm »

Nowhere I can read 'error', just notice and warning. If notices don't mean anything to you then it probably is best to disable displaying them

From the docs:
Quote
Display notices in debug mode

May be helpful to troubleshoot problems with your coppermine install - only recommended if you know a little PHP and you can understand the additional error messages this option shows. This option only applies if debug mode is enabled.

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_misc
it's recommended to read the docs

Chirrilona

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Error in upload.php [Undefined offset]
« Reply #4 on: June 04, 2007, 01:17:03 am »

Now its working. Thanx for help! [You can close this topic.]  :-*
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.