Hi there,
I Need some help over here, My web site produces a error only in the IE. firebug doesn't say anything about the error when executing over FF. -
Line: 26
-
Char: 5
-
Error: Object Expected
-
Code: 0
-
still I couldn't find out the reason for the error. Is There anyone out there who can help me on this? Thanks a lot.
10 1367
I notice that you've included some JavaScript files using conditional comments. Try commenting them out if you're not using jQuery, drupal, etc.
Please check wether u have a file in this path
[HTML]<link type="text/css" rel="stylesheet" media="all" href="/hunger/sites/all/modules/nice_menus/nice_menus.css?v" />[/HTML]
Please check this one. the error is pointing to this line only. Just check this.
Regards
Ramanan kalirajan
That wouldn't result in a JavaScript error. IE is notorious for its sloppy line numbering.
Thanks guys, I'll try that out. but it seems like removing jquery.js and drupal.js is bit difficult. need to read the the documentation to find out the way. I'll post back with the status. thanks again for all your help.
I'm not sure why you're only including them for IE. Perhaps you could remove the conditional comments to include them for all browsers and see if you get errors in other browsers.
I'm not sure why you're only including them for IE. Perhaps you could remove the conditional comments to include them for all browsers and see if you get errors in other browsers.
Actually acoder, I also need to remove those lines, but still I couldn't find those lines in the source code.It has buried somewhere in the drupal api.
Oh, I see. I didn't realise it was automatically generated. Have you checked the drupal docs for this problem?
Oh, I see. I didn't realise it was automatically generated. Have you checked the drupal docs for this problem?
Need more time to read those docs. Since I know the reason for the error, now it's easy for me. Thanks a lot for your help. I found those php codes which prints those "js" files, but removing them made more troubles, because it removes the "css" import lines too.
Hi,
Something interesting, recently I deleted the records on the "cache" table which holds the cached web pages of the drupal. and it solved the error on the IE browser too. may be some erroneous javascript code was there on the cached javascript files and that was the reason for the error. What I did actually, I manually executed "delete from cache" over the the drupal database.
@Moderators:
Please remove the url to the production site from my original post as the problem is now resolved.
Done. So a relatively simple solution in the end. Glad to hear that you managed to solve it :)
Sign in to post your reply or Sign up for a free account.
Similar topics
by: nam |
last post by:
could someone please help me with this bizarre problem -
I've created a swf file at the top of my html page. The
swf file (using Swish) is simply a menu of 5 links to 5
anchor points on the html...
|
by: sean |
last post by:
/////////////////////
var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlhttp.open("POST", "http://somesite/logon.asp", false, "domain\username",
"password");
xmlhttp.send();...
|
by: Murray Patrick via DotNetMonster.com |
last post by:
I am only just begun using .net etc. I create a program (etc), it compiled
and ran on the local machine. The program was then uploaded on a remote
server. I have found in testing it that the...
|
by: chrisdude911 |
last post by:
how do i add video into a javascript web page with my own custom
buttons?
|
by: sck10 |
last post by:
Hello,
I have a table with some controls in it, but it is not rapped in a form. I
also have a button for reseting the page. When I click the button, the page
resets, but I get the following...
|
by: lev |
last post by:
Attempting to use javascript's regular expression methods to match a
particular lab number and building which would then be copied to a pair
of textfields, I found that general matching characters...
|
by: nandakumar.raghu |
last post by:
Hi,
I have written a javascript function that acceses properties from an
activex object. -
<OBJECT id="alertObj"
classid="clsid:AEE77194-B98F-4E0E-A27F-4AD6B23F0038"></OBJECT>
function...
|
by: viki1967 |
last post by:
Hi all.
I have problem with this string javascript:
onclick="if(confirm('Confirm?')) location.href('form.asp?A=terry.d'arby'); return false;
The error javascript is:
Error: Expected ')'
...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |