Skip to content

Installation error: Tables already exist! #947

@philipschilling

Description

@philipschilling

Hi Ken,

I really love FormTools and used it on multiple projects for a long time. Now I wanted to use it again but the installation failed. My provider only supports php 8.1 - 8.4 and I tried with 8.1. Somehow the database tables are not installed. I get this message but the database is empty. I cannot get past this message:

Tables already exist!
Sorry, it appears that some tables already exist with the table prefix that you entered. You can either choose to overwrite these tables or pick a new table prefix.

https://github.com/user-attachments/assets/1987792f-7330-4a90-bda6-e6977e618aa5
PHP 8.1.32 - phpinfo().html.txt

The php error log message is:
[Sat May 10 15:29:53.192004 2025] [proxy_fcgi:error] [pid 54825:tid 37055888640] [client 172.69.225.237:39722] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught PDOException: There is no active transaction in /v1/global/code/Database.class.php:148\nStack trace:\n#0 /v1/global/code/Database.class.php(148): PDO->rollBack()\n#1 /v1/global/code/Installation.class.php(933): FormTools\\Database->rollbackTransaction()\n#2 /v1/install/actions-installation.php(186): FormTools\\Installation::createDatabase(Object(FormTools\\Database))\n#3 {main}\n thrown in /v1/global/code/Database.class.php on line 148', referer https://forms.p.com/install/

It seems that you barely maintain the script but you updated it for 8.x. Any idea how this could be fixed?

Thanks,

Philip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions