YAFLogo

BlueCell
  • BlueCell
  • 51.2% (Neutral)
  • YAF Forumling Topic Starter
16 years ago
Dear developers,

I am getting the following javascript error when I go to a single forum post, and hover/click on the options/view buttons:

Line: 176

Token: 1

Error: Object is expected

Code: 0

http://www.dotnetskool.nl/forum.aspx?g=posts&t=2 

Looking at the page source, line 176 is indeed the options/view buttons.

I have integrated YAF in my own site and all is working besides this.

Though, I've recompiled the source to reference a different version of CookComputing.XmlRpcV2 and AjaxControlToolkit, I can't imagine that that's the source of the problem.

What do you think the cause of this prolem is?

Sponsor
Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
16 years ago
Not sure... I cannot reproduce.
spencer
  • spencer
  • 50.6% (Neutral)
  • YAF Forumling
16 years ago
I had the same issue. The yaf.js file isn't being found. Try changing the base of your forum in the yaf.classes.utils/context.cs file. It's being called from the function in yaf.controls/popmenu.cs line #45.
BlueCell
  • BlueCell
  • 51.2% (Neutral)
  • YAF Forumling Topic Starter
16 years ago
Great! I've just copied the resources to the root and it works now! Many kudos to you, spencer!