[Phpmyadmin-devel] "Cannot modify header information" and strange character anomalies.

Marc Delisle marc at infomarc.info
Wed Jul 15 20:10:01 CEST 2009


Derek Schaefer a écrit :
> Thank you both, Marc and Michal, for your help in tracking this down.
> With those modifications it no longer throws any back traces or causes
> any character anomalies.
> 
> Now that I look at it, it does strike me as having rather awkward
> placement (above the horizontal links bar, etc.). What I'm thinking of
> doing instead is to roll it into the existing "successful import"
> message, so like the following:
> 
> http://downloads.moonlapse.org/pma/import_interface2.jpg

Your screenshot looks fine.
> 
> ... and normal imports not aided by my library extensions will still
> be displayed normally:
> 
> http://downloads.moonlapse.org/pma/import_interface1.jpg
> 
> I believe it just makes more sense this way. Let me know what you think.



> 
> -Derek
> 
> On Wed, Jul 15, 2009 at 3:05 AM, Marc Delisle<marc at infomarc.info> wrote:
>> 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



-- 
Marc Delisle
http://infomarc.info




More information about the Developers mailing list