CRE Loaded Community

Banner


Board index » Loaded Commerce Support » Install & Config

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: // JavaScript Document appears at the bottom of each page.
PostPosted: Wed Nov 25, 2009 7:13 am 
Offline
CRE Newbie

Joined: Tue Aug 04, 2009 4:28 am
Posts: 11
Hello all,

My e_Commerce shop now displays // JavaScript Document at the very bottom of every page on all browsers.

My customer has done something and cannot remember what he has done to make this appear - does anyone have any ideas as to where I should look to resolve this issue.

All help appreciated.


Kind regards - Ozz

shop.castlecases.co.uk


Top
 Profile  
 
 Post subject: Re: // JavaScript Document appears at the bottom of each page.
PostPosted: Wed Dec 02, 2009 1:33 pm 
Offline
CRE Talented
User avatar

Joined: Wed Jun 07, 2006 12:00 am
Posts: 530
Location: Springfield, MO
I would search catalog/templates/yourtemplatename/main_page.tpl.php for // JavaScript Document for starters. It seems that text if needed is not where it is supposed to be.

_________________
Store Warrior!


Top
 Profile  
 
 Post subject: Re: // JavaScript Document appears at the bottom of each page.
PostPosted: Thu Dec 03, 2009 10:02 am 
Offline
CRE Newbie

Joined: Tue Aug 04, 2009 4:28 am
Posts: 11
Many thanks for your response but I still have no joy with this one.

Any other ideas, If I look at the source code this statement appears at the very bottom underneath:-

<!-- footer_eof //-->

<!-- footer_eof //-->
<br>
// JavaScript Document</body></html>


Top
 Profile  
 
 Post subject: Re: // JavaScript Document appears at the bottom of each page.
PostPosted: Thu Dec 03, 2009 12:42 pm 
Offline
CRE Talented
User avatar

Joined: Wed Jun 07, 2006 12:00 am
Posts: 530
Location: Springfield, MO
You kind of answered your own question. Look for same as above in catalog/templates/yourtemplatename/footer.php, remove it or move it where it belongs.

Edit. After looking at the actual site that text may not be in the footer. You need to search the whole directory for that phrase to track it down. Also the links in the footer going to youtube, fb and myspace are not correct.

_________________
Store Warrior!


Top
 Profile  
 
 Post subject: Re: // JavaScript Document appears at the bottom of each page.
PostPosted: Thu Mar 04, 2010 3:41 am 
Offline
CRE Newbie

Joined: Tue Aug 04, 2009 4:28 am
Posts: 11
At long last I have found the error and fixed it.

For anyone who is interested, the error is caused by a script that links back to the cre loaded adserver, I found this by watching the status bar when the page loaded and noticed the error text only appeared after it tried to connect to the adserver.

To remove locate the file ..includes/javascript/cart_links.js.php and simply comment out all the code.

Regards - Ozzy


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

Board index » Loaded Commerce Support » Install & Config

All times are UTC - 5 hours


Who is online

Users browsing this forum: Google [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
It is currently Wed Feb 08, 2012 8:01 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Login

Top Listing

1. Cart2Cart - Shopping...
    Category: Shopping Cart Database Conversion Scripts
    
2. Points & Rewards PLUS!...
    Category: Add-Ons
    
3. Configuration Server...
    Category: Fixes
    
4. Credit Card with CCV
    Category: Payment Modules
    
5. CC7333_ATS
    Category: Templates
    
Show more...

Follow Us on Twitter

An error occurred

Oops, an error seems to have occurred. We're sorry for any inconvenience this might have caused. If the error persists, feel free to tell us about it.

CRE Loaded Community Chat hosted by CRE Loaded.

Join now


Chat about what's on your mind. More about public chats.


© CRE Loaded is a product of Chain Reaction Ecommerce, Inc. Usage & Privacy Policy