DTH-Scripts.com

Please login or register.

Login with username, password and session length
Advanced search  
FF Guestbook V1.2 Released.

Author Topic: V1.1 Bugs  (Read 853 times)

Daniel Hill

  • Script Creator
  • Administrator
  • Newbie
  • *****
  • Posts: 12
    • View Profile
    • WWW
V1.1 Bugs
« on: October 04, 2009, 10:02:51 AM »
I found 2 bugs in the 1.1 version of FF Guestbook yesterday, these were:
  • Comments would sometimes enter a blank line in the flat file which would result in future comments not being entered into the file correctly and also not displaying on the Guestbook, Fixed by changing the position of the \n in the string that is written to the file.
  • I accidentally left the Documentation link at the top of the Guestbook this has now been removed.

I have uploaded a fixed file downloadable here: http://dth-scripts.com/Downloads/file.php?id=3

Installation Instructions:
1, Upload FFGuestbook.php to your server, when asked to overwrite existing file choose yes.

NOTE: This Fix Is For V1.1 ONLY!!, This fix is not required if you downloaded V1.1 on or after 4th October 09.

Using this file for a V1.0 installation will result in your Guestbook not working full stop!

If you find any other bugs in V1.1 please let me know via this post Thanks.

Daniel hill
« Last Edit: October 25, 2009, 07:58:21 PM by Daniel Hill »
Logged
Daniel Hill
DTH-Scripts.com

Daniel Hill

  • Script Creator
  • Administrator
  • Newbie
  • *****
  • Posts: 12
    • View Profile
    • WWW
Re: V1.1 Bugs
« Reply #1 on: October 19, 2009, 04:37:40 AM »
After posting a comment on the V1.1 Guestbook this morning I became aware of a number of bugs:

1. If a comment includes a Carriage Return(New Line) the scripts treats it as 2 comments and splits it when it displays the comment.

2. For some bizzare reason when the comment string is written to the file it writes the date twice.

I thought I fixed point 1 in V1.1, it would appear not, I shall take a look into the code in more depth this evening see if it is a small fix, although I think point 1 will require a bit more coding to fix and point 2 I can't currently see an explanation for

Rest assured neither of these bugs appear to be present in V1.2.

Update: Both bugs fixed today, view Quick Fix
« Last Edit: October 19, 2009, 12:51:04 PM by Daniel Hill »
Logged
Daniel Hill
DTH-Scripts.com