Hello!
I have installed Mate Theme 4.8 for Contao 4.8.
The front end is OK.
When I try to log in into backend I get an error, see the screenshot in attachment.
Attachment 285
Hello!
I have installed Mate Theme 4.8 for Contao 4.8.
The front end is OK.
When I try to log in into backend I get an error, see the screenshot in attachment.
Attachment 285
Just read the hints on the screenshot!
How can I fix the issue?
Open the current log file in the var/logs directory and find the associated error message (usually the last one)
Contao Community Moderator
→ Support options
Thanks for reply!
I reinstalled now again the theme (imported the db and created new user for back end) but the system did not create any new log.
Please post the last relevant entries from the log file in var/logs.
Contao Community Moderator
→ Support options
I installed now from 0 last version of Contao.
Since I install the projects on DevilBox the project files should be in project-name-folder > htdocs
So, I install composer in project-name-folder (contao4)
Install mae_event_categories extensionCode:wget https://getcomposer.org/installer -O composer-setup.php php composer-setup.php php composer.phar create-project contao/managed-edition htdocs mv composer.phar htdocs # Define the vhost to serve files (Apache Settings) DocumentRoot "/shared/httpd/contao4/htdocs/web" <Directory "/shared/httpd/contao4/htdocs/web"> DirectoryIndex index.php index.html index.htm AllowOverride All Options All RewriteEngine on RewriteBase / Order allow,deny Allow from all Require all granted </Directory> http://contao4/contao/install
Install Mate Template. After installation, in admin panel I click the first green button then the second one. After that I run /contao/install.Code:php composer.phar require marebe1602/mae_event_categories http://contao4.loc/contao/install
After all these installations trying to log in in back end I get the same error.Code:php composer.phar require contao-themes-net/mate-theme-bundle http://contao4.loc/contao/install
The var/logs folder is empty.
I have installed now new fresh Contao 4.8.13 + mae_event_categories + mate-theme-bundle
My workflow is DevilBox (Docker Based) installed on Ubuntu 18.08 which runs on WSL2 in Windows 10 Pro V. 1903
PHP 7.2.19
MySQL 5.7.25
Apache 2.4.38
In DevilBox I must install all projects in project-name-folder > htdocs.
The project-name-folder becomes then project-name-folder.loc domain.
So, at the end I have http://contao4.loc/
Install Contao.
Successful installation, no logs in var/logsCode:cd contao4/ wget https://getcomposer.org/installer -O composer-setup.php php composer-setup.php sudo rm composer-s* php composer.phar create-project contao/managed-edition htdocs mv composer.phar htdocs # Define the vhost to serve files (Apache Settins) DocumentRoot "/shared/httpd/contao4/htdocs/web" <Directory "/shared/httpd/contao4/htdocs/web"> DirectoryIndex index.php index.html index.htm AllowOverride All Options All RewriteEngine on RewriteBase / Order allow,deny Allow from all Require all granted </Directory> http://contao4/contao/install
Install extension mae_event_categories
Successful installation, no logs in var/logsCode:php composer.phar require marebe1602/mae_event_categories http://contao4.loc/contao/install
Install Mate template
Successful installation, no logs in var/logsCode:php composer.phar require contao-themes-net/mate-theme-bundle click the first and second green buttons in backend http://contao4.loc/contao/install
When I try to log into back end I get the same error
Last edited by amida; 09/19/2019 at 16:20.
I guess you have to follow the installation instructions exactly: https://docs.contao-themes.net/#/mate-installation
Did you clear the tl_files database table before importing the SQL website template via Contao install tool?
Contao Community Moderator
→ Support options
Yes.
I wrote that I clicked the first green button then the second one.
I got also a message that ... was cleaned successfully..
Please enable the Debug Mode. Without an error message we can't do nothing.
Last edited by xchs; 09/19/2019 at 19:32.
Contao Community Moderator
→ Support options
How to enable it if I have no access to the back end?
I switched it on on another local Contao project, where is no template installed and we are talking about Contao Manager.
In general, this template is very nice but I needed it for tests, to solve another problem.
My initial problem is this one:
https://community.contao.org/en/show...nt-Detail-page
Nobody replied to this problem and I decided to install Contao 4 with another template, such as Mate and try there to implement what I need, may be it will work..
All what I need is to click on event in event list and open the event in event details page.
And since I learn now the Contao 4, I think I could propose the the client to update her website to Contao 4...
Last edited by amida; 09/20/2019 at 13:03.
Contao Community Moderator
→ Support options
After setting up .env and logging in and I get a big page of logs.
If I try to post all page, I am getting blocked on forum
So, I post just the upper part which is on red background
Regarding plugin, I will try to uninstall it or to install the project from 0 without that pluginCode:An exception occurred while executing 'UPDATE tl_user SET `id`='1', `tstamp`='1568895652', `username`='Admin', `name`='admin', `email`='aaa@mail.com', `language`='en', `backendTheme`='flexible', `fullscreen`='', `uploader`='', `showHelp`='1', `thumbnails`='1', `useRTE`='1', `useCE`='1', `password`='$2y$10$v11dT8QVXzvs//fUUT2K5OvpwN4GJ6Amo5VSnWNMIuhPnTQ518UmG', `pwChange`='', `admin`='1', `groups`=NULL, `inherit`='group', `modules`='a:0:{}', `themes`='a:0:{}', `pagemounts`='a:0:{}', `alpty`='a:0:{}', `filemounts`='a:0:{}', `fop`='a:0:{}', `imageSizes`='a:0:{}', `forms`='a:0:{}', `formp`='a:0:{}', `amg`='a:0:{}', `disable`='', `start`='', `stop`='', `session`=NULL, `dateAdded`='1568895652', `secret`=NULL, `useTwoFactor`='', `lastLogin`='0', `currentLogin`='0', `loginCount`=3, `locked`='0', `faqs`='a:0:{}', `faqp`='a:0:{}', `news`='a:0:{}', `newp`='a:0:{}', `newsfeeds`='a:0:{}', `newsfeedp`='a:0:{}', `newsletters`='a:0:{}', `newsletterp`='a:0:{}', `calendars`='a:0:{}', `calendarp`='a:0:{}', `calendarfeeds`='a:0:{}', `calendarfeedp`='a:0:{}', `maeEventCatDefault`='a:0:{}', `maeEventCat`='a:0:{}' WHERE id='1'': SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'maeEventCat' at row 1
Last edited by amida; 09/20/2019 at 16:20.
As I suspected above: It actually seems to be a problem with the marebe1602/mae_event_categories extension. Try to uninstall this extension.
Last edited by xchs; 09/20/2019 at 16:23.
Contao Community Moderator
→ Support options
You are right! I installed a new project without marebe1602/mae_event_categories extension and now I could log in into backend.
After that I installed Contao Manager with the hope that it will appear in back end, but unfortunately it did not appear.
Only in Debug mode it appears.
So, what is the conclusion? marebe1602/mae_event_categories extension does not work with Contao 4.8?
Would be nice to inform the extension developer about this issue..
Hm, that's indeed strange. Perhaps it has something to do with your Devilbox local dev environment. If you think it's a bug, you could create a bug report: https://github.com/contao/contao/issues
You can do this here: https://github.com/marebe1602/mae_ev...egories/issues
It seems, however, that the extension is not really well maintained. The last commit was two years ago.
Contao Community Moderator
→ Support options
I've sent him an email.
Ok, I will create a bug report about Contao Manager.
For now, I can just try to find a solution for Contao 3.5 for our client.
The extension works on that version. I just need help on solve that issue
https://community.contao.org/en/show...nt-Detail-page
Looking on this example, I see that it works
https://demo3.contao-themes.net/even...eme=contaodemo
Isn't it possible to get access to the backend of this demo template and look how it is set up?
Yes, of course: https://demo.contao.org/contao/login
Contao Community Moderator
→ Support options
Than you for support! Nice support!
I will look and try to find a solution. If not, I would like to be in touch with somebody also here
https://community.contao.org/en/show...nt-Detail-page
Instead of marebe1602/mae_event_categories you could maybe try contaoblackforest/contao-calendar-tags-bundle, too. With this extension, you should also be able to filter the events via tags.
Contao Community Moderator
→ Support options
Thank you! If it works in the same way like categories, just are called tags, then it is ok. I will try it.
By contao/core-bundle: ^4.4 does it mean that it works just on contao 4.4 and higher?
If yes, then I will have to solve the problem with Contao Manager as well. For client is important to have it in back end.
Contao Community Moderator
→ Support options
I installed contaoblackforest/contao-calendar-tags-bundle and Mate theme but could not find any tags settings for events.
Also, in Mate, the events page is set up by default with all calendars, events list modules but when I select it in menu, I get error 404. Just News and contacts pages work.
Then I tried to install all project from 0.
1. Last version of Contao
2. Contao Manager
3. With Contao Manager I tried to install Contao Official Demo Theme but at the end I get error and it can not be installed. See the screenshot.
Annotation 2019-09-20 193251.jpg
Is there any working template which I can install and test contaoblackforest/contao-calendar-tags-bundle?
Unfortunately, I have never used this extension either. That's why I can't tell you anything more about it.
The Contao Official Demo (COD) is currently not available for Contao 4.8. You would have to install Contao 4.4 first, then install the COD demo website template and finally update Contao to version 4.8.
Contao Community Moderator
→ Support options
I installed Contao Version 4.4.43 then Contao Manager.
Contao Manager does not show up in back end!
I tried to install Contao Official Demo theme with Manager. I did it's work, I updated the DB clicking the button but I did not found any theme.
Contao Manager also does not show the theme in it's list.
I installed again and this time it end up with error, ask in Contao 4.8.
So, it is not possible to install COD in Contao 4.4
Last edited by amida; 09/20/2019 at 21:42.
Yeah, as I already told you today, the link to the Contao Manager is only available as of Contao 4.8. Therefore, you won't find a back end menu item "Contao Manager" in Contao 4.4. Just open the Contao Manager as usual via http://contao44.loc/contao-manager.phar.php.
In the Contao install tool, you would have to select the COD *.sql template file from the "Templates" select field.
Sure, all you have to do is to search for contao/official-demo:
EDIT:
Alternatively, you can install the COD also via command line. Just run
in the Contao root directory.Code:composer require contao/official-demo:4.0.0
Last edited by xchs; 09/20/2019 at 21:59.
Contao Community Moderator
→ Support options
Contao Community Moderator
→ Support options
Of course, you can do this also with the Contao Manager, but you would have to specify the version 4.0.0 in the corresponding version field.
Contao Community Moderator
→ Support options
So, finally I got it installed!!
Now, please, explain how to update it to the last version, otherwise I don't know what else could happen to me..
And should I install the extension and manager before update or after?
Last edited by amida; 09/20/2019 at 23:28.
Well done!
You can do this either on the command line or with the Contao Manager:
Composer on the command line:
- Edit your composer.json in the Contao root directory and change
toCode:"contao/manager-bundle": "4.4.*",
Code:"contao/manager-bundle": "4.8.*",- Save the composer.json and run
Code:composer update
Contao Manager:
- Edit (gear icon) the version constraint for the "Contao Open Source CMS" entry (i.e. the first one in the package list) and change 4.4.* to 4.8.*
- Mark all (!) other packages for the update and perfom a complete package update
Don't forget to run the Contao install tool and update the database!
That does not matter I think.
Contao Community Moderator
→ Support options
Thank you!
I succeeded to update the system. I installed the Manager on updated system.
Then I installed the extension successfully but as earlier, I can not find it in back end.
I can not find this installed extension also in the list of Manager.
Ok, I just tried it by myself:
Contao Manager:Code:composer require contaoblackforest/contao-calendar-tags-bundle
Contao back end / Events:
Contao Community Moderator
→ Support options
I installed the extension with Manager and it was installed successfully but didn't get it in back end.
Now I installed like you, with Composer and I have it.
I personally also prefer to install with Composer but ordinary users do not like command line and I try to do things like ordinary users..
So, now I have everything for experiments..
Thank you very much!!
I've spent much time with contaoblackforest/contao-calendar-tags-bundle but didn't find how to get the tab filter on events page.
Finally I had to remove it and try again to install mae_event_categories.
This time it works, didn't break anything and without any additional settings I can get the event details page.
Of course now I have another theme (not Mate) but may be it works because the template was installed on Contao 4.4 and then upgraded...?
Bookmarks