1
wizanda
What file could be edited within Xoops to make random .php files download?
  • 2007/10/25 17:44

  • wizanda

  • Home away from home

  • Posts: 1585

  • Since: 2004/3/21


Somewhere I have made an error in the system and it isn’t exactly telling me where….
i know it’s my fault somewhere, yet where (clues needed ), my recent changes are include_once system wide….

Yet bit stuck as to what would cause it, within Firefox to occasional download a blank .php file of the item it should be going too, any ideas?

2
wizanda
Re: What file could be edited within Xoops to make random .php files download?
  • 2007/11/22 11:37

  • wizanda

  • Home away from home

  • Posts: 1585

  • Since: 2004/3/21


Ok, found the problem and within it a solution….yet still not solved entirely….

Header + Footer .php
if (!headers_sent()){header('Content-Type:text/html; charset='._CHARSET);}


Basically since I set most includes as include_once….some times it misses this in the header and so presumes the system is PHP and is a fault with Firefox it’s self, that it then sends out a blank PHP file….

So since the common.php is called from the mainfile, I also tried adding it to there directly under neither when the zlib/gzip code is….on doing so it makes the refresh pages load properly….as it seems currently when XOOPS changes pages on submissions etc this is missed…..

Login

Who's Online

328 user(s) are online (243 user(s) are browsing Support Forums)


Members: 0


Guests: 328


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits