View Full Version : ERROR - Moved to new server

February 26th, 2007, 12:48 PM
Hello, I am getting this error on www.memorycrafts.ca/photopost

Notice: Undefined variable: argv in /var/www/vhosts/memorycrafts.ca/httpdocs/photopost/index.php on line 15

Anyone know why?


Chuck S
February 26th, 2007, 01:08 PM
What version of the software are you using?

I suggest trying the latest downloadable code

February 26th, 2007, 01:19 PM
Well, we bought it two years ago... so certainly not latest... but it worked on the other server... are you saying we have to pay for the program again to get rid of this error? That doesn't seem fair.

Chuck S
February 26th, 2007, 01:23 PM
No one is telling you that you have to pay for the program again at the very least you would purchase a members area renewal to get new code. Each license comes with one year free to download updates which you have passed.

You can try adding this in bold in index.php near this line at line 15 but I dont have an old version like that to be sure.

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

If your running a pre 5.0 version you should definately upgrade regardless of what I am posting here because of security issues.

February 26th, 2007, 01:27 PM
We are version 5.3

February 26th, 2007, 01:33 PM
I think that bit of code worked. Thanks.