Hi, I'm new to this world so forgive me if I say anything stupid but on applying this theme I got an error reading: Parse error: syntax error, unexpected $end in C:\wamp\www\drupal5learn\sites\all\themes\spooner\page.tpl.php on line 84

I fixed it by adding 'php' after the '<?' on line 25 (there are two more spots where the php is left out but they don't seem effect anything). I'm no php genius but know a little bit, is this a php 5 thing? I'm running php 5.2.5.

Next question (forgive me for putting it here but it is related): As this left me without control, I was unable to recover until I found the problem. Is there a way to alter the chosen theme by manipulating the database directly? Which table contains the 'use this theme' field?

Comments

tonyn’s picture

This is a short tags thing. If you go to the lines in page.tpl.php with <? for a tag, change them to <?php

5.x.-2.4 and 6.x-1.2 fix this.

In Drupal 5, you can change your drupal theme through SQL by editing `theme_default` row in the `variable` table and deleting the row(s) in `cache`.

Anonymous’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.