Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Syntax Error on all pages 1

Status
Not open for further replies.
i get a server can't find the page error. please check the url and repost

Bastien

There are many ways to skin this cat,
but it still tastes like chicken
 
The URL is the part at the end "everypage.html" is just an example, the error appears on every page at the site.... center.html, contact.html etc

Naiku
 
There could be something wrong in your js-files

Delete the <!-- and --> in the file ssmItem.js



Hope this helps <!-- My sport: Boomerang throwing !!
This year I will participate at the World Championships in Germany. (!! Many Happy Returns !! -->
 
Hi Naiku,

I found the place where it goes wrong, it's the part:

<SCRIPT Language=&quot;JavaScript&quot;
SRC=&quot;

Delete this part and the error is gone.

Hope this helps,
Erik <!-- My sport: Boomerang throwing !!
This year I will participate at the World Championships in Germany. (!! Many Happy Returns !! -->
 
Do you know where I should put the part that I need to delete? its what I use for getting stats about the site. And do I just need to delete it from center.html?

Thanks

Naiku
 
Ok looks like I need to delete it from all the pages, so I just need some help on where to put the tag? At the moment its not working, and as you have shown me also causing the error.

If it helps I am using the Advanced Text Counter from
Naiku
 
just opened my eyes and see you don't have a ; there anymore provide tools to let people become their best.
 
That's weird because I did not take the ; away!! the counter is really bugging me as I can't get it to work.
 
did you write the counter or was the link to it provided?
if it was provided, try changing it to
/cgi-bin/counter/counter.pl?tag=javascript
provide tools to let people become their best.
 
I got the counter from when you install it there is a tag generator page which is where I got the link from.

When you say change the link to
/cgi-bin/counter/counter.pl?tag=javascript
does that mean that the link I should be using is
<SCRIPT Language=&quot;JavaScript&quot; SRC=&quot;/cgi-bin/counter/counter.pl?tag=javascript&quot;></SCRIPT>

Sorry if this appears stupid, I have no idea about javascript etc, working on my first site :) but then thats what forums are for to help people like me!

Thanks again
 
just like that. It's a long shot but you never know. The other thing is that there is a possibility the counter script has a error in it. provide tools to let people become their best.
 
Ok thanks I will give it a try sometime in the next couple days and leave the results on here.
 
Hey

I changed the tag to /cgi-bin/counter/counter.pl and it works, thankyou.

However I want the counter to be hidden, what do I need to add to achieve this? With the counter I have the option of using SSI instead of Javascript, would that make it easier to hide the counter? if not what do I add to the tag so that its hidden.

Thanks again

Naiku
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top