Orca forum - Warning: XSLTProcessor:

Hello,

I translate the Orca forum to spanish but for some reason when I click the Compile Language:en

I get this ugly Warning messages at the top of any topic

___________________________________________________________________________________

Warning: XSLTProcessor::importStylesheet() [xsltprocessor.importstylesheet]: /home/content/XX/XXXXX/html/modules/boonex/forum/layout/base_es/xsl/live_tracker.xsl:6: parser error : Entity 'eacute' not defined in /home/content/XX/XXXXX/html/modules/boonex/forum/classes/es/BxXslTransform.php on line 87

Warning: XSLTProcessor::importStylesheet() [xsltprocessor.importstylesheet]: <div class="boxFirstHeader">¿Qu&eacute; est&aacute; pasando?</div> in /home/content/XX/XXXXX/html/modules/boonex/forum/classes/es/BxXslTransform.php on line 87

Warning: XSLTProcessor::importStylesheet() [xsltprocessor.importstylesheet]: ^ in /home/content/XX/XXXXX/html/modules/boonex/forum/classes/es/BxXslTransform.php on line 87

Warning: XSLTProcessor::importStylesheet() [xsltprocessor.importstylesheet]: /home/content/XX/XXXXX/html/modules/boonex/forum/layout/base_es/xsl/live_tracker.xsl:6: parser error : Entity 'aacute' not defined in /home/content/XX/XXXXX/html/modules/boonex/forum/classes/es/BxXslTransform.php on line 87

Warning: XSLTProcessor::importStylesheet() [xsltprocessor.importstylesheet]: <div class="boxFirstHeader">¿Qu&eacute; est&aacute; pasando?</div> in /home/content/XX/XXXXX/html/modules/boonex/forum/classes/es/BxXslTransform.php on line 87

Warning: XSLTProcessor::importStylesheet() [xsltprocessor.importstylesheet]: ^ in /home/content/XX/XXXXX/html/modules/boonex/forum/classes/es/BxXslTransform.php on line 87

Warning: XSLTProcessor::importStylesheet() [xsltprocessor.importstylesheet]: compilation error: file /home/content/XX/XXXXX/html/modules/boonex/forum/layout/uni_es/xsl/live_tracker.xsl line 3 element include in /home/content/XX/XXXXX/html/modules/boonex/forum/classes/es/BxXslTransform.php on line 87

Warning: XSLTProcessor::importStylesheet() [xsltprocessor.importstylesheet]: xsl:include : unable to load /home/content/XX/XXXXX/html/modules/boonex/forum/layout/base_es/xsl/live_tracker.xsl in /home/content/XX/XXXXX/html/modules/boonex/forum/classes/es/BxXslTransform.php on line 87

Warning: XSLTProcessor::transformToXml() [xsltprocessor.transformtoxml]: No stylesheet associated to this object in /home/content/XX/XXXXX/html/modules/boonex/forum/classes/es/BxXslTransform.php on line 88

_________________________________________________________________________________________

 

I check line 88 on Dreamweaver and I found this

86. $proc = new XsltProcessor();
87. $proc->importStyleSheet($xsl);
88. $res = $proc->transformToXML($xml);
89.
90. }

 

can some one tell me wat is wrong so I can not see this ugly warning no more on my forum please

Thank you,

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 5 May 2011

Recheck your translation file. First suggestion will recheck - are your lang file not contain syntax errors (maybe you added symbol ' in translated strings?

next suggestion will file encoding. I suggest you to keep UTF8 without BOM encoding for non-english files.

Regards

Quote · 5 May 2011

Than you AdrewP

im glad to see you back m8

 

 

I fix wat you tell me now the problem is the facebook like button or link I get this messages now

___________________________________________________________________________________

 

Warning: XSLTProcessor::importStylesheet() [xsltprocessor.importstylesheet]: /home/content/55/7007955/html/modules/boonex/forum/layout/base_en/xsl/forum_posts.xsl:147: namespace error : Failed to parse QName 'fb:like:' in /home/content/XX/XXXXXX/html/modules/boonex/forum/classes/en/BxXslTransform.php on line 87

Warning: XSLTProcessor::importStylesheet() [xsltprocessor.importstylesheet]: <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a> in /home/content/XX/XXXXXX/html/modules/boonex/forum/classes/en/BxXslTransform.php on line 87

Warning: XSLTProcessor::importStylesheet() [xsltprocessor.importstylesheet]: ^ in /home/content/XX/XXXXXX/html/modules/boonex/forum/classes/en/BxXslTransform.php on line 87

Warning: XSLTProcessor::importStylesheet() [xsltprocessor.importstylesheet]: /home/content/XX/XXXXXX/html/modules/boonex/forum/layout/base_en/xsl/forum_posts.xsl:147: namespace error : Namespace prefix fb for like:layout on a is not defined in /home/content/XX/XXXXXX/html/modules/boonex/forum/classes/en/BxXslTransform.php on line 87

Warning: XSLTProcessor::importStylesheet() [xsltprocessor.importstylesheet]: <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a> in /home/content/XX/XXXXXX/html/modules/boonex/forum/classes/en/BxXslTransform.php on line 87

Warning: XSLTProcessor::importStylesheet() [xsltprocessor.importstylesheet]: ^ in /home/content/XX/XXXXXX/html/modules/boonex/forum/classes/en/BxXslTransform.php on line 87

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 5 May 2011

Please Boonex any solution for this

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 5 May 2011

Add the following line:

xmlns:fb="urn:facebook.com:xslt"

under the following line (if it is on new line), or next to the following code(if it is not on new line) in your XSLT file where you are trying to insert like button:

xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
Rules → http://www.boonex.com/terms
Quote · 6 May 2011

Hello Alext

I never try to add any facebook like

the only thing I di is translate the forum to spanish and than click compile language es

 

_____________________________________________

On file: forum_posts.xml

this is the code I have on line 87

<xsl:if test="forum/id != 0 and topic/id != 0 and 0 = topic/locked">
<div class="paginate">
<div style="background-image:url({$base_url}../templates/ba{$tmp_path});" class="view_all">
<a href="javascript:void(0);" onclick="return f.postReply('{forum/id}','{topic/id}')" icon="{/root/urls/img}btn_icon_reply.gif">Post Reply</a>
</div>
</div>
</xsl:if>

___________________________________________________________________________________

 

This is the code I have o line 147

<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_counter addthis_pill_style"></a>
</div>
<script type="text/javascript">var addthis_config = {"data_track_clickback":true};</script>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=latincrib"></script>
<!-- AddThis Button END -->

___________________________________________________________________________________

 

On file call: BxXslTransform.php on line 87

$proc = new XsltProcessor();
$proc->importStyleSheet($xsl);
$res = $proc->transformToXML($xml);

}

100% this is the code from boonex developers by default I never change no code or add any code

Where you want me to add the code you send me or with one

xmlns:fb="urn:facebook.com:xslt"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
Post Reply - if you going to help - No for - bla bla bla bla
Quote · 6 May 2011

Facebook button is not there by default, it was added by someone and it causes the problem !

 

Please add it as I said before

xmlns:fb="urn:facebook.com:xslt"

next to the following code in your XSLT file where you are trying to insert like button:

xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 

if it helps you to find this - it is in the beginning of the file

Rules → http://www.boonex.com/terms
Quote · 6 May 2011

You right

I for got I add the facebook like button there  under the topics but I got confuse with the one the say people like this

Thank you,

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 6 May 2011

 Andrew I am very new to writing this script, can you please break it down into simple terms for me. I do not want to make a bigger mess than the one I have. It only happens when I use a custom template. If using the UNI template I get no forum error, however I get the same error as UFO did..

Recheck your translation file. First suggestion will recheck - are your lang file not contain syntax errors (maybe you added symbol ' in translated strings?

next suggestion will file encoding. I suggest you to keep UTF8 without BOM encoding for non-english files.

Regards

 

Quote · 8 Mar 2012

 Please ask custom template author to fix this problem.

 Andrew I am very new to writing this script, can you please break it down into simple terms for me. I do not want to make a bigger mess than the one I have. It only happens when I use a custom template. If using the UNI template I get no forum error, however I get the same error as UFO did..

Recheck your translation file. First suggestion will recheck - are your lang file not contain syntax errors (maybe you added symbol ' in translated strings?

next suggestion will file encoding. I suggest you to keep UTF8 without BOM encoding for non-english files.

Regards

 

 

Rules → http://www.boonex.com/terms
Quote · 8 Mar 2012

2 CGGUYNC,

First - try to understand if it is related with template or with languages.

If you have problem only with switching languages - this is one thing.

But if you have problem with switching templates - this is another.

In the second case, as suggestion, I would recommend you to make copy of UNI layout for your custom template (every your custom template)

Example, if your template have name 'red', you have to copy whole folder 'modules/boonex/forum/layout/uni'   and then paste as 'red' folder (copy of uni folder).

In the result, you will have 'modules/boonex/forum/layout/red' folder.

After, don't forget to recompile your forum at 'Forum -> Manage Forum' page.

Quote · 9 Mar 2012

Andrew,

Thanks for the input and no even using the original UNI template this issue remains. Also I was trying to install the addon you created for admin and it is not allowing me to install anything that did not come in the original install. There are some strange issues within this code, I even tried to install other modules thinking maybe this was operator error and it's not it just does not want to install additional modules. I want to make it clear I am Hell Bent on using Dolphin for this project as I love the product. I will not be able to purchase the 1st perm license until the 21st as I get retirement pay. I just want to make sure that everyone understands I am not just here to waste anyones time. 

At this point I am having to edit in the SQL itself for some things. There just is no other way around it. 

Quote · 10 Mar 2012

Andrew,

I got my issue resolved thanks allot for your help. I do have one question I thought I would throw out there. I wanted to know if there was an add-on you know of that can feed current news updates to one of my rooms. I did not see one but I thought I would ask. Also sweet work on your modules. :)

Quote · 17 Mar 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.