jemproject / JEM-Project

JEM - an Event Manager for Joomla
https://www.joomlaeventmanager.net
GNU General Public License v3.0
25 stars 37 forks source link

JEM 2.3.5 (2.3.6) Problem after clean install! #1485

Closed jojo12 closed 1 year ago

jojo12 commented 1 year ago

When I try to install a clean JEM 2.3.5 and then trying to save JEM settings) I get the error (we know jemproject/JEM-Project#1401)

danger Save failed with the following error: Field 'modified' doesn't have a default value

If we prepare a new version JEM 2.3.6, we should correct this!

jojo12 commented 1 year ago

Attempt to assign property "css_backend_usecustom" on string C:\xampp\htdocs\mysite.ch\libraries\vendor\joomla\registry\src\Registry.php:814

Call stack

| Function | Location

1 | () | JROOT\libraries\vendor\joomla\registry\src\Registry.php:814 2 | Joomla\Registry\Registry->bindData() | JROOT\libraries\vendor\joomla\registry\src\Registry.php:809 3 | Joomla\Registry\Registry->bindData() | JROOT\libraries\vendor\joomla\registry\src\Registry.php:335 4 | Joomla\Registry\Registry->loadObject() | JROOT\components\com_jem\classes\config.class.php:150 5 | JemConfig->bind() | JROOT\administrator\components\com_jem\models\settings.php:95 6 | JemModelSettings->store() | JROOT\administrator\components\com_jem\controllers\settings.php:121 7 | JemControllerSettings->save() | JROOT\libraries\src\MVC\Controller\BaseController.php:702 8 | Joomla\CMS\MVC\Controller\BaseController->execute() | JROOT\administrator\components\com_jem\jem.php:48 9 | require_once() | JROOT\libraries\src\Component\ComponentHelper.php:402 10 | Joomla\CMS\Component\ComponentHelper::executeComponent() | JROOT\libraries\src\Component\ComponentHelper.php:377 11 | Joomla\CMS\Component\ComponentHelper::renderComponent() | JROOT\libraries\src\Application\AdministratorApplication.php:101 12 | Joomla\CMS\Application\AdministratorApplication->dispatch() | JROOT\libraries\src\Application\AdministratorApplication.php:159 13 | Joomla\CMS\Application\AdministratorApplication->doExecute() | JROOT\libraries\src\Application\CMSApplication.php:225 14 | Joomla\CMS\Application\CMSApplication->execute() | JROOT\administrator\index.php:51

mckillo commented 1 year ago

I don't know this version 2.3.6, Is it for Joomla 3? But it it's so, I don't think it's necessary The last beta version is 2.3.15 for Joomla , and with this version, you can migrate from 2.3.5 in J3 to 2.3.15 in J4. And I suppose that the final release will be 3.0.0 or 4.0.0 (If you want to pair with Joomla 4)

mckillo commented 1 year ago

And The bug has been fixed by this morning's commit with new scripts. See jemproject/JEM-Project#1513

mckillo commented 1 year ago

Sorry I don't see the other branch in Github. It would be good to know what is the final version (3.0? 4.0?), because there are changed the version number into install and mysql scripts.

jojo12 commented 1 year ago

My situation was the following. For testing purposes, I installed a clean JEM 2.3.5 oon a clean joomla 3.10.11. Then I had always this problem that I wasn't able to prepare and save some settings, before trying to update to Joomla!4. If we give a last version to Joomla! 3 we should correct this error in the install file.

mckillo commented 1 year ago

I think that you need apply the solution jemproject/JEM-Project#1401 but with the css setup for JEM 2.3.5, do you try it ? In the code https://github.com/Heklaterriol/JEM-Project/blob/2.3.6-preupdate-release/admin/sql/install.mysql.utf8.sql doesn't, the line297 is css field start with '' (empty). There are any css configuratioin.

Heklaterriol commented 1 year ago

does this persist or can we close it?

jojo12 commented 1 year ago

I can't test it. Is this line now integrated?

mckillo commented 1 year ago

If you mean a merge this branch to new version, this línea branch can't integrate into JEM-4beta2 because old code for J2&J3 were deleted.

jojo12 commented 1 year ago

Forget it

Heklaterriol commented 1 year ago

This branch is a potential pre-update release for J3. See jemproject/JEM-Project#1547

Heklaterriol commented 1 year ago

It this a real issue or can we close it?

jojo12 commented 1 year ago

Because I fear that Joomla! 3 will live much longer than they think, there will be users which want to start with the best JEM for Joomla! 3. If so, they will have the same problem, we had starting new with JEM for Joomla! 4. So I prefer to correct the install.sql

mckillo commented 1 year ago

The solution is https://github.com/Heklaterriol/JEM-Project/issues/188#issuecomment-1495061678 but for JEM for J3

jojo12 commented 1 year ago

right!

mckillo commented 1 year ago

@jojo12 Check it please, and if it's good, close it (one less).

jojo12 commented 1 year ago

works thanks