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

Smarty Not Working #1037

Open
Ezzytechs opened this issue Jun 22, 2024 · 3 comments
Open

Smarty Not Working #1037

Ezzytechs opened this issue Jun 22, 2024 · 3 comments

Comments

@Ezzytechs
Copy link

Get this error while I download and try to lunch demo project on my pc using xamp
Parse error: syntax error, unexpected variable "$smarty" in C:\Program Files\XAMPP\htdocs\smarty-master\demo\index.php on line 8. How do i solve this error?

@wisskid
Copy link
Contributor

wisskid commented Jun 22, 2024

Show us the source of this index.php file?

I don't know the "lunch demo" project that you are referring to.

@Ezzytechs
Copy link
Author

okay. thank you for your assistance. the demo project I am talking about is the default demo folder in the smarty file when I download it. The file refuse to open my browser while i navigate to it using XAMPP via local host. The index.php is in the root directory of my own project im trying to create using smarty. thanks

@wisskid
Copy link
Contributor

wisskid commented Jun 22, 2024

In that case you may be using an outdated PHP version. Also, you need to follow the installation instructions

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