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 July 5th, 2004, 11:03 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Posts: 31
Question Undefined variable: argv error V4.0.1

I know this is an older version, just have not had time to upgrade it yet

I just moved one of our photopost installs to a new server and am now receiving the following error upon visiting the main page:
Notice: Undefined variable: argv in D:\inetpub\AACA Site\photopost\index.php on line 15

Line 15 has the following:

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

Any suggestions on what could be causing this?

This server is a Windows2003 box, running:
PHP V 4.3.7 (Safe_mode is off)
MySQL V 3.23.49

Permissions all seem fine as well.

Thanks,
Charlie
flumpydog is offline   Reply With Quote
Old July 5th, 2004, 03:22 PM   #2 (permalink)
donb
Guest
 
Posts: n/a
Is register_argc_argv turned off in the php.ini?
  Reply With Quote
Old July 5th, 2004, 04:32 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Posts: 31
it is turned on in php.ini
Thanks,
Charlie
flumpydog is offline   Reply With Quote
Old July 5th, 2004, 08:12 PM   #4 (permalink)
donb
Guest
 
Posts: n/a
I just noticed, you're getting a notice...

You might want to kill all notices, and just leave errors.

This is done in the php.ini file

There's nothing "wrong", it's just PHP's little way of saying "oh btw..."
  Reply With Quote
Old July 5th, 2004, 08:24 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Posts: 31
Thanks for the reply. This still does not make sense as the php.ini file is exactly the same as on the old box, errors on, etc.

killing the display of the error messsage, does not tell me why I am getting this error message now or if there is actually something wrong.

Thanks,
Charlie
flumpydog is offline   Reply With Quote
Old July 5th, 2004, 08:37 PM   #6 (permalink)
donb
Guest
 
Posts: n/a
As I said, it's NOT an error message. It's a "notice". Nothing is broken.
  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
Undefined Variable / Undefined Constant TimB ReviewPost Bug Reports 1 March 17th, 2005 04:43 PM
installation error Fatal error: Call to undefined function: init_user_groups hoss ReviewPost Installation & Upgrades 1 January 16th, 2005 07:35 PM
Notice: Undefined variable: ppperpage in <---Help? box1234 ReviewPost Installation & Upgrades 1 July 1st, 2004 04:51 PM


All times are GMT -5. The time now is 09:15 PM.

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