PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
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 Back to top

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
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15036
Location: Kansas

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

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 Visit poster's website AIM Address Yahoo Messenger
Hurricane
New Member
New Member


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

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

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?
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15036
Location: Kansas

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

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Hurricane
New Member
New Member


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

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

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:
Only registered users can see links on this board!
Get registered or login to the forums!


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."
Only registered users can see links on this board!
Get registered or login to the forums!


Can this upgrade have an effect on the GB?
View user's profile Send private message Visit poster's website
Hurricane
New Member
New Member


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

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

I reinstalled the guestbook and still the GB is not showing...
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15036
Location: Kansas

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

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Hurricane
New Member
New Member


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

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

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!
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15036
Location: Kansas

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

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?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Hurricane
New Member
New Member


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

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

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!
View user's profile Send private message Visit poster's website
Hurricane
New Member
New Member


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

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

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.
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15036
Location: Kansas

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

In your Nuke admin control panel => Modules admin screen, how have you set your permissions for who can view the guestbook?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Hurricane
New Member
New Member


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

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

The module is set to All visitors
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15036
Location: Kansas

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

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Hurricane
New Member
New Member


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

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

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
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15036
Location: Kansas

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

In your .htaccess file, use code similar to this

RewriteCond %{HTTP_REFERER} !^http://www.jclemens.com/.*$ [NC]
RewriteRule .*\.(jpeg|png|bmp)$ - [F,NC]
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Hurricane
New Member
New Member


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

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

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?
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15036
Location: Kansas

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

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum