Internet Explorer 6 :sick:

Ecommerce design Joomla template to start your online business with VirtueMart and additional eshop features.
GK User
Sat Dec 18, 2010 11:39 am
Hi,

Sorry about this. I stopped designing for this piece of junk about 3 years ago but I am being forced to do it again.
I now know why the chinese use so much flash - and it's cos of these horrible browser!

Anyway, tot get to the point I am getting:
Fatal error: Call to a member function addStylesheet() on a non-object in /var/www/vhosts/emw8.com/httpdocs/templates/gk_yourshop/layouts/blocks/head.php on line 69

From googling it, I have found its an IE6 issue.
I have tried with IE6 Bar on and off and it's still the same error.

Please someone help because this is really a big deal for me.

Thanks, CB
User avatar
Junior Boarder

GK User
Sun Dec 19, 2010 1:22 pm
OK peeps, this is not a solution but I think I have found what is causing the PHP error.
OVERRDIDE.CSS
So if i turn this off the site loads, but it is in a horrible state - with no styling at all i.e. no styling at all!

so what's next?

1) I want to use overrdie.css - it is not an option to not use it. So whatever php is causing the error can be removed - overwrite.css is definitely being added. Attach, or please add what I need to change, to what files and what lines.
2) What is the 'IE6 Bar' all about?
3) If IE6 really isn't supported then I need instructions on how I could attach a 'if ie6 then... .css'. I must have IE6 users see some kind of page. If it is to tell them to update their browsers, with links then so be it - but unstyled, or PHP errors isn't acceptable at all.

Please help!

BR, CB
User avatar
Junior Boarder

GK User
Mon Dec 20, 2010 2:32 am
Hi,

I haven't has much of a response to this major problem here, but I have been asking elsewhere. Here is a response from soemone kind enough to help:
Googling the error suggests you are not alone:
http://forum.joomla.org/viewtopic.php?f=466&t=563729

If the code posted above is similar to yours, then it looks on first
glance as if the $document object is being instantiated inside of a
code block for all browsers _except_ IE6.

So the line $document->addStylesheet($this->templateurl() .
'/css/override.css'); blows up because $document has not been
instantiated for IE6 users.

I've made a ton of assumptions here and know nothing of Joomla, so I
think the best place to go for answers is probably the Gavick support
site - assuming the file gk_yourshop/layouts/blocks/head.php is a
custom Gavick file? It's the code in that file which is at fault, not
IE6.


Someone please help. I want to carry on creating this site but I won't until I know I can get some sort of IE6 solution.

Thanks, CB
User avatar
Junior Boarder

teitbite
Mon Dec 20, 2010 11:30 pm
Hi

Sorry but we do not support IE6. It's an archaic and not safe solution.
User avatar
Moderator

GK User
Tue Dec 21, 2010 3:13 am
Thanks for replying Telbite. However I need a bit more than this. If you don't offer IE6 support, then at least offer something without PHP errors. I find the two to be quite different!

Options -
1. The head.php, overwrite function doesn't create php errors (that's a big deal i'm afraid).
2. A script that will notify the user to upgrade browser, and apologise for not loading. Link to alternatives.
3. A separate style sheet so that I can at least try to get something working.

Please do not flog me off with 'we don't support IE6'. Not supporting IE6 is fine, somethings might not work, might be a bit ugly, but PHP errors is seriously bad. You can see that right?

Please send me the link to your website where it says 'we don't support IE6, in fact it cripples under it'.

"Option to enable override css classes on template rendering." - P.S. It also creates PHP errors for IE6.*

"Fully compatible IE7+, Firefox 2+, Firefox 3, Flock 0.7+, Netscape, Safari, Opera 9.5, Chrome." COMPLETELY SCREWED in IE6.*

I hate the browser with a passion. However i have over the years had to deal with it. I tell my clients that I don't bother designing for it, but NEVER in a million years would I have the site break with page load errors.



If I were you, I'd add a script to the head, or wherever that redirected users to a page explaining and offering solutions:

"We apologise but this website cannot be viewed by Internet Explorer 6. We strongly advise you to upgrade your browser because of your web security and overall viewing experience will be greatly improved. Here are some useful links..."

What is the 'IE6 bar' option in template features? It doesn't seem to do anything.

'Supporting IE6 is a security risk'. Please explain.

I am looking for a solution. Please provide one.
User avatar
Junior Boarder

GK User
Tue Dec 21, 2010 7:11 am
"W3C XHTML 1.0 Transitional. W3C CSS Valid."
http://jigsaw.w3.org/css-validator/vali ... =1&lang=en

It doesn't seem to be CSS valid.
User avatar
Junior Boarder

GK User
Tue Dec 21, 2010 12:24 pm
User avatar
Platinum Boarder

GK User
Tue Dec 21, 2010 4:30 pm
Hi,

Thanks for the link to the article. I followed what it said and added the IE6 style sheet.
The error is still there. http://www.emw8.com
I checked the source of your demo site. That IE6 css is file isn't being loaded, yet users can still open your site. So what's the difference?

This has been open for days. I need to fix this before I carry on adding things. I'm really trying to be patient, but I did get the template so that I could have a working website.

TY, CB
User avatar
Junior Boarder

GK User
Tue Dec 21, 2010 4:49 pm
Actually the girl that's been telling me about my errors sent this (see attachment). It looks like your demo isn't working either - but at least it's not php error.

When i turned off overwrite CSS then my site sort of looked like yours - no styling.
User avatar
Junior Boarder

GK User
Tue Dec 21, 2010 5:13 pm
If I turn off overwrite.css it loads, but with no styles at all.
If it is turned on I get the PHP error:

Notice: Undefined variable: document in /var/www/vhosts/emw8.com/httpdocs/templates/gk_yourshop/layouts/blocks/head.php on line 69

That is the line calling for the overwrite.css file. THIS IS THE PROBLEM.

I added a module that will tell users to update their browser. See the attached file - even that doesn't get any styling!

Someone please look into this.
User avatar
Junior Boarder

teitbite
Wed Dec 22, 2010 1:57 am
Hi

The lack of style is made on purpose. This is better way than to show the styles on not supported browser because it may look awful because IE6 is not supporting lots of code used on the template. Showing the site under IE6 is possible, but it's considered as customization due to the fack that the code will have to be change to not have functionality which is not supported. But in this case You will agree to loose most look and functionality You can see on other browsers.


Those are not css errors. This is just because our template uses newest css code which validator do not recognize and inform You about it.
User avatar
Moderator

GK User
Wed Dec 22, 2010 4:49 am
OK. That's great to know but not really helping.

The PHP errors, the page not loading, overwrite.css problem, an IE6 redirect... I think I have been quite clear about the problem I am having.
User avatar
Junior Boarder

GK User
Wed Dec 22, 2010 10:11 am
In case you are under the impression that this isn't really important, have a look at the feedback form the testing we did in China (attached).

testing result.doc


I have said, and will say again "THERE IS AN ERROR ON LINE 69, THAT IS COMPLETELY SCREWING UP THE SITE IN IE".
You should help me fix this.

After this I am going to try and find a way to redirect IE6 users to a completely different website. The method you use is pointless. It would be very nice if you could offer some advice with this too.

I am lucky if I get a reply a day, none of them have actually helped with the real problem. Days are slipping past with no progress whatsoever and I extremely close to dropping all the work I have done so far, and asking for a refund.

So that you don't get confused and answer something else you might have picked up form this or a previous message:

I WANT TO FIX THIS ERROR ON LINE 69.
:(
User avatar
Junior Boarder

GK User
Wed Dec 22, 2010 1:42 pm
From another post I heard about a template update.
In the update it lists:
Fixed PHP errors problems with errors and offline pages.

amongst other things.
I updated all the files that had been changed.

I just checked my problem on IE6 - it's still there. This time on line 68.

This is ruining my Christmas.

I just tried turning off every single plugin and module that I have added. No change, so I am guessing it's not a conflict of that kind.
User avatar
Junior Boarder

GK User
Wed Dec 22, 2010 2:28 pm
From another post I heard about a template update.
In the update it lists:
Fixed PHP errors problems with errors and offline pages.

amongst other things.
I updated all the files that had been changed.

I just checked my problem on IE6 - it's still there. This time on line 68.

This is ruining my Christmas.

I just tried turning off every single plugin and module that I have added. No change, so I am guessing it's not a conflict of that kind.
User avatar
Junior Boarder

GK User
Wed Dec 22, 2010 2:46 pm
I wish I hadn't turned anything off, I now have to go back and fix a bunch of things.
HOWEVER! It's not a problem if Gavick would even attempt to fix what the problem is.

When are you on Xmas holidays guys? You have until then, when I will lose everything I have done so far, do a fresh install - and hope there won't be any problems in IE6.

If there is one IE6 error after install I want a refund, and an apology for terrible support. I don't make ultimatums so you'll just have to try and do your job or accept the consequences.
User avatar
Junior Boarder

teitbite
Wed Dec 22, 2010 8:53 pm
Hi

I would gladly help You removing any error, please send me ftp access. But please understand, we do not make using IE6 difficult. We just want users to finally stop using it at all. It's an old technology (not to say ancient). Please see statistics http://www.w3schools.com/browsers/browsers_explorer.asp not many people use it right now. If You think it's not important than please see other statistics. Maby every site should also have a version without javascript or be text base only. But most importantly IE6 is not safe.

I've been working in companies which doesn't support chrom and opera because of few people using it.
User avatar
Moderator

GK User
Wed Dec 22, 2010 10:51 pm
WOW! Thanks for the reply!

Why does it need FTP access?

"We just want users to finally stop using it (IE6) at all." ME TOO! But I am not God and therefore cannot control this. I don't think you can either. Sorry man, but my target audience involves China. Trust me, a lot of things are messed up there!

"Please see statistics..."
Please see these statistics: http://tech.sina.com.cn/s/2010-09-11/23444646172.shtml
They make me cry.

Look at the title of this topic. I don't like IE6 in any way, shape or form. It's torture to ask for help with it because I agree with you. However, page loading errors are not cool. Your out of the box IE6 solutions - pointless (even if it works), taking 5 days to reply - infuriating!

Let's fix this PHP error. Let's find a solution to redirecting users of the worst browser in the world to somewhere that will communicate my message and hopefully educate them about using a better browser.

I'm a good bloke in person and on the internet. This experience has got me really angry but I hope something good comes of it. I've already gone back to one of your competitors sites looking for an option - but the designs just don't match the content I wish to deliver.

Please help me fix this. If successful, I can point clients towards your site for 'starting blocks' and if that's what they want I'll be renewing and upgrading my account. If I can't work with your sites, or it takes too long to get a stable release then it's not possible. You have to consider that this might be the case for a lot, if not all of your customers.

Please read back, I think that it's quite clear there is a problem with the overwrite.css coding. I have shown you some advice that someone reputable that might assist in the correction.

No page load errors = opportunity. Opportunity to redirect users to somewhere that doesn't break.
I can't see why you wouldn't want the same!

my skype is: chris.blakeys ... my email chris@blakeys (dot) com. I will give you FTP access but I'd much rather know that your install 'just worked' so that I don't have to spend a week posting every time I use one of your templates.

Contact me asap.
User avatar
Junior Boarder

GK User
Thu Dec 23, 2010 1:19 pm
I have emailed FTP details to you. TY, CB
User avatar
Junior Boarder

GK User
Fri Dec 24, 2010 1:21 am
I changed:
Code: Select all
<?php if($this->getParam('css_override')) $document->addStylesheet($this->templateurl() . '/css/override.css'); ?>

to
Code: Select all
  <link rel="stylesheet" href="http://www.emw8.com/templates/gk_yourshop/css/override.css" type="text/css" />

on line 68.

I'm not a programmer or know PHP so please tell me if this change is going to put my website at risk.

That seems to be a simple solution that might have taken you minutes had you bothered to look. Instead I have wasted an entire week trying to get your support.
User avatar
Junior Boarder

GK User
Fri Dec 24, 2010 12:10 pm
Next, what i have done is add a redirect script from
themejoomla
of
Code: Select all
<!--[if lte IE 6]>
<meta http-equiv="refresh" content="0; url=/ie6.html" />
<script type="text/javascript">
/* <![CDATA[ */
window.top.location = '/ie6.html';
/* ]]> */
</script>
<![endif]-->


and I have placed it on line 70 of the head.php. It seems to be working.
Is it safe?
What I am thinking of now is to find a template that does support IE6 so that I can redirect users to that. Any suggestions?
User avatar
Junior Boarder

teitbite
Sat Dec 25, 2010 11:39 pm
Hi

Sorry. I was drowe into Christmas preparations ;/

I can see You have manage lots of things in this time.

The code is safe of course but letting people operate under IE6 is not safe at all :)

For IE6 compatible template I would suggest one of the templates included into joomla installation, but the main problems are modules. You need to check which one will be working under IE6.
User avatar
Moderator

GK User
Sun Dec 26, 2010 4:08 am
Please tell me why it's unsafe for my site f users are using IE6.
There's not much I can do about it, I'm in China and lots of their browsers are IE modifications.
User avatar
Junior Boarder

teitbite
Sun Dec 26, 2010 10:28 pm
Hi

IE6 sends unsecured transmissions. One time I got a program which was listning to my home web traffic and I could clearly see all web history, values placed in form on site, passwords of course too. Even hacker on the beginner level can steal informations from anyone using IE6.
User avatar
Moderator


cron