Closed (works as designed)
Project:
iDream theme for Drupal
Version:
7.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Support request
Assigned:
Reporter:
Created:
20 Oct 2011 at 08:12 UTC
Updated:
29 Oct 2011 at 09:10 UTC
I just installed Idream and as soon as I clicked save the page refreshed and i was left with
Call to undefined function _region_vars() in C:\xampp\htdocs\drupal\sites\all\themes\idream\page.tpl.php on line 14
for the life of me i can not figure out how to fix it.
On a side note i didnt edit any files, this is an error from first install.
if anyone can help me fix the PHP or reset the drupal thanks. i can access anything
here is was line 14 looks like
print theme('region_wrapper', _region_vars($page['search_box'], $search_box_classes, 0));
Comments
Comment #1
trisz commentedIn this case, delete the theme, and an other enabled theme will appear.
IDream is a subtheme of the OM base theme,
please install it:
iDream 7.x-2.x-dev => OM Base Theme 7.x-2.2
Please do not use other version, because the base theme is not stable, so the code must be corrected for every new release!
(Copy the om_idream folder into the om folder!)
I tested on successfully on wamp, but I recommend you to change for linux. Everything will be several times faster.
Comment #2
trisz commentedPlease read the instructions carefully!
IDream is a subtheme of the OM base theme, do not istall without the base theme!
Always use different theme for the administrative pages!