KISGB 4.2.0 Released - MUST UPGRADE!!

Posted on Sunday, December 22, 2002 @ 12:13:50 UTC in Bugs
by gcf

This is a must upgrade!!!
Through discussions and testing with the bug testing team at php.net, I discovered that using the flock($fp,1) function under win32, with the upcoming 4.3.0 PHP release, requires very careful handling. Under previous releases of PHP and/or win32, the behavior appeared to be working and non-fatal. However, under the forth-coming 4.3.0 release of PHP, the flock($fp,1) call, under windows and used the way KISGB implemented it, will cause an erasure of your entire guestbook when you attempt to edit a message - not good. Apparently *nix handles the call a different way and so the problem, although always there, never surfaced. Read on for instructions on how to patch your current version, should you not choose to upgrade.If you choose not to upgrade (not recommended), then you need to modify the following modules: addtogb.php admin.php updategb.php Find all occurrences of flock($fp,1) and modify them to flock($fp,2). Since there are other modifications in the 4.2.0 release, I (repeating myself again) HIGHLY recommend that you just upgrade :).
 
 
click Related        click Share
 
News ©

Site Info

Last SeenLast Seen
  • vashd1
  • kguske
Server TrafficServer Traffic
  • Total: 482,540,880
  • Today: 19,777
Server InfoServer Info
  • Apr 26, 2024
  • 01:44 pm UTC