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
[Solved] No template applied to site
[Solved] No template applied to site
Last edited by jovo on Mon Nov 17, 2008 1:18 pm, edited 1 time in total.
Re: No template applied to site
I think that you load template but no stylesheetsjovo 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
- re-run upgrade.php
- check with sqltools if you have assoc_order field in your [cms_]css_assoc table
Alby
Re: No template applied to site
No field assoc_order seen
This the layout of the table
The database is upgraded to version 31
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)
Re: [Solved] No template applied to site
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.
The user in config.php did not have full control over the database. After changing I got my templates back again
Thanks.
Re: [Solved] No template applied to site
Upgrade have not update css_assoc table:jovo wrote: The user in config.php did not have full control over the database. After changing I got my templates back again
1. add a new field: assoc_order int
or
2. put 29 in version table and re-run upgrade.php
Alby