Error: PHP Notice: Undefined index: HTTP_HOST in ...schema_for_export.php on line 82

Post your support requests/solutions for phpMySQLAutoBackup [website]
davidgwalker
MODS thats what I do that is! But definately NO mod music! It has to be ROCK!
Posts: 1807
Joined: Mon Oct 25, 2004 8:20 pm
Location: Huddersfield, UK
Contact:

Error: PHP Notice: Undefined index: HTTP_HOST in ...schema_for_export.php on line 82

Postby davidgwalker » Tue Jan 06, 2015 9:21 am

If you are getting the error:
Error: PHP Notice: Undefined index: HTTP_HOST in ...schema_for_export.php on line 82

Edit the file:
/files/schema_for_export.php

Change line 82 from:
$thedomain = $_SERVER['HTTP_HOST'];

to:
$thedomain = $_SERVER['SERVER_NAME'];

If that still fails (it might) then change to:
$thedomain = "YourDomainName";

Hope it helps....

Return to “phpMySQLAutoBackup [forum]”

Who is online

Users browsing this forum: No registered users and 2 guests