Closed (fixed)
Project:
OM 2 HTML5
Version:
6.x-2.2
Component:
Miscellaneous
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Jan 2012 at 20:13 UTC
Updated:
16 Jan 2012 at 14:40 UTC
Hello
I get a fatal error after installing OM theme.
The error is:
Fatal error: Call to undefined function om_get_ie_styles() in /home/directive/public_html/subdomain/sites/all/themes/domain.com/page.tpl.php on line 7
I just installed core 6.22 and had it working fine. Then i installed the theme.
I am on a sub domain, and i installed in the all/themes/thissitename folder.
I have origianlly had the png showing in the admin templates configuration page, but now the entire site is down. Error on every page.
The code found on page.tpl.php up to line 7 is:
<!DOCTYPE html>
<html lang="<?php print $language->language " dir=" print $language->dir ">
print $head;
print $head_title;
print $styles;
print om_get_ie_styles();
?>
I added css files for ie6.css, ie7.css, ie8.css, and ie9.css with no content, but still no luck.
Does anyone have ideas?
Comments
Comment #1
danielhonrade commentedtry 6.x-2.21
and I usually do multisite like:
/sites/all/themes/
/sites/all/modules/
/sites/domain.com/themes/
/sites/domain.com/modules/
Comment #2
Valance commentedHello
Thank you for you help.
I have since installed on another server. So now i have the sub domain and actual domain configured better. But i still the the problem.
I tried installing into the 'all' folder as you directed danielhonrade. Thank you.
But the error still comes up. As soon as i select the make template 'defualt' value in administration, then the error returns.
I was able to keep a cc page open of the administration page (another open window), then i easily selected the original default template to activate and stop the error for now. So for now i have an interface working, but i want to go to the OM for editing capabilities.
Is it that i need to install the OM Administration theme also (before activating defualt)?
Any help is greatly appreciated.
Thank you
Comment #3
danielhonrade commentedDid you use the latest version which is 6.x-2.21 ?
If you have, this error usually happens when you have an old copy still in some folders, just delete those and clear cache
Comment #4
Valance commentedHello
I fixed this.
I had not installed in to /defualt/themes the 'om/' directory, so it did not work.
I needed to install /om/ in to /default/themes/ and the html 5 'er in to /sites/my_site/themes/
Thank you for you help.
SC
Comment #4.0
Valance commentededit