Thread tagged as: Problem

Blank Screen of death after update to Version 3

    Perch: 3.0, PHP: 5.5.33, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 15d5c781cfcad91193dceae1d2cdd127674ddb3e $, with PDO
    Server OS: Linux, cgi-fcgi
    Installed apps: content (3.0), assets (3.0), categories (3.0)
    App runtimes: <?php include(PERCH_PATH.'/core/apps/content/runtime.php'); ?>
    PERCH_PATH: /home/rottwe/public_html/perch
    PERCH_CORE: /home/rottwe/public_html/perch/core
    PERCH_RESFILEPATH: /home/rottwe/public_html/perch/resources
    Image manipulation: GD Imagick
    PHP limits: Max upload 64M, Max POST 64M, Memory: 256M, Total max file upload: 64M
    F1: 0c66c2e1f82f9e0b7617b2cb8270f2c7
    Resource folder writeable: Yes
    DOCUMENT_ROOT: /home/rottwe/public_html
    REQUEST_URI: /perch/core/settings/diagnostics/
    SCRIPT_NAME: /perch/core/settings/diagnostics/index.php

Please help, I am seeing a blank screen after the update to Perch 3.

Here is the error log:

[29-Mar-2017 12:00:57 Europe/London] PHP Fatal error:  Cannot redeclare perch_content() (previously declared in /home/rottwe/public_html/perch/core/apps/content/runtime.php:18) in /home/rottwe/public_html/perch/core/apps/content/runtime.php on line 18
Andrew Hunt

Andrew Hunt 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Looks like you need to follow the "Check your apps file" part of the upgrade instructions:

If you follow those start to finish that should get you past most common pitfalls.

Hi, thanks for coming back to me.

The instructions refer to a perch/config/config.apps file. I don't have that file. I have apps.php, bk_config.php, config.php, feathers.php and filetypes.ini in tyhat directory

The apps file looks like this:


I have three websites all down at the moment because I thought that this was going to be a simple easy process. What do I need to do to get this sorted??

The apps file is what you need to change.

Change it to this:

    $apps_list = [ 

If you have an app like blog you'd add it like this:

$apps_list = [

That's fixed it thanks. Do I need to install the CKEditor? Is that what's used by default to edit content within Perch or is it something extra? Thanks

You don't need to install it, it's not default

Only need to install it if you do this in your templates editor="ckeditor"

Ok, thanks