Error in upload.php [Undefined offset] Error in upload.php [Undefined offset]
 

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]

Main Menu

Error in upload.php [Undefined offset]

Started by Chirrilona, June 03, 2007, 06:11:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Chirrilona

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.

Nibbler


Chirrilona

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

Stramm

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:
QuoteDisplay 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

Now its working. Thanx for help! [You can close this topic.]  :-*