coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: Chirrilona on June 03, 2007, 06:11:20 PM

Title: Error in upload.php [Undefined offset]
Post by: Chirrilona 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.
Title: Re: Error in upload.php [Undefined offset]
Post by: Nibbler on June 03, 2007, 06:14:15 PM
It's nothing, don't worry about it.
Title: Re: Error in upload.php [Undefined offset]
Post by: Chirrilona 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
Title: Re: Error in upload.php [Undefined offset]
Post by: Stramm 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:
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
Title: Re: Error in upload.php [Undefined offset]
Post by: Chirrilona on June 04, 2007, 01:17:03 AM
Now its working. Thanx for help! [You can close this topic.]  :-*