Search code examples
contao

Error on creating news archive on contao 3.5.16


If anyone familiar with contao, I got a default contao error page when I try to create a news archive, I have check the log and nothing is wrong. Do I need add the news module first?

P.S I am newbie contao user, as a client only asked me to resolve this problem.

Last error log :

[12-Jan-2017 12:46:29 GMT] PHP Fatal error: Uncaught exception 'Exception' with message 'Query error: Unknown column 'master' in 'where clause' (SELECT id, title 
                FROM tl_news_archive 
                WHERE jumpTo IN (315) AND master=0 
                ORDER BY title)' thrown in /homepages/19/d124359810/htdocs/2016/system/modules/core/library/Contao/Database/Statement.php on line 295

I use 2 languages for the website with language extension. I wonder if it has something to do with the language setting of main archive, because it somehow tells the error of unknown "master"

this is the screenshot of the interface when I tried to create a news archive. Image : create new news archive


Solution

  • Your database is missing a column from the changelanguage extension. If you still have this extension installed, simply log into the Contao Install Tool and execute a database update.