I made a fresh installion of 2025.7
one record added, 2 records added to the database
with 2 different autoincrement values
You may want to check:
- If you have added server events in the table that may insert the record again.
- If you have triggers or stored procedures in your database that may insert record to the table again.
- Make sure you have not pressed Back and refreshed the Add page in the browser.
You may also enable Debug and check the log if there are two INSERT statements, you may post the log for discussion.
no events. Only select table and changed field to edit: filename and view: image.
I click Add and wait, takes long and in the list appear double
Yes there are 2 insert in the debug protocol. See screenshot.
Why ?
There is only one in the log. Note that “Executing query” means the script is going to execute the query, not already executed. That is only for debugging in case the query fails. So according to the log the extra record was not added by the page you checked, so you better check elsewhere.
You may test by creating a project with another database or re-create your database from SQL script and try again.
Also double check your web server in case (though unlikely) there are two sites with the same document root.
Why it works with 2024, and when I open the 2024 project with 2025 and generate, the project double the records. There is nothing I can look.
Maybe I need a new version of MySQL for my local server.
On our webhoster I have also problems with 2025.
The 2024 and 2025 version are installed on the same computer. Maybe this is the problem?
Thanks for your help
You can run different versions on the same PC, it is irrelevant. (The websites are run by your web server, not run by PHPMaker either.) Is it possible that you have set up two web sites (one created previously when you used v2024) with the same project folder? You may verify by creating a new project at a new project folder and run with a new virtual host of your web server.
No, I created a new project folder for 2025 .
I can open the 2024 and the 2025 version in 2 tabs of the Webbrowser .
I also saved the the projects with the suffix _2024 and _2025.
Keep running system running, and this is 2024.