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 > ReviewPost Pro Support Forums > ReviewPost How do I...?

ReviewPost How do I...? Wondering how to do something in ReviewPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old January 9th, 2006, 06:45 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Oct 2005
Location: Maryland
Posts: 85
RP in my error logs

I happened to check my server error logs today and I found this:

[client 68.71.198.84] PHP Notice: Undefined variable: argv in /var/www/html/mydomain.com/reviewpost/index.php on line 16, referer: http://www.mydomain.com

Line 16 is: if ( is_numeric($argv[0]) ) {

I have a link to the program on my site index page that uses <a href="http://mydomain.com/reviewpost"> to direct people there. The link works but that undefined argv error shoes in my error log each time.

Is there a way to correct this?
ace67 is offline   Reply With Quote
Old January 9th, 2006, 06:51 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,720
PHP will have empty arguements from time to time. The correct resolution would be to edit your php.ini and turn down error reporting as it is set too high.
__________________
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 January 9th, 2006, 07:49 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Oct 2005
Location: Maryland
Posts: 85
Quote:
Originally Posted by Chuck S
PHP will have empty arguements from time to time. The correct resolution would be to edit your php.ini and turn down error reporting as it is set too high.
No such thing as error reporting set too high.

Would it be possible to give it a value like $argv = null; or $argv = 0; or something like that to set the variable to have a value before line 16?
ace67 is offline   Reply With Quote
Old January 9th, 2006, 08:54 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,720
You could try that I am merely passing along what has been said here time and time again. If you set error reporting to report empty variables you are going to have that in your logs.

Thus the answer it is set to high. example most php configs set error reporting to 341 but on sites where error reporting is set to 2039 you might see this.
__________________
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
Moderator Logs trackpads vBGallery Suggestions 1 November 21st, 2005 05:23 PM
Logs of images and image pruning Borgs8472 vBGallery Suggestions 9 October 4th, 2005 06:21 PM
Warning showing up in error logs(NOT A BUG) Ted S Photopost Pro Bug Reports 2 July 31st, 2005 11:49 PM


All times are GMT -5. The time now is 03:24 AM.

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