View Single Post
Old December 31st, 2005, 02:06 AM   #1 (permalink)
jason8459
Junior Member
Verified Customer
 
Join Date: Oct 2002
Posts: 11
Notice: Undefined offset: 0 error

Hi
I have just upgraded from PhotoPost 4.8.2 to the latest version 5.2.1 release, and now I get the following error on index.php (at the top of the page):

Notice: Undefined offset: 0 in line 15 (of PhotoPost's root index.php file)

We are running a Windows server, with MySQL 4 and PHP 4.3.0.

I searched the support forum but cannot see an mention of anyone else having this error.

Line 15 (which the error is displayed from) is the first line here:

if ( is_numeric($argv[0]) ) {
header("Location: {$Globals['maindir']}/showphoto.php?photo={$argv[0]}");
exit;
}

Last edited by jason8459; December 31st, 2005 at 02:12 AM.
jason8459 is offline   Reply With Quote