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 > General Forums > General Discussion

General Discussion General use discussion forum for PhotoPost products.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old April 10th, 2006, 11:35 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jan 2004
Location: Portland, Oregon
Posts: 116
Undefined variable error

The follwoing is from my apache error log file

PHP Notice: Undefined variable: argv in /xxx/xxx/html/photopost/index.php on line 15

here is the start of line 15 for the pp code:


if ( is_numeric($argv[0]) ) {
header("Location: {$Globals['maindir']}/showphoto.php?photo={$argv[0]}");
exit;
}
jtorral is offline   Reply With Quote
Old April 11th, 2006, 07:12 PM   #2 (permalink)
Member
Verified Customer
 
Join Date: Jan 2004
Location: Portland, Oregon
Posts: 116
Anyone know?
jtorral is offline   Reply With Quote
Old April 12th, 2006, 07:48 AM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
Your error reporting is set too high. Nothing to worry about as its just reporting an empty variable which is not abnormal
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old June 20th, 2006, 07:06 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Jul 2003
Posts: 41
Where would I go about setting the error reporting lower? In httpd.conf I currently use "warn" as the option.. Which would be lower, and why is this the only error of THIS type that ever shows up in there?

Ahh I see some reporting in the php file too, I'll play with the log option there.. Still curious why so far only PP is dropping errors in there?

Last edited by Alien515; June 20th, 2006 at 07:17 PM.
Alien515 is offline   Reply With Quote
Old June 20th, 2006, 09:15 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
If your on windows and dont have access to lower it you can safely remove the code noted from index.php
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to correct undefined variable: argv sailnet Photopost Pro Installation & Upgrades 2 February 24th, 2006 10:03 AM
Notice: Undefined variable: argv in d:\html\mysite\review\index.php on line 16 sailnet Classifieds Installation & Upgrades 1 January 24th, 2006 05:35 PM
Undefined Variable / Undefined Constant TimB ReviewPost Bug Reports 1 March 17th, 2005 05:43 PM
Undefined variable: argv error V4.0.1 flumpydog Photopost Pro Installation & Upgrades 5 July 5th, 2004 09:37 PM
Notice: Undefined variable: ppperpage in <---Help? box1234 ReviewPost Installation & Upgrades 1 July 1st, 2004 05:51 PM


All times are GMT -5. The time now is 07:43 AM.

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