Closed (fixed)
Project:
iUI
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jul 2008 at 22:43 UTC
Updated:
29 Oct 2010 at 05:29 UTC
Jump to comment: Most recent file
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | iui-280600.patch | 992 bytes | roborn |
| #7 | page.tpl_.php_.gz | 1.3 KB | BrandTim |
Comments
Comment #1
ideal93 commentedI 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.
Comment #2
bobsbag commentedRemove 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.
Comment #3
robloachJust made a small commit to clean it up a bit.
http://drupal.org/cvs?commit=133371
Comment #4
avpadernoComment #5
pyctures commentedI 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 ?
Comment #6
adamgerthel commentedStill same problem. Fresh install 6.14. Problem occurs both on iPhone and in regular web browsers. Line 92
Comment #7
BrandTim commentedIs 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
Comment #8
roborn commentedThis issue is caused by the use of PHP short open tags.
Comment #9
drew reece commentedThis 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.
Comment #10
micklweiss commentedthis has been fixed in cvs.