Forum

Thread tagged as: Problem, Error, Installation

New install error

Hello, I'm having difficulty debugging the problem with a new install that I can't get to work.

I've setup a subdomain to install Perch to test. I upload the files and then go to /perch/setup and it redirects to /perch/setup/server and I get a 500 internal server error.

This is the messages in the error_log in /perch/setup/server are:

[24-Aug-2017 05:00:07] PHP Warning:  Unexpected character in input:  '\' (ASCII=92) state=1 in /home/dromana/test.dromanabeachgetaway.com.au/perch/setup/server/index.php on line 2
[24-Aug-2017 05:00:07] PHP Parse error:  syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in /home/dromana/test.dromanabeachgetaway.com.au/perch/setup/server/index.php on line 2

Any help would be much appreciated. I can't see any specific trouble shooting tips in the documentation or on the forums to figure this out.

Brad Hardinge

Brad Hardinge 0 points

  • 4 years ago

I thought maybe the server doesn't support Perch but it looks like the compatibility test is now part of the standard install so that's what I'm trying.

Server is running PHP 5.4.26 and MySQL 5.5.57-cll.

Did you try the compatibility test on its own? Also there may be some issues with the server's sub domain config. You can run a test setup on the dromanabeachgetaway.com.au root http docs and use the same database for the test... server.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Are you sure you're running PHP 5.4?

Spot on Drew. Even though in cPanel it said 5.4, I chucked a phpinfo file up and it's 5.2 :(

https://dromanabeachgetaway.com.au/phpinfo.php

Will let the client know. Cheers.