I got this error when I choose iui as default theme :
Parse error: syntax error, unexpected $end in C:\wamp\www\drupal\themes\iui\page.tpl.php on line 94
Could you help me please, as I have registered this theme, but I got this error. I don't know how to fix it, and now I can't go to the administration pages to change the theme.
Thanks a lot.

CommentFileSizeAuthor
#8 iui-280600.patch992 bytesroborn
#7 page.tpl_.php_.gz1.3 KBBrandTim

Comments

ideal93’s picture

Category: bug » support

I got this error when I choose iui as default theme :
Parse error: syntax error, unexpected $end in C:\wamp\www\drupal\themes\iui\page.tpl.php on line 94
Could you help me please, as I have registered this theme, but I got this error. I don't know how to fix it, and now I can't go to the administration pages to change the theme.
Thanks a lot.

bobsbag’s picture

Remove the 'iui' folder from the themes folder and you will be able to get to the admin panel. Sorry don't know how to fix the error.

robloach’s picture

Version: 6.x-1.0 » 6.x-1.x-dev
Status: Active » Needs review

Just made a small commit to clean it up a bit.

http://drupal.org/cvs?commit=133371

avpaderno’s picture

Category: support » bug
pyctures’s picture

I also have this error message.
I have the following modules/themes:
iui-0.13.tar.gz
mobile-6.x-4.x-dev.tar.gz
browscap-6.x-1.0.tar.gz
mobile_theme-6.x-1.x-dev.tar.gz

I there a step-by-step document to get the iui theme running ? or a simple mobile theme ?

adamgerthel’s picture

Still same problem. Fresh install 6.14. Problem occurs both on iPhone and in regular web browsers. Line 92

BrandTim’s picture

StatusFileSize
new1.3 KB

Is everyone who is experiencing this problem using Windows as their server OS?

For those of you who are, does the attached replacement page.tpl.php fix the problem? (Line endings changed to CR+LF.)

Tim Knittel

roborn’s picture

StatusFileSize
new992 bytes

This issue is caused by the use of PHP short open tags.

drew reece’s picture

This isn't just an issue for Windows users, it is also an issue on Mac OS 10.6. Ultimately it depends on short tags being configured in php.ini on the server.

There is also another short tag on line 28, which will break the search bar. I used the patch in #8.

micklweiss’s picture

Status: Needs review » Closed (fixed)

this has been fixed in cvs.