Skip to content

Setup failing #1

Description

@airbornedan

I've used this cool PHP gift reg in the past and was attempting to install it on a new server. However, there are some sql commands in the create-phpgiftregdb.sql file that don't work on the latest version of MySQL. This was pretty easy to fix and if anyone is interested I can submit the updated .sql file.

More importantly though, the setup.php file fails to initialize MySmarty and I can't figure out exactly where it's going wrong. I've attempted to troubleshoot, but everything seems to work fine (db connection, permissions, etc) until it gets to the line "$smarty = new MySmarty();"

My install is a Debian box with Apache2, PHP 8.0.1, and MySQL 8.0

Activity

  1. mkomarinski commented on Oct 2, 2022

    @mkomarinski

    Smarty (at least this version) doesn't work with PHP 8. Downgrade to 7.4 and it should be fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions