I have a lot of the following message in debug file
PHP Warning: Cannot modify header information - headers already sent in Unknown on line 0
version 1.3.9h
Why is not a file defined and i see "Unknown" ?
PS.
It is an admin related warning
I have a lot of the following message in debug file
PHP Warning: Cannot modify header information - headers already sent in Unknown on line 0
version 1.3.9h
Why is not a file defined and i see "Unknown" ?
PS.
It is an admin related warning
Did it show which file has been sent? Mostly its to do with the end of a file that ends with ?> with spaces after.
here is an article to help you solve your problem.
https://www.zen-cart.com/tutorials/index.php?article=87
Thanks
I've already read it.
The problem is that there is no file, but "Unknown on line 0"
When did this suddenly start happening? How might that be significant?
"Unknown on line 0" is used whenever the PHP engine is encountering a problem that's triggered by something for which it can't identify the filename. That might be a server configuration issue, or a compiled PHP library component. Those would be things your host would have to fix.
It might be triggered by using encrypted or encoded PHP scripts / addons. So, if you've added one of those recently then you'll need to sort that problem out with the author you purchased the addon from.
It might not (and quite likely does not) have nothing to with Zen Cart core code at all. If it's caused by files added to your Zen Cart files/folders, either by you or maliciously by an intruder, you can at least check to see whether something unexpected exists by doing a comparison: http://www.zen-cart.com/wiki/index.p...Obscure_Issues
And if you do find stuff on your server that you didn't put there or don't expect to see there, then you should really inspect everything thoroughly: http://www.zen-cart.com/wiki/index.p...ing_From_Hacks
You may find it necessary to engage your hosting company to determine the actual cause of the error.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.