Forum

Thread tagged as: Question, Error, Shop

Server error after re-uploading site

Hi,

I've made some changes to a perch site (added the shop app), but after re-uploading all files and the database, the home page produces a blank page. I can log into admin, but once there that is also blank. I'm getting the following server error:

PHP Parse error: syntax error, unexpected '[' in /home/sites/cookslaneherbs.co.uk/public_html/admin/addons/apps/perch_shop/admin.php on line 7: /home/sites/cookslaneherbs.co.uk/public_html/admin/index.php

Do you know what could be causing this?

Many thanks, Alex

Alex Bennett

Alex Bennett 0 points

  • 5 years ago

My apologies - just switched PHP version to a higher one (5.5) and it seems to be working now! Saw a similar thread on here with that suggestion, should have looked more thoroughly first!

Drew McLellan

Drew McLellan 2638 points
Perch Support

Shop requires PHP 5.4 (as will Perch 2.9), so that explains that.