[EventCalendar] ec3_get_events() not translating ampersands into
character entities
Alex Tingle
alex at firetree.net
Thu Oct 11 14:52:07 UTC 2007
Hi Elizabeth,
Your entity problem in the event list are clearly a bug. I've been able
to reproduce them on my test set-up, and I've confirmed that the fixes
in ec3_get_events() do indeed resolve the problem. Let's call that fixed
and move on...
However, I CANNOT reproduce your problem with missing ';' in the
calendar. I see the behaviour on your blog, but I can't reproduce it in
my test set-up.
>> I think you should have a look into your database and check the
>> offending entry to know for sure
>
> When (if) I figure out how to look into my database (and what to look
> for), I'll report back.
Do you have PHPMyAdmin? With that, you can "export" the database into
SQL - just zip it up and send it to me and I'll have a look. (If you
don't mind me seeing all of your data, that is.)
Failing that, just send me what you get with this SQL:
SELECT post_title FROM wp_posts;
Again, zip it up before you send it - that helps to ensure that the data
survives the e-mailing process intact.
Oh, and don't send large attachments to the list - they'll get rejected.
Just send them directly to me.
-Alex
--
ejm wrote:
> Hello PT;
>
> Perhaps I didn't make it clear that there are hundreds of entries like
> this. Any time there is an ampersand, single quote or extended
> character in the title, the character entity without the final
> semicolon appears in the title spec for any calendar entry made with
> ec3_get_calendar().
>
> But the character entities are being correctly translated within
> wordpress itself, and with entries made by ec3_get_events().
>
>> I think you should have a look into your database and check the
>> offending entry to know for sure
>
> When (if) I figure out how to look into my database (and what to look
> for), I'll report back.
>
> -E
>
>
> On Thu, 11 Oct 2007 11:38:35 +0200, "Dr. Peter Troxler"
> <peter.troxler at gmx.net> wrote:
>
>> On 11-okt-2007, at 11:23, ejm wrote:
>>
>>> Is it at all possible that wp itself might be stripping away the
>>> semicolons? Has anyone else encountered these same errors?
>>>
>> I think you should have a look into your database and check the
>> offending entry to know for sure
>>
>>> -ejm
>>>
>>> On Thu, 11 Oct 2007 08:27:42 +0200, "Dr. Peter Troxler"
>>> <peter.troxler at gmx.net> wrote:
>>>
>>>> why isn't there a ; after the & in the first place ???
>>>> (this is exactly what the error message is telling us: reference not
>>>> terminated by REFC delimiter.)
>>>>
>>>> so we are looking in the wrong place to fix something that cannot be
>>>> fixed that way.
>>>>
>>>> you need to find out where this wrongly encoded & comes from (maybe a
>>>> manual entry?)
>
>
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar
--
:: Let me solve your problems: http://www.firetree.net/consulting/
:: alex.tingle AT firetree.net +44-7901-552763
More information about the EventCalendar
mailing list