×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: "JOSC_http is not defined" with custom template

"JOSC_http is not defined" with custom template 15 years 7 months ago #3343

  • Rob
  • Rob's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
I'm sure this is a newbie question. I just installed joomlacomment 3.26 on joomla 1.5.9 with legacy support. The comment plugin is laid out fine on my site, but firebug tells me there's a javascript error:

JOSC_http is not defined

Then I try to use the actual comments plugin and I get a warning about a lot of vars not being defined:

JOSC_editPost is not defined, etc.

I viewed my source and sure enough, there's no <script> tag that references a client.js or anything that appears to define those variables. Should I add that script tag myself in my template or should the plugin be doing that on its own?

"JOSC_http is not defined" with custom template 15 years 7 months ago #3344

  • Rob
  • Rob's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
oops... I'm an idiot, I forgot to add this in my template html:
<jdoc:include type="head" />

"JOSC_http is not defined" with custom template 15 years 7 months ago #3345

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
:) that was exactly what I was going to tell you :)

Have fun!

"JOSC_http is not defined" with custom template 15 years 6 months ago #3871

  • rpl oye
  • rpl oye's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
i did that. but i still got the same problem.

i put the jinclude head in the index.php in joomla template folder, not in the template folder of jom_comment
is that correct?

anybody has any fix yet?

"JOSC_http is not defined" with custom template 15 years 6 months ago #3872

  • rpl oye
  • rpl oye's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
lol. if you got any of this problem, check your permission first. mine was set up as 600.
it should be 644 or 755.

the effect of 600 is, you cannot access your file, and causing 403 forbidden.
  • Page:
  • 1
Time to create page: 0.109 seconds