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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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.]  :-*