PDA

View Full Version : ERROR - Moved to new server


deniselambert
February 26th, 2007, 11:48 AM
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?

Thanks!

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

I suggest trying the latest downloadable code

deniselambert
February 26th, 2007, 12: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, 12: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]}");
exit;
}


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

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

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