Resource icon

XenTrader Unsupported

No permission to download
This was a feature of iTrader for vBulletin which I think is essential. You can't leave feedback on a thread unless you posted in it and one of either the feedback sender or the recipient started the thread.
 
Thanks for this great feedback system.
Xentrader work very well in my forums, but i have a lot of entries in the error log of this kind. Maybe something related to "Thread Selection Required ?"

And last question, anyone test if work in 1.2 ??

Thanks a lot !

Code:
ErrorException: XenTrader_Listener_TemplatePostRender::_forumView() [<a href='xentrader-listener-templatepostrender.-forumview'>xentrader-listener-templatepostrender.-forumview</a>]: unterminated entity reference white Line (1) - library/XenTrader/Listener/TemplatePostRender.php:103
Generado por: Cuenta desconocida, Hoy a las 12:12
Seguimiento
#0 /var/www/mysite/httpdocs/library/XenTrader/Listener/TemplatePostRender.php(103): XenForo_Application::handlePhpError(2, 'XenTrader_Liste...', '/var/www/vhosts...', 103, Array)
#1 /var/www/mysite/httpdocs/library/XenPlus/Listener/TemplatePostRender.php(13): XenTrader_Listener_TemplatePostRender->_forumView('???????????????...', Array)
#2 /var/www/mysite/httpdocs/library/XenPlus/Listener/Abstract.php(21): XenPlus_Listener_TemplatePostRender->execute('forum_view', '???????????????...', Array, Object(XenForo_Template_Public), NULL, NULL, NULL, NULL, NULL, NULL)
#3 [internal function]: XenPlus_Listener_Abstract::listen('forum_view', '???????????????...', Array, Object(XenForo_Template_Public))
#4 /var/www/vhosts/bmwfaq.com/httpdocs/library/XenForo/CodeEvent.php(54): call_user_func_array(Array, Array)
#5 /var/www/vhosts/bmwfaq.com/httpdocs/library/XenForo/Template/Abstract.php(195): XenForo_CodeEvent::fire('template_post_r...', Array)
#6 /var/www/vhosts/bmwfaq.com/httpdocs/library/XenForo/Template/Public.php(110): XenForo_Template_Abstract->render()
#7 /var/www/vhosts/bmwfaq.com/httpdocs/library/XenForo/ViewRenderer/HtmlPublic.php(119): XenForo_Template_Public->render()
#8 /var/www/vhosts/bmwfaq.com/httpdocs/library/XenForo/FrontController.php(568): XenForo_ViewRenderer_HtmlPublic->renderContainer(Object(XenForo_Template_Public), Array)
#9 /var/www/vhosts/bmwfaq.com/httpdocs/library/XenForo/FrontController.php(156): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#10 /var/www/vhosts/bmwfaq.com/httpdocs/index.php(13): XenForo_FrontController->run()
#11 {main}
Estado de la solicitud
array(3) {
  ["url"] => string(75) "http://www.mysite.com/forums/mercado-y-accesorios-serie-1-e-87.132/page-116"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
This will seem a very silly question... however... (cant see the wood for the trees etc etc)

Have installed, created thread etc etc, and can access the Xentrader "tab" - however cant work out how to actually give feedback?!?!

(Thread Selection Required ticked.... Forums selected... privs given)
Using PHP 5.2.6 so i guess the issues in PHP 5.3/5.4 dont apply...

Any pointers gratefully received!! (Ok it's early and i've only had one coffee....)

Cheers

EDIT - Finally found the "feedback" button under the user profile bit. thought it would have been more obvious, like a button somewhere in the thread, however all is good now i know where it is :)
 
Last edited:
Does Xentrader need updating for 1.2? I ask because I just installed it onto our sandbox 1.2 beta 3 installation and the node list as presented in the 'Trading Forums' admin page is in completely the wrong order. Here is a screen capture of the top of the list.
upload_2013-6-28_8-34-23.webp

Here is the top of our actual node list:

upload_2013-6-28_8-35-56.webp
 
@Stuart Wright - The order has always been like this.

@Slavik - Please build in a feature to combat spam. I think an integration with the 1.2 anti-spam features will help. Some members are making new IDs and using abusive words in feedback to harass the members and challenge the mods.

Also the limitation to post in the thread before giving feedback does not seem to be working. I wonder where is the user giving feedback from.
 
@Slavik tried installing this on a fresh clean 1.2.0 Beta 4 and I don't see it working.. Is there something I am doing wrong? If its not ready for 1.2 is it going to be? This is a TEST BOARD.. Thank You.. Really like something like this..
 
Is xentrader working with the latest version of PHP? My server error logs are full of these and xentrader has disappeared from the forum.


Code:
Error Info
ErrorException: Undefined index: total - library/XenTrader/Listener/TemplatePostRender.php:36
Generated By: Unknown Account, 9 minutes ago
Stack Trace
#0 /home/xxx/public_html/community/library/XenTrader/Listener/TemplatePostRender.php(36): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/xxx/...', 36, Array)
#1 /home/xxx/public_html/community/library/XenPlus/Listener/TemplatePostRender.php(13): XenTrader_Listener_TemplatePostRender->_memberList('??????????????<...', Array)
#2 /home/xxx/public_html/community/library/XenPlus/Listener/Abstract.php(21): XenPlus_Listener_TemplatePostRender->execute('member_list', '??????????????<...', Array, Object(XenForo_Template_Public), NULL, NULL, NULL, NULL, NULL, NULL)
#3 [internal function]: XenPlus_Listener_Abstract::listen('member_list', '??????????????<...', Array, Object(XenForo_Template_Public))
#4 /home/xxx/public_html/community/library/XenForo/CodeEvent.php(54): call_user_func_array(Array, Array)
#5 /home/xxx/public_html/community/library/XenForo/Template/Abstract.php(195): XenForo_CodeEvent::fire('template_post_r...', Array)
#6 /home/xxx/public_html/community/library/XenForo/Template/Public.php(110): XenForo_Template_Abstract->render()
#7 /home/xxx/public_html/community/library/XenForo/ViewRenderer/HtmlPublic.php(119): XenForo_Template_Public->render()
#8 /home/xxx/public_html/community/library/XenForo/FrontController.php(565): XenForo_ViewRenderer_HtmlPublic->renderContainer(Object(XenForo_Template_Public), Array)
#9 /home/xxx/public_html/community/library/XenForo/FrontController.php(156): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#10 /home/xxx/public_html/community/index.php(13): XenForo_FrontController->run()
#11 {main}
Request State
array(3) {
  ["url"] => string(45) "http://www.xyz.com/community/members/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
I am getting a similar error myself now. It brought down our Marketplace section due to the error.

Code:
An exception occurred: XenTrader_Listener_TemplatePostRender::_forumView() [<a href='xentrader-listener-templatepostrender.-forumview'>xentrader-listener-templatepostrender.-forumview</a>]: unterminated entity reference Quality? (95) in /usr/www/users/xxxx/xf/library/XenTrader/Listener/TemplatePostRender.php on line 103

XenForo_Application::handlePhpError() in XenTrader/Listener/TemplatePostRender.php at line 103
XenTrader_Listener_TemplatePostRender->_forumView() in XenPlus/Listener/TemplatePostRender.php at line 13
XenPlus_Listener_TemplatePostRender->execute() in XenPlus/Listener/Abstract.php at line 21
XenPlus_Listener_Abstract::listen()
call_user_func_array() in XenForo/CodeEvent.php at line 54
XenForo_CodeEvent::fire() in XenForo/Template/Abstract.php at line 195
XenForo_Template_Abstract->render() in XenForo/Template/Public.php at line 110
XenForo_Template_Public->render() in XenForo/ViewRenderer/HtmlPublic.php at line 119
XenForo_ViewRenderer_HtmlPublic->renderContainer() in XenForo/FrontController.php at line 565
XenForo_FrontController->renderView() in XenForo/FrontController.php at line 156
XenForo_FrontController->run() in /usr/www/users/xxxx/xf/index.php at line 13

I hope support hasn't dried up for this add-on. @Slavik are you out there? :D
 
@Slavik tried installing this on a fresh clean 1.2.0 Beta 4 and I don't see it working.. Is there something I am doing wrong? If its not ready for 1.2 is it going to be? This is a TEST BOARD.. Thank You.. Really like something like this..

Working fine here http://p8ntballer-forums.com/xentrader/

Is xentrader working with the latest version of PHP? My server error logs are full of these and xentrader has disappeared from the forum.

5.5.1?
 
My only other thought is that there is something wrong with the database...it happened all of a sudden, as we've done nothing to the forum for over two months.
 
Last edited:
Nope, the XenTrader tables are fine. The last few entries in the xentrader_feedback table also look OK (unless a "+" character going to throw it off, which I doubt).

We have XenTrader disabled since it brings down our entire Marketplace area.

The host reports back that the PHP version is 5.3.26, and nothing else on the server has been upgraded or changed in the past few days.

A proper stack trace--I had to dig back through server error logs to find this one, which was the first error thrown when it crashed:

Code:
ErrorException: XenTrader_Listener_TemplatePostRender::_forumView() [<a href='xentrader-listener-templatepostrender.-forumview'>xentrader-listener-templatepostrender.-forumview</a>]: unterminated entity reference Quality? (95) - library/XenTrader/Listener/TemplatePostRender.php:103
Generated By: Troycdboy, Yesterday at 7:47 PM
Stack Trace
#0 /usr/www/users/xxxx/xfmain/library/XenTrader/Listener/TemplatePostRender.php(103): XenForo_Application::handlePhpError(2, 'XenTrader_Liste...', '/usr/www/users/...', 103, Array)
#1 /usr/www/users/xxxx/xfmain/library/XenPlus/Listener/TemplatePostRender.php(13): XenTrader_Listener_TemplatePostRender->_forumView('???????????????...', Array)
#2 /usr/www/users/xxxx/xfmain/library/XenPlus/Listener/Abstract.php(21): XenPlus_Listener_TemplatePostRender->execute('forum_view', '???????????????...', Array, Object(XenForo_Template_Public), NULL, NULL, NULL, NULL, NULL, NULL)
#3 [internal function]: XenPlus_Listener_Abstract::listen('forum_view', '???????????????...', Array, Object(XenForo_Template_Public))
#4 /usr/www/users/xxxx/xfmain/library/XenForo/CodeEvent.php(54): call_user_func_array(Array, Array)
#5 /usr/www/users/xxxx/xfmain/library/XenForo/Template/Abstract.php(195): XenForo_CodeEvent::fire('template_post_r...', Array)
#6 /usr/www/users/xxxx/xfmain/library/XenForo/Template/Public.php(110): XenForo_Template_Abstract->render()
#7 /usr/www/users/xxxx/xfmain/library/XenForo/ViewRenderer/HtmlPublic.php(119): XenForo_Template_Public->render()
#8 /usr/www/users/xxxx/xfmain/library/XenForo/FrontController.php(565): XenForo_ViewRenderer_HtmlPublic->renderContainer(Object(XenForo_Template_Public), Array)
#9 /usr/www/users/xxxx/xfmain/library/XenForo/FrontController.php(156): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#10 /usr/www/users/xxxx/xfmain/index.php(13): XenForo_FrontController->run()
#11 {main}
Request State
array(3) {
  ["url"] => string(70) "http://xxxx.com/forums/classifieds-for-sale-or-trade.28/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

The "Quality? (95)" in the error refers to member with the name Mr Class & Quality. I don't know if XenTrader is borking on the user name or account somehow, or if that is just the point at which the whole thing bails out on us.

The question mark shouldn't matter, should it? The member has had 95 feedbacks applied, and we have others with question marks in their username also.

Line 103 looks familiar, as though I've seen it in another thread here:

Code:
101          if ($user = $this->_getUserModel()->getUserById($user['user_id']))
102          {
103               $node->nodeValue .= ' (' . $user['total'] . ')';
104          }
 
Last edited:
The timestamp for the last feedback entered: 7/26/2013 6:46:07 PM local time (GMT -4).

First error in XF's server log was 7:47 PM local time.
 
Feel like I'm beating a dead horse here.

I wonder if it is the ampersand in the username? If you look at the error message thrown, it shows " Quality?". Immediately prior to that space is the ampersand "&". Look at this PHP error I found via Google:

http://www.sagetree.com/sage-advice/richard-yumul/phps-simplexml-escaping-ampersand

Notice in that error message that theirs is also failing with the ampersand, and the error message shows the text immediately after it.

This might relate to an old bug (which was determined not to be a bug) several years ago in PHP perhaps?

https://bugs.php.net/bug.php?id=36795&edit=1

Still, if this member has been on the forum with this username and has so much feedback, why is the problem appearing now? PHP has NOT changed on this server for a few months, and errors don't suddenly "happen" without cause.
 
Not god. No "Buy" or "sell to..."button in the thread. The users don't know how it works.
What do you mean? Why would there be a 'Buy' or 'Sell to' button in a thread and why would that relate to XenTrader functionality? I think you are confused about whant XenTrader is supposed to do.
XenTrader does not handle classified threads, it enables members to exchange feedback after they have traded in threads.
 
Top Bottom