Author |
Message |
elro
New Member


Joined: Oct 14, 2003
Posts: 3
|
Posted:
Tue Oct 14, 2003 2:26 am |
|
Hi, I have successfully installed KISGB and would now like to use the logging function. I have removed the #'s from the logging code lines in index.php as is suggested in the comment lines.
However, after doing that the guestbook only displays 1 line that has to do with logging, but my entire guestbook disappears. Obviously I am doing something wrong but I have no idea what it is.... Does anyone have a suggestion?
Thanks,
elro |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Tue Oct 14, 2003 7:49 am |
|
Elro,
I will get back to you later today. Just got home late last night after a trip. The logging functionality was put in place so long ago that I have to review my own code ! |
|
|
|
 |
Raven

|
Posted:
Tue Oct 14, 2003 9:57 am |
|
Due to the changes in the way PHP now handles file locking, you will need to make the following changes for the logging to work. In the file classes.php, find this lineand change it toThe logging should now work if you followed the other instructions. Let me know if you are still experiencing any problems. |
|
|
|
 |
elro

|
Posted:
Tue Oct 14, 2003 2:26 pm |
|
Thanks for the tip, but unfortunately it does not solve my problem. Starting from a working situation, I remove the "#" preceding the 8 lines of code in index.php. After refreshing the guestbook I see a white page saying "logs/kisgb.log.php" and that´s it. The only resolution I have is to put back the "#" and return to a working guestbook with no logging
I have tried to find the exact source and the problem only occurs when I uncomment the 7th line in the logging code (in index.php): the one that has "writelog" in it. Is there a problem finding the right location for it (I have installed kisgb in a separate guestbook folder, not the root)?
Regards,
Elro |
|
|
|
 |
Raven

|
Posted:
Tue Oct 14, 2003 2:31 pm |
|
Why are you refreshing the guestbook? I'm confused about exactly what's happening at that point. Operationally, I uncommented the lines in index and corrected that 1 line of code in classes.php and it started logging. Are the permissions on the log files 777? |
|
|
|
 |
elro

|
Posted:
Tue Oct 14, 2003 2:51 pm |
|
By refreshing I simply meant refreshing the page in the browser to see the changes aftes removing the #, so that was not a big point.
The 777-issue was a good point though (I knew it had to be something simple ). Looks like the problem is solved!
Thanks!
Elro |
|
|
|
 |
sqzdog
Involved


Joined: Sep 22, 2003
Posts: 252
|
Posted:
Tue Oct 14, 2003 8:12 pm |
|
Sorry, newbie question, but what is:
KISGB
Splatt Forums |
|
|
|
 |
Raven

|
Posted:
Tue Oct 14, 2003 8:16 pm |
|
KISGB is a very popular and extremely configurable PHP guestbook that I wrote a couple years ago and continue to enhance and support. Read the reviews at http://www.hotscripts.com/Detailed/12041.html . I then ported it to Nuke a few months ago. get it from the download's area. Try it out here from the Navigation block.
SPLATT Forums used to be the forums that nuke used but since v6.5, I believe, nuke now uses PHPBB. |
|
|
|
 |
|