I recently uploaded an opencart module to my website. I have nginx configured on ubuntu 14.04
Now my screen is completely blank, nothing shows, here is a snapshot of nginx error logs
FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpected 'else' (T_ELSE), expecting function (T_FUNCTION) in /usr/share/nginx/html/system/database/mysqli.php on line 54" while reading response header from upstream, client: 220.127.116.11, server: 18.104.22.168, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "callnutrition.com"
Any help is appreaciated Thanks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!