PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Feedback & News (http://www.phpdig.net/forum/forumdisplay.php?f=25)
-   -   PhpDig Version 1.8.4 Released (http://www.phpdig.net/forum/showthread.php?t=1573)

Charter 12-06-2004 01:45 AM

PhpDig Version 1.8.4 Released
 
Hi. PhpDig version 1.8.4 has been released as a 'minor+' release. The changes can be found in the Changelog file. There are five database table changes. To upgrade, make the changes to the database tables, reconfigure the new connect.php and config.php files, and copy over all of the files, overwriting the old files.

Charter 12-08-2004 03:36 PM

1 Attachment(s)
If you downloaded PhpDig 1.8.4 prior to the date of this post, the attached file contains some minor changes that you should make. The most pertinent change deals with the textbox and how URLs entered are read. Initially PhpDig 1.8.4 exploded textbox links on "http" (without the quotes) but this may cause a problem if you try to crawl a link such as http://www.http-in-domain-name.com so the attached file takes care of this. If you downloaded PhpDig 1.8.4 after the date of this post, the changes in the attached file have already been made.

Charter 12-10-2004 01:57 PM

If you downloaded PhpDig 1.8.4 prior to the date of this post, make the following change or else you may receive a "cannot unset string offsets" fatal error:

In robot_functions.php find:
PHP Code:

unset($links[$index]);
unset(
$http_scheme_array[$index]); 

And replace with:
PHP Code:

if (isset($links[$index])) { unset($links[$index]); }
if (isset(
$http_scheme_array[$index])) { unset($http_scheme_array[$index]); } 

If you downloaded PhpDig 1.8.4 after the date of this post, the change has already been made.

Charter 12-11-2004 10:14 AM

It is imperative that you make the following change ASAP! In fact, take PhpDig down until you hear the all clear, and change your passwords now. Make sure you have new passwords at once, and do not use PhpDig until you get the all clear. The problem can affect multiple versions of PhpDig.

In search.php find:
PHP Code:

extract(phpdigHttpVars(
     array(
'query_string'=>'string',
           
'refine'=>'integer',
           
'refine_url'=>'string',
           
'site'=>'string'// set to integer later
           
'limite'=>'integer',
           
'option'=>'string',
           
'lim_start'=>'integer',
           
'browse'=>'integer',
           
'path'=>'string'
           
)
     )); 

And replace with:
PHP Code:

extract(phpdigHttpVars(
     array(
'query_string'=>'string',
           
'refine'=>'integer',
           
'refine_url'=>'string',
           
'site'=>'string'// set to integer later
           
'limite'=>'integer',
           
'option'=>'string',
           
'lim_start'=>'integer',
           
'browse'=>'integer',
           
'path'=>'string'
           
)
     ),
EXTR_SKIP); 

Also, make sure to watch this thread (http://www.phpdig.net/forum/showthread.php?t=1573) for the next couple of days, as more posts may be coming. In the meantime, it would be a good idea to find every extract in the code and add the EXTR_SKIP option to the end. PhpDig will not be available for download until this problem is fixed.

Argh..........

Charter 12-12-2004 01:43 AM

Note: PhpDig v.1.8.5 contains the code changes posted in this thread plus some other changes. You must upgrade if you use a version of PhpDig earlier than v.1.8.5. Read this thread for information about PhpDig v.1.8.5.


All times are GMT -8. The time now is 01:54 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.