[eluser]John_Betong[/eluser]
[quote author="jdfwarrior" date="1244054901"]#1. Have you tried and of the other functions associated with the HTML Helper to ensure that the HTML Helper is in fact loaded?
#2. I know it's supposed to default to XHTML 1.0 Strict but have you tried specifying a doctype to see if that made a difference? Perhaps trying: echo doctype('xhtml1-strict'); instead?[/quote]
I have just stumbled across this problem and discovered that when nothing is passed the default type assumes a missing array value.
You have three choices:
1. change the default in the './system/helpers/html_helper.php'
2. add your own 'xhtml-strict' default to '/sytem/application/config/doctype.php'
3. pass one of the following parameters to doctype(...)
Valid doctype parameters (nicked from: '/sytem/application/config/doctype.php'
Code:
'xhtml11',
'xhtml1-strict',
'xhtml1-trans'
'xhtml1-frame',
'html5',
'html4-strict',
'html4-trans'
'html4-frame'
175