Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup failing #1

Open
airbornedan opened this issue Dec 1, 2021 · 1 comment
Open

Setup failing #1

airbornedan opened this issue Dec 1, 2021 · 1 comment

Comments

@airbornedan
Copy link

airbornedan commented Dec 1, 2021

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

@mkomarinski
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants