Open ItProbablyIsAl opened 1 year ago
global/config.php
file to ensure the database credentials (hostname, username, password, and database name) are correct. ALTER TABLE your_table_name AUTO_INCREMENT = your_desired_starting_value;
Replace your_table_name
with the name of the table causing the issue, and your_desired_starting_value
with a number higher than the current maximum value in the primary key column.
REPAIR TABLE
command:REPAIR TABLE your_table_name;
Replace your_table_name
with the name of the table causing the issue.
php.ini
file or adding the following lines at the beginning of your PHP script:ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
If things start working again, don't forget to back out the modifications or add//
to comment out the lines.
Good luck.
Installed Form Tools uneventfully and am attempting to add a form. PHP version is 5.3.29, MySQL is 5.1.73. The SQL error appears no matter if I try to create a form from scratch or attempt to import a form using process.php. I feel like I checked the dumb stuff, but I may not be smart enough to know what's actually dumb. Any assistance or guidance would be very welcome. I've gone through and made everything writable (775 on the files and directories) just in case with no effect. I've truncated all the empty tables to reset the autoID info and still no luck. Thank you for any assistance that you can provide.