Forum

Thread tagged as: Problem

Admin / Settings / Backup. Unable to load settings page.

Hi,

I'm experiencing an issue where I can not load the backup page to enter my settings?

From within perch admin, Settings / Backup. I click the backup link, and the site loads a blank page. The site is trying to load /perch/core/settings/backup/edit/

Screenshot of issue


Perch Runway: 3.1.1, PHP: 7.0.31, MySQL: mysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $, with PDO Server OS: Linux, cgi-fcgi Installed apps: content (3.1.1), assets (3.1.1), categories (3.1.1), perch_blog (5.6.1), perch_forms (1.11), chirp_seo (1.3.0), perch_mailchimp (3.1) App runtimes: <?php $apps_list = [ 'perch_blog', 'perch_mailchimp', 'perch_forms', 'chirp_seo', ]; PERCH_LOGINPATH: /perch PERCH_PATH: /var/www/vhosts/stokesleyshow.co.uk/httpdocs/perch PERCH_CORE: /var/www/vhosts/stokesleyshow.co.uk/httpdocs/perch/core PERCH_RESFILEPATH: /var/www/vhosts/stokesleyshow.co.uk/httpdocs/perch/resources Image manipulation: GD Imagick PHP limits: Max upload 8M, Max POST 32M, Memory: 256M, Total max file upload: 8M F1: 3b606135b33e6a102526838f4152a807 Resource folder writeable: Yes SCRIPT_NAME: /perch/core/settings/diagnostics/index.php REQUEST_URI: /perch/core/settings/diagnostics/ DOCUMENT_ROOT: /var/www/vhosts/stokesleyshow.co.uk/httpdocs HTTP_HOST: stokesleyshow.co.uk

The server is reporting:

GET /perch/core/settings/backup/edit/ HTTP/1.0    https://stokesleyshow.co.uk/perch/core/settings/diagnostics/?extended    Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:62.0) Gecko/20100101 Firefox/62.0    555

mod_fcgid: stderr: PHP Parse error: syntax error, unexpected '=', expecting ']' in /var/www/vhosts/stokesleyshow.co.uk/httpdocs/perch/core/runway/apps/perch_s3/lib/aws/aws-sdk-php/src/data/s3/2006-03-01/api-2.json.php on line 3, referer: https://stokesleyshow.co.uk/perch/core/settings/diagnostics/?extended
Grant Smith

Grant Smith 0 points

  • 3 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

I'm not quite sure what that screenshot is showing me. What should I be looking at?

I was trying to show the link I am pressing that results in the error.

Thought it might help

Drew McLellan

Drew McLellan 2638 points
Perch Support

Are you using an S3 bucket?

I am, yes

Drew McLellan

Drew McLellan 2638 points
Perch Support

When did this problem start?

Site went live last Friday, the amazon s3 details were added on Tuesday I think. Noticed the error the same day, but have only just got around to looking into it

Drew McLellan

Drew McLellan 2638 points
Perch Support

Is the S3 functionality otherwise working?

Morning Drew,

Sorry for not coming back to you sooner, been away. S3 functionality is not working no.

This morning, I removed my S3 settings from config/buckets and config/runway and loaded the backup page without issue.

Hence this is something to do with my settings? Is there anyway to test s3 settings? So I might get a clue which one is incorrect.

Drew McLellan

Drew McLellan 2638 points
Perch Support

It looks like it could be an incompatibility between Amazon's SDK for S3 and your version of PHP. I'm looking into it.

Thanks for persisting Drew