PDA

View Full Version : XML Guru?



Chris
April 2nd, 2010, 05:47 PM
Seemingly simple question, what does this mean?

XML Error: Space required at Line 54 (line 54 is the $eventbits line)

$pagetitle.=$year;
$eventbits .="<tr><td nowrap class=''><strong>".$date.":</strong></td><td width='100%' class=''><a href='calendar.php?do=getinfo&e=$did&c=".$calendarid."'>".$dtitle."</a></td></tr>";
$count++;

scout man
April 2nd, 2010, 06:20 PM
hmm, i think it means you should put a space in there somewhere :thunb:


:lmao: dont hate me

greenramp
April 3rd, 2010, 09:49 AM
it means you are craming the site with too much (*$(&$ and it needs a space for a minutes rest.

:) Don't hate me either

Jackie
April 3rd, 2010, 12:05 PM
Just guessing here...

$eventbits .=

Pull the space out before the period.

Chris
April 3rd, 2010, 12:23 PM
Nope, thanks for the suggestion!

Andrew
April 3rd, 2010, 10:24 PM
$date.":

Is the : supposed to be a ;? I bet it's either that, or a " is missing or something stupid and hard to see like that.

Chris
April 3rd, 2010, 10:25 PM
I'll have to see if I kept what i was looking for, probably trashed it in frustration.

Jackie
April 3rd, 2010, 11:50 PM
Looking at your code again, and some of the quotion marks seem off to me (although I 'm no guru).

$eventbits .="<tr><td nowrap class=''><strong>".$date.":</strong></td><td width='100%' class=''><a href='calendar.php?do=getinfo&e=$did&c=".$calendar id."'>".$dtitle."</a></td></tr>";
$count++;

In the above, the " before the first <tr> seems out of place. Also the class= definition looks like a possible issue with lacking of a start quote.

I really hope you solve whatever this is. I deal with this kind of crap every day and it drives me nuts!!!!!!!!!! It usually ends up being a stupid typo or space issue.:confused:

Chris
April 4th, 2010, 12:04 AM
Nope, I tossed it after spending too much time on it. It was supposed to be a pretty simple plugin that would have added the upcoming Runs to every page instead of just the main page. I did it on the old site but they changed a bunch of the coding in this version. Just not worth the time I've spent already.

Jackie
April 4th, 2010, 12:14 AM
Then... <"/">

!!!