[Phpmyadmin-devel] "Cannot modify header information" and strange character anomalies.
Marc Delisle
marc at infomarc.info
Wed Jul 15 10:05:30 CEST 2009
Michal Čihař a écrit :
> Hi
>
> Dne Tue, 14 Jul 2009 14:45:10 -0500
> Derek Schaefer <derek.schaefer at gmail.com> napsal(a):
>
>> Also, whenever the aforementioned notification panel is displayed,
>> strange character anomalies appear at the very bottom of the import
>> page. They change every time, but always take the form ",�<��Y". My
>> best guess is that it is related the the header issues, but until I
>> can get rid of them I can't know for sure.
>>
>> Here is a screenshot of the character anomaly and a couple of the
>> header backtraces:
>> http://downloads.moonlapse.org/pma/import_issues.jpg
>>
>> If anyone has some insight into these issues, I would greatly
>> appreciate any direction you could give.
>
> You show message too early, you should do it after showing links (at
> least this is where we show all messages, so you should keep the
> consistency).
>
Yes. Instead of displaying it in your lower function, try to pass
$message to a higher function, then let PMA_showMessage() which is
defined in common.lib.php do its job.
--
Marc Delisle
http://infomarc.info
More information about the Developers
mailing list