Closed ericc-dream closed 4 months ago
To be sure and complete On my dev server: I created a new database I created a new e107 version 2.3.3 installation. I did the full install, giving permission of all the required folders Didn't configure anything and didn't install any extra plugin, just the basic, default clone your repo with a "git clone https://github.com/Moc/cookbook.git" in the e107_plugin folder and give 777 permission Install the plugin from the admin interface. Everything works well Create 3 categories : "Starter", "Main course", "Dessert" Create the new recipe (same as yesterday) -> same error :
Event triggers fired (admin_cookbook_recipes_create, admin_ui_create) Toggle data SQL Error #23000: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'r_instructionsnew' cannot be null SQL QRY Error
Thank you! This is a bug caused by a mistake on my part. Will fix soon.
Please redownload the files from Github, reinstall the plugin, and you should be good to go :)
OK, works for me Thanks
Bug Description
When I created the first recipe, just after installing the plugin, I had a "SQL Insert Error" I retried several time with the same problem, so I activate "Developer mode" and this time it worked For each try, I delete the database and re-import it, so I'm in the same state each time
How to Reproduce
Steps to reproduce the behavior:
Expected Behavior
Just the recipe to be added to the database
I activate the debug mode [debug=sql!] , and this is what I have collected :
Probably an issue with the Admin theme, but at first I haven't see that there was something in the big almost white box
Note that when the "Developer mode" is not active, there are no cell "instructionsnew" And when it's active, I see some cells with label "New instructions" but I never fill them
I tried to desactivate the "Developer mode" and create a new recipe and I encounter the same problem again
Server Information (optional)
Apache 2.0 running on Linux Ubuntu server in a VM
PHP Version
PHP8.2.20
Client Information
Firefox 127.0.2 , on Linux Kubuntu (Ubuntu and KDE)
Tell me if you need more info