Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> KISGB General Support
Author Message
Hurricane
New Member
New Member



Joined: Nov 25, 2005
Posts: 23
Location: Newnan, GA

PostPosted: Mon Feb 06, 2006 11:12 am Reply with quote

I'm running on PHP-Nuke 7.8 (yeah, I know...) and have the KISGB installed. Everything seems to work fine, but now, all sudden the Guestbook is gone. I still can go into the admin part, but if I want to view the GB, nothing can be seen.
My website is http://www.jclemens.com
 
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Mon Feb 06, 2006 11:15 am Reply with quote

Things don't just happen. What did you change since the last time it was working? Is the module still set to active?
 
View user's profile Send private message
Hurricane







PostPosted: Mon Feb 06, 2006 11:22 am Reply with quote

Raven, I'm telling you...it just dissappeared. I was adding a couple new blocks and themes to my site. All I changed with the guestbook, was changing the view from icons to text. I've checked it after the change, and everything was fine then. 1 day later the whole GB is gone.
However, I've noticed some problems with my database since I've installed MS Analysis 2.2 - for example registered users from today don't show up in the user info block as a number, it remains on 0, also the referrer block is screwed up...got the picture?
 
Raven







PostPosted: Mon Feb 06, 2006 11:25 am Reply with quote

Restore a backup from before the problems started and start over. If the folder and files are still there then the gb is still intact.
 
Hurricane







PostPosted: Mon Feb 06, 2006 11:35 am Reply with quote

On my host forum (Powweb) the following message is posted:

"PHP is currently being upgraded to 4.4.2 and and 5.1.2, Zend is currently being upgraded to 2.6.0.

If you use zend and a custom php.ini:
http://kb.powweb.com/questions/297/U...Custom-php.ini

Please either download a new copy to replace your current php.ini and make your required modifications prior to upload - or make the below changes to your php.ini in place:

[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-2_6_0
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-2_6_0
zend_optimizer.version=2.6.0
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so

Replacing:
[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-2.5.10
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-2.5.10
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so

If you do not use a custom php.ini, no changes are necessary."

http://forum.powweb.com/showthread.php?threadid=61564

Can this upgrade have an effect on the GB?
 
Hurricane







PostPosted: Mon Feb 06, 2006 12:35 pm Reply with quote

I reinstalled the guestbook and still the GB is not showing...
 
Raven







PostPosted: Mon Feb 06, 2006 3:06 pm Reply with quote

There known and published incompatabilities with PHP4 and PHP5. There could be issues but I am not aware of any that concern the GB. Check your error_log and see if that helps. I do not use, nor develop under, nor recommend PHP5, as of yet.
 
Hurricane







PostPosted: Mon Feb 06, 2006 8:26 pm Reply with quote

So, I tryed to upload the backup, reinstalled the guestbook - and still same problem.
I confirmed that I'm running on:
Os: FreeBSD
PHP: 4.4.2
MySQL: 4.1.15-log

And I read what you said - so basically I'm screwed!
So what other guestbook can I use? It's a shame, since I really like yours!
 
Raven







PostPosted: Mon Feb 06, 2006 10:20 pm Reply with quote

Since it does not use MySQL then it's not a MySQL issue. If you're still on 4.4.2 then something else has happened. Either something you did (like adding another module or whatever) or, just possibly, something in the guestbook file is a corrupted message and is throwing everything off.

I just tried it and my guess is that there's a bad entry in the guestbook. Try this. Try renaming the kisgb.csv.php file and then create a new kisgb.csv.php file and add these 2 lines in the file.

Code:
<? Header("HTTP/1.0 403 Forbidden");exit; ?>

msgid,ip,date,time,"name","email","home","pic","icq","aim","yim","msn","nation","comments","private","password"


Ftp it and change the perms to 0666. Does that work?
 
Hurricane







PostPosted: Sat Feb 18, 2006 12:18 pm Reply with quote

Unfortunately this didn't fix the problem Crying or Very sad

Well, I guess I'll have to find a new Guestbook Sad

Thanks Raven!
 
Hurricane







PostPosted: Wed Mar 08, 2006 12:24 pm Reply with quote

So, I was able to identify a problem:

Only unregistered users can see my guestbook. Logged in as an admin or as a registered user I can't see it.

I have to disable htaccess (renaming it) otherwise no pics are shown.

My htaccess has the following entry: PHP_FLAG magic_quotes_gpc On

I hope that you guys can help me.

http://www.jclemens.com/modules.php?name=kisgb-nuke
 
Raven







PostPosted: Wed Mar 08, 2006 1:05 pm Reply with quote

In your Nuke admin control panel => Modules admin screen, how have you set your permissions for who can view the guestbook?
 
Hurricane







PostPosted: Wed Mar 08, 2006 1:18 pm Reply with quote

The module is set to All visitors
 
Raven







PostPosted: Wed Mar 08, 2006 1:39 pm Reply with quote

Quote:
I have to disable htaccess (renaming it) otherwise no pics are shown.

That means you are [possibly] trying to stop hot linking of images? If so, you need to set an exclusive allow for your module.
 
Hurricane







PostPosted: Thu Mar 09, 2006 12:03 am Reply with quote

You are right Raven, I do not allow hot linking on my Formula 1 section of my site. So how do I make an exception for the Guestbook?
I'm sure I'm not the only one protecting his bandwidth that way Rolling Eyes
 
Raven







PostPosted: Thu Mar 09, 2006 1:32 am Reply with quote

In your .htaccess file, use code similar to this

RewriteCond %{HTTP_REFERER} !^http://www.jclemens.com/.*$ [NC]
RewriteRule .*\.(jpeg|png|bmp)$ - [F,NC]
 
Hurricane







PostPosted: Mon Mar 13, 2006 2:29 pm Reply with quote

Well Raven,

I've checked if my overall htaccess file has

RewriteCond %{HTTP_REFERER} !^http://www.jclemens.com/.*$ [NC]
RewriteRule .*\.(jpeg|png|bmp)$ - [F,NC] - which it has.

Changing the KISGB htaccess file did not solve the problem either. The pics won't appear. Only without the KISGB access file the pics show up.

Any word from you, to why only unregistered users can see the guestbook?
 
Raven







PostPosted: Mon Mar 13, 2006 3:16 pm Reply with quote

It is obvious that your pic problem lies in your .htaccess code. If you have it set to all visitors then it should work. I don't know. Comment out your .htaccess completely nd see how it behaves.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> KISGB General Support

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©