If you downloaded PhpDig v.1.8.5
prior to the date of this post, then make the following changes:
In limit_upd.php find:
PHP Code:
while (list($id,$url,$days_db,$links,$depth,) = mysql_fetch_row($result_id)) {
And replace with:
PHP Code:
while (list($id,$url,$days_db,$links,$depth) = mysql_fetch_row($result_id)) {
Note the removal of the straggling comma after the $depth variable. This fixes the MySQL warning when you try to update sites from the admin panel.
In both search_function.php (two times) and function_phpdig_form.php (one time) find:
PHP Code:
$template_demo = $_REQUEST['template_demo'];
And replace with:
PHP Code:
$template_demo = urlencode(stripslashes(urldecode($_REQUEST['template_demo'])));
Note there are two replacements needed in search_function.php and one replacement needed in function_phpdig_form.php. The $template_demo variable can be passed back out to the browser, so this makes sure that output prints correctly.
In search_function.php find:
PHP Code:
$refine_url = "&refine=1&site=$site&path=$path";
And replace with:
PHP Code:
$refine_url = "&refine=1&site=$site&path=$path";
This change is for conformity in link format, using & instead of just the & symbol.
If you downloaded PhpDig v.1.8.5
after the date of this post, then the changes have already been made.