PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  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
Paladin_Brewer
New Member
New Member


Joined: Nov 13, 2003
Posts: 23

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

Evenin'

When people post on my Guest Book, they get a popup to download modules.php. You can try it yourself and see here:
Only registered users can see links on this board!
Get registered or login to the forums!


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


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

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

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


Joined: Nov 13, 2003
Posts: 23

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

I didnt change a single file in the Guest Book. Anyways ill email it out right now.
View user's profile Send private message
Raven
Site Admin/Owner


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

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

Can you run phpinfo() and see if output_buffering is On?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Paladin_Brewer
New Member
New Member


Joined: Nov 13, 2003
Posts: 23

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

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


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

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

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


Joined: Nov 13, 2003
Posts: 23

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

Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
Raven
Site Admin/Owner


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

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

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


Joined: Nov 13, 2003
Posts: 23

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

Ok noob question Smile How would I create a .htaccess file Very Happy hehe
View user's profile Send private message
Raven
Site Admin/Owner


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

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

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


Joined: Nov 13, 2003
Posts: 23

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

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


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

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

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


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

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

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


Joined: Nov 13, 2003
Posts: 23

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

No that didnt work. Ill email my host people heh. Maybe if Im lucky itll fix my coppermine problem too Wink
View user's profile Send private message
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-2011 by Raven

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 Modified by the RavenNuke™ Team ::

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

zerosum