Post by gladiator » Sun Feb 07, 2010 12:11 am

I noticed when at my home page I see a notice in internet explorer that reads "Done, but with errors on page".

I click on the error at the bottom and this is what it's saying:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.4; OfficeLivePatch.1.3)
Timestamp: Sat, 6 Feb 2010 16:07:03 UTC

Message: Syntax error
Line: 1
Char: 40
Code: 0
URI: http://www.gladiatorlighting.com/index. ... ommon/home

Message: Syntax error
Line: 1
Char: 40
Code: 0
URI: http://www.gladiatorlighting.com/index. ... ommon/home

How can I correct this? I don't see this error when using Firefox but I do with internet explorer...

http://www.gladiatorlighting.com


User avatar
New member

Posts

Joined
Wed Aug 12, 2009 1:26 pm

Post by hottiger » Sun Feb 07, 2010 12:58 am

Might have something to do with this in your source:

<link href="image/<br />
<b>Notice</b>: Undefined variable: config_icon in <b>/home/content/g/l/a/gladiatornet/html/admin/view/template/setting/setting.tpl</b> on line <b>341</b><br />
" rel="icon" />

New member

Posts

Joined
Tue Jan 05, 2010 3:00 am
Location - United Kingdom

Post by gladiator » Sun Feb 07, 2010 3:38 am

When I open the file settings.tpl in admin this line says there is an error in dreamweaver..

Dreamweaver says the following:

There is a syntax error on line 593. Code hinting may not work until you fix this error.

Code: Select all

CKEDITOR.replace('description<?php echo $language['language_id']; ?>');

http://www.gladiatorlighting.com


User avatar
New member

Posts

Joined
Wed Aug 12, 2009 1:26 pm

Post by hottiger » Sun Feb 07, 2010 7:27 am

I don't get that error? Have you changed/edited/deleted anything to do with config_icon?

I've only just started using oc so probably someone more experienced can help more.

New member

Posts

Joined
Tue Jan 05, 2010 3:00 am
Location - United Kingdom

Post by gladiator » Sun Feb 07, 2010 8:03 am

Nope not that I'm aware of...

http://www.gladiatorlighting.com


User avatar
New member

Posts

Joined
Wed Aug 12, 2009 1:26 pm

Post by Qphoria » Sun Feb 07, 2010 8:48 am

why would you get a ckeditor error on the catalog? there is no ckeditor in the catalog side. Did you upload an admin file into the catalog side or something?

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by gladiator » Sun Feb 07, 2010 9:59 am

I just noticed that I get this error no idea when or how it happened could have been a month ago for all I know..

Is there a way to fix it?

http://www.gladiatorlighting.com


User avatar
New member

Posts

Joined
Wed Aug 12, 2009 1:26 pm

Post by gladiator » Thu Feb 11, 2010 7:26 am

Dreamweaver says:

"there is a is a syntax error on line 593. Code hinting maybe not work until you fix this error"

Here is the code for that area:

Code: Select all

<script type="text/javascript" src="view/javascript/ckeditor/ckeditor.js"></script>
<script type="text/javascript"><!--
<?php foreach ($languages as $language) { ?>
CKEDITOR.replace('description<?php echo $language['language_id']; ?>');
<?php } ?>	
//--></script>
The line that starts with CKEDITOR is the line that has the error apparently. I'm not sure how to fix this.. anyone?

http://www.gladiatorlighting.com


User avatar
New member

Posts

Joined
Wed Aug 12, 2009 1:26 pm

Post by Artlife » Thu Feb 11, 2010 12:00 pm

gladiator wrote:Dreamweaver says:

"there is a is a syntax error on line 593. Code hinting maybe not work until you fix this error"

Here is the code for that area:

Code: Select all

<script type="text/javascript" src="view/javascript/ckeditor/ckeditor.js"></script>
<script type="text/javascript"><!--
<?php foreach ($languages as $language) { ?>
CKEDITOR.replace('description<?php echo $language['language_id']; ?>');
<?php } ?>	
//--></script>
The line that starts with CKEDITOR is the line that has the error apparently. I'm not sure how to fix this.. anyone?
there's nothing wrong with that. I think hottinger is correct, look at your page source of your site

New member

Posts

Joined
Tue Feb 02, 2010 11:41 am

Post by gladiator » Thu Feb 11, 2010 1:13 pm

I have no html knowledge so that doesn't help me much on what to look for etc :)

http://www.gladiatorlighting.com


User avatar
New member

Posts

Joined
Wed Aug 12, 2009 1:26 pm

Post by Artlife » Fri Feb 12, 2010 11:24 am

gladiator wrote:I have no html knowledge so that doesn't help me much on what to look for etc :)
what that actually says is this:

Code: Select all

<link href="image/" rel="icon" />
Notice: Undefined variable: config_icon in /home/content/g/l/a/gladiatornet/html/admin/view/template/setting/setting.tpl on line 341

in my file the icon stuff isn't anywhere near line 341 so I'm not sure what's up with that.
However, the error is in the code to the link to the image icon. come to think of it that's probably why there's the other error. This is what it should look like:

Code: Select all

<link href="image/data/cart.png" rel="icon" />
yours is missing part of the url.but it doesn't seem to be affecting anything. i wouldn't worry about it too much. I'm not sure what file that code is in.

New member

Posts

Joined
Tue Feb 02, 2010 11:41 am

Post by gladiator » Fri Feb 12, 2010 10:40 pm

I'll pay someone to fix this error on my site. Please email me or PM me with price etc..

Thanks!

http://www.gladiatorlighting.com


User avatar
New member

Posts

Joined
Wed Aug 12, 2009 1:26 pm

Post by Qphoria » Fri Feb 12, 2010 11:17 pm

its the livechat script.

Error: syntax error
Source File: http://www.gladiatorlighting.com/
Line: 185, Column: 39
Source Code:
script.src=src;document.getElementById('livezilla_tracking').appendChild(script)

something is converting the ' characters to '. Try adding \ infront of them

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by gladiator » Sat Feb 13, 2010 12:02 am

Fixed!

Livezilla has two types of code apparently that you can use..

1. Javascript
2. No Javascript code (I guess it uses links or something?)

I don't know much about this type of stuff but the other code removed the error...

Thx Q for pointing out the cause...

http://www.gladiatorlighting.com


User avatar
New member

Posts

Joined
Wed Aug 12, 2009 1:26 pm

Post by cristiano » Mon Jan 10, 2011 8:56 pm

Artlife wrote:
gladiator wrote:Dreamweaver says:

"there is a is a syntax error on line 593. Code hinting maybe not work until you fix this error"

Here is the code for that area:

Code: Select all

<script type="text/javascript" src="view/javascript/ckeditor/ckeditor.js"></script>
<script type="text/javascript"><!--
<?php foreach ($languages as $language) { ?>
CKEDITOR.replace('description<?php echo $language['language_id']; ?>');
<?php } ?>	
//--></script>
The line that starts with CKEDITOR is the line that has the error apparently. I'm not sure how to fix this.. anyone?
there's nothing wrong with that. I think hottinger is correct, look at your page source of your site
Hello, I have this same problem and came after OpenCart installed on Centos Linux server. Please, I need a solution urgently :choke:

Newbie

Posts

Joined
Mon Apr 27, 2009 9:47 pm
Who is online

Users browsing this forum: No registered users and 20 guests