[Solved] No template applied to site

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
jovo
Forum Members
Forum Members
Posts: 30
Joined: Fri Dec 23, 2005 4:10 pm

[Solved] No template applied to site

Post by jovo »

I upgraded from 1.3.1 to 1.4.1

I followed the instructions in UPGRADE.txt
- untar in separate directory
- copy contents over old root

After running the upgrade script I got the contents of the site but the template is not applied.
In the HTML no call to stylesheet.php is included

No errors in the errorlog
Last edited by jovo on Mon Nov 17, 2008 1:18 pm, edited 1 time in total.
alby

Re: No template applied to site

Post by alby »

jovo wrote: After running the upgrade script I got the contents of the site but the template is not applied.
In the HTML no call to stylesheet.php is included
I think that you load template but no stylesheets
- re-run upgrade.php
- check with sqltools if you have assoc_order field in your [cms_]css_assoc table

Alby
jovo
Forum Members
Forum Members
Posts: 30
Joined: Fri Dec 23, 2005 4:10 pm

Re: No template applied to site

Post by jovo »

No field assoc_order seen

This the layout of the table

Code: Select all

mysql> describe cms_css_assoc;
+---------------+-------------+------+-----+---------+-------+
| Field         | Type        | Null | Key | Default | Extra |
+---------------+-------------+------+-----+---------+-------+
| assoc_to_id   | int(11)     | YES  | MUL | NULL    |       |
| assoc_css_id  | int(11)     | YES  | MUL | NULL    |       |
| assoc_type    | varchar(80) | YES  |     | NULL    |       |
| create_date   | datetime    | YES  |     | NULL    |       |
| modified_date | datetime    | YES  |     | NULL    |       |
+---------------+-------------+------+-----+---------+-------+
5 rows in set (0.00 sec)
The database is upgraded to version 31
jovo
Forum Members
Forum Members
Posts: 30
Joined: Fri Dec 23, 2005 4:10 pm

Re: [Solved] No template applied to site

Post by jovo »

Your remark has put me on the right leg (a poorly translated Dutch saying)

The user in config.php did not have full control over the database. After changing I got my templates back again

Thanks.
alby

Re: [Solved] No template applied to site

Post by alby »

jovo wrote: The user in config.php did not have full control over the database. After changing I got my templates back again
Upgrade have not update css_assoc table:
1. add a new field: assoc_order  int
or
2. put 29 in version table and re-run upgrade.php

Alby
Locked

Return to “[locked] Installation, Setup and Upgrade”