Author |
Message |
Paladin_Brewer
New Member


Joined: Nov 13, 2003
Posts: 23
|
Posted:
Thu Nov 13, 2003 3:15 am |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Thu Nov 13, 2003 7:17 am |
|
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 |
|
|
 |
Paladin_Brewer

|
Posted:
Thu Nov 13, 2003 4:43 pm |
|
I didnt change a single file in the Guest Book. Anyways ill email it out right now. |
|
|
|
 |
Raven

|
Posted:
Thu Nov 13, 2003 5:18 pm |
|
Can you run phpinfo() and see if output_buffering is On? |
|
|
|
 |
Paladin_Brewer

|
Posted:
Thu Nov 13, 2003 5:57 pm |
|
Im pretty much a noob when it comes to PHP stuff......so I really dont know what that means nor how to run it  |
|
|
|
 |
Raven

|
Posted:
Thu Nov 13, 2003 6:03 pm |
|
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. |
|
|
|
 |
Paladin_Brewer

|
Posted:
Thu Nov 13, 2003 7:06 pm |
|
|
|
 |
Raven

|
Posted:
Thu Nov 13, 2003 8:22 pm |
|
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

|
Posted:
Thu Nov 13, 2003 9:40 pm |
|
Ok noob question How would I create a .htaccess file hehe |
|
|
|
 |
Raven

|
Posted:
Thu Nov 13, 2003 9:51 pm |
|
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

|
Posted:
Thu Nov 13, 2003 10:02 pm |
|
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  |
|
|
|
 |
Raven

|
Posted:
Thu Nov 13, 2003 10:12 pm |
|
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

|
Posted:
Thu Nov 13, 2003 10:30 pm |
|
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

|
Posted:
Thu Nov 13, 2003 10:44 pm |
|
No that didnt work. Ill email my host people heh. Maybe if Im lucky itll fix my coppermine problem too  |
|
|
|
 |
|