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
Paladin_Brewer
New Member
New Member



Joined: Nov 13, 2003
Posts: 23

PostPosted: Thu Nov 13, 2003 3:15 am Reply with quote

Evenin'

When people post on my Guest Book, they get a popup to download modules.php. You can try it yourself and see here:

http://www.9thsword.org/modules.php?name=kisgb-nuke

Any help would be mucho appreciated.
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Thu Nov 13, 2003 7:17 am Reply with quote

Well that is truly bizarre! It posts and then downloads a file called modules[xx].php. Please zip your entire kisgb folder and email it to raven at ravenphpscripts dot com

In the almost 3 years that kisgb has been out I have never seen this. Normally when a browser tries to download it's because your server doesn't know how to handle a certain file type. In other words, if you hadn't told your server to associate .php files with php.so then it wouldn't know to call that so, etc. Have you changed any of the file names that come with kisgb to point to a file name with a different extension? The file that it is downloading doesn't look like a kisgb file because it is either gzipped or encrypted.


Last edited by Raven on Thu Nov 13, 2003 5:13 pm; edited 1 time in total 
View user's profile Send private message
Paladin_Brewer







PostPosted: Thu Nov 13, 2003 4:43 pm Reply with quote

I didnt change a single file in the Guest Book. Anyways ill email it out right now.
 
Raven







PostPosted: Thu Nov 13, 2003 5:18 pm Reply with quote

Can you run phpinfo() and see if output_buffering is On?
 
Paladin_Brewer







PostPosted: Thu Nov 13, 2003 5:57 pm Reply with quote

Im pretty much a noob when it comes to PHP stuff......so I really dont know what that means nor how to run it Smile
 
Raven







PostPosted: Thu Nov 13, 2003 6:03 pm Reply with quote

Sorry. Save this code to test.php and then ftp it to your server. Then post back the link where I can look at it.
Code:
<?

phpinfo();
?>
 
Paladin_Brewer







PostPosted: Thu Nov 13, 2003 7:06 pm Reply with quote

http://www.9thsword.org/test.php
 
Raven







PostPosted: Thu Nov 13, 2003 8:22 pm Reply with quote

If you have access to your php.ini, modify the setting
output_buffering = On
Then restart your server.

Otherwise, create a file called .htaccess (no extension) and add this line to it:
PHP_FLAG output_buffering On

Then ftp .htaccess to your root nuke directory and see if that fixes it.
 
Paladin_Brewer







PostPosted: Thu Nov 13, 2003 9:40 pm Reply with quote

Ok noob question Smile How would I create a .htaccess file Very Happy hehe
 
Raven







PostPosted: Thu Nov 13, 2003 9:51 pm Reply with quote

Use a good text editor like textpad. You can try notepad but it will add a .txt extension. You will then have to rename it after you ftp it.
 
Paladin_Brewer







PostPosted: Thu Nov 13, 2003 10:02 pm Reply with quote

Ok am I supposed to put any special code into this .htaccess? Cause I just put in that one line of code and uploaded it, and I got an error that wouldnt even let me connect to my site Sad
 
Raven







PostPosted: Thu Nov 13, 2003 10:12 pm Reply with quote

Only that one line. If you're receiving an error then delete it and contact your support ant tell them to turn output_buffering on. I'm not sure that's the problem but turning it on will not hurt anything. In fact it enhances. I do think it may be the problem though.
 
Raven







PostPosted: Thu Nov 13, 2003 10:30 pm Reply with quote

As a quick test, edit the addtogb.php file. At the top and at the bottom are two statements that begin with ob_ . Comment those 2 statements out with // . Then try to add a record and see what happens.
 
Paladin_Brewer







PostPosted: Thu Nov 13, 2003 10:44 pm Reply with quote

No that didnt work. Ill email my host people heh. Maybe if Im lucky itll fix my coppermine problem too Wink
 
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 ©