Hi there,
I am trying to update a site from 2.1.3 - 2.5.3 and I am also finding that {site_url} is not being parsed.
I have had a look at the channel paths and changed them to see if it would make a difference but nothing.
Some channels work and some don’t as well.
I also have a channel SQL error which I am not sure is related but has also happens on some pages.
Unknown column 'wd.field_id_41NOT' in 'where clause'
SELECT DISTINCT(t.entry_id) FROM exp_channel_titles AS t LEFT JOIN exp_channels ON t.channel_id = exp_channels.channel_id LEFT JOIN exp_channel_data AS wd ON wd.entry_id = t.entry_id LEFT JOIN exp_members AS m ON m.member_id = t.author_id INNER JOIN exp_category_posts ON t.entry_id = exp_category_posts.entry_id INNER JOIN exp_categories ON exp_category_posts.cat_id = exp_categories.cat_id WHERE t.entry_id !='' AND t.site_id IN ('1') AND t.entry_date < 1349866959 AND (t.expiration_date = 0 OR t.expiration_date > 1349866959) AND t.channel_id = '45' AND exp_categories.cat_id = '3' AND t.status = 'open' AND ( (wd.site_id=1 AND wd.field_id_58 LIKE "%No%") )AND ( (wd.site_id=1 AND wd.field_id_41NOT LIKE "%upgrading%") AND (wd.site_id=1 AND wd.field_id_41NOT LIKE "%h3%") )ORDER BY t.sticky desc, t.entry_date asc, t.entry_id asc LIMIT 0, 100
Filename: modules/channel/mod.channel.php
Line Number: 2736
As you can see from the SQL code the “wd.field_id_41” just needs a space after it.
Have you got any ideas on trouble shooting this? The main thing at the moment is the {site_url} as that may end up fixing the SQL issue.
Let me know if I need to create a new thread.
Cheers
Steve