as per title.
not sure what's going on really, i think i edited something in Subs.php but not something relevant to the ajax/javascript stuff. it worked till yesterday.
this is what firefox's error console shows:
Error: not well-formed
Source File: http://www.pcentral.biz/forum/index.php?action=quotefast;quote=126302;sesc=06306a514d3429965cfd105efdb658c3;xml (http://www.pcentral.biz/forum/index.php?action=quotefast;quote=126302;sesc=06306a514d3429965cfd105efdb658c3;xml)
Line: 1, Column: 4
Source Code:
...<?xml version="1.0" encoding="UTF-8"?>
<smf>
<quote>(cut stuff)</quote>
</smf>
and
Error: XMLDoc.getElementsByTagName("quote")[0] is undefined
Source File: http://www.pcentral.biz/forum/Themes/default/xml_topic.js (http://www.pcentral.biz/forum/Themes/default/xml_topic.js)
Line: 29
thanks in advance.
bump?
bump again...
Please download the attached file, and run it from your SMF folder. It will tell you if the php files in SMF start with <?php and end with ?> as expected for almost all of them. If not, take care with what you edit a file: please note that some editors can insert characters they don't tell about, and which can break php execution, like byte order mark. :)
Alternatively, you can simply try restoring Subs.php from the installation package, in case you didn't have other mods edits in it.
Please, let us know if this issue is solved.
it worked! there were three "..." before the php line, i don't know why. thanks!
Cheers, good to hear!
Marking the topic as solved.