PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old August 22nd, 2004, 12:05 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jan 2004
Posts: 62
Undefined Offset error message after upgrade

I just upgraded my 4.8c to 4.8.1 by selectively copying the changed files listed in the description of the upgrade.
When I go into the gallery (index.php) I get the following message:

Notice: Undefined offset: 0 in E:\Accounts\fdralumn\gallery\index.php on line 15

I am not a php programmer but did pull down an editor and looked at the line.
Lines 15-17 appear to be:

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

The software appears to be working but I would like to elminate this error message popping up when someone first goes into the gallery.

Thanks for your advice.
CEDillard is offline   Reply With Quote
Old August 22nd, 2004, 01:55 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
Basically this is because your error reporting is set abnormally high.

It is telling you that variable is empty. Of course it is. Thats just a double check to ensure that if a photo variable is passed to send them to showphoto instead of index.

You can correct the error reporting in php.ini or I have suggested to a few users they can safely remove those lines 15-17
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: ‘threadedmode’ is undefined(FIXED) cointech Classifieds Bug Reports 14 January 11th, 2006 09:07 AM
Upgrade error message smackLAN Installs and Upgrade - vBulletin 3.0.X 3 June 22nd, 2005 06:11 PM
Illegal offset type warning message CEDillard Photopost Pro Installation & Upgrades 6 March 1st, 2005 03:24 PM
installation error Fatal error: Call to undefined function: init_user_groups hoss ReviewPost Installation & Upgrades 1 January 16th, 2005 08:35 PM


All times are GMT -5. The time now is 04:53 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0