1
hparade
javascript in custom block
  • 2004/11/28 0:03

  • hparade

  • Just popping in

  • Posts: 1

  • Since: 2004/11/27


Hi I tried to create a custom block with some javascript, but everytime when I press the preview or submit button, I got an internal server error:

Quote:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@hparade.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/1.3.33 Server at http://www.hparade.net Port 80


The script I tried to put:


<
script type="text/javascript" language="javascript">
var 
sc_project=467459
var 
sc_partition=2
script>

<
script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js">script><noscript><a href="http://www.statcounter.com/" target="_blank"><img  src="http://c3.statcounter.com/counter.php?sc_project=467459&java=0" alt="web tracker" border="0">anoscript>


please help, thanks

2
jdseymour
Re: javascript in custom block

I believe, but I may be mistaken that that code is meant to go in the footer of theme.html.

I don't think it will work in a block.

Login

Who's Online

441 user(s) are online (46 user(s) are browsing Support Forums)


Members: 0


Guests: 441


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits