Posts by nharding99

    When I open the Admin and try to edit an image section in a Gallery album (e.g. try to change the title or add a description) then when I hit Save I get am http 500 server error. This was working fine about 4 weeks ago.

    Details of the versions etc...

    • Perch: 2.8.34, PHP: 7.2.24, MySQL: mysqlnd 5.0.12-dev - 20150407 - $Id: 3591daad22de08524295e1bd073aceeff11e6579 $, with PDO
    • Server OS: Linux, litespeed
    • Installed apps: content (2.8.34), assets (2.8.34), categories (2.8.34), perch_gallery (2.8.5), perch_backup (1.2)
    • App runtimes: <?php //$apps_list = array( // 'content', // 'categories', // 'gallery', //); ?> <?php include(PERCH_PATH.'/core/apps/content/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_gallery/runtime.php'); ?>
    • PERCH_LOGINPATH: /admin
    • PERCH_PATH: /home/barnesmo/public_html/admin
    • PERCH_CORE: /home/barnesmo/public_html/admin/core
    • PERCH_RESFILEPATH: /home/barnesmo/public_html/admin/resources
    • Image manipulation: GD
    • PHP limits: Max upload 32M, Max POST 64M, Memory: 128M, Total max file upload: 32M
    • F1: 6a33f95eca3667f9e0c39bf5ca2980fe
    • Resource folder writeable: Yes
    • HTTP_HOST:
    • DOCUMENT_ROOT: /home/barnesmo/public_html
    • REQUEST_URI: /admin/core/settings/diagnostics/
    • SCRIPT_NAME: /admin/core/settings/diagnostics/index.php

    I don't see any errors logged in htdocs root directory.

    If I look in cpanel error logs I don't see anything that corresponds, only this sort of thing from about 3 hours ago:

    [2020-01-06 15:37:10]: uid: (1029/barnesmo) gid: (1031/barnesmo) cmd: redirect.cgi

    Any thoughts?


    This is Perch 2.7.3 and was installed and was fully working in 2014.

    Now when my client logins in she is unable to upload images or save content.

    When I login and try to save content using Chrome I get an HTTP ERROR 500. If I try Microsoft Edge I get a white screen and the activity doesn't complete.

    The PHP version is 7.0.33. It's possible that that has been updated and might be a cause.

    In the server error log I see these sorts of errors: [Tue Jan 29 16:29:09 2019] [error] [client] #6 /home/sites/4a/5/5b9885799f/public_html/admin/core/apps/content/modes/edit.form.pre.php(153): PerchCon in /home/sites/4a/5/5b9885799f/public_html/admin/core/lib/ParsedownExtra.class.php on line 914 [Tue Jan 29 16:37:39 2019] [error] [client] PHP Notice: Array to string conversion in /home/sites/4a/5/5b9885799f/public_html/admin/core/lib/ParsedownExtra.class.php on line 914 [Tue Jan 29 16:37:39 2019] [error] [client] PHP Notice: Undefined property: ParsedownExtra::$Array in /home/sites/4a/5/5b9885799f/public_html/admin/core/lib/ParsedownExtra.class.php on line 914 [Tue Jan 29 16:37:39 2019] [error] [client] PHP Fatal error: Uncaught Error: Function name must be a string in /home/sites/4a/5/5b9885799f/public_html/admin/core/lib/ParsedownExtra.class.php:914 [Tue Jan 29 16:37:39 2019] [error] [client] Stack trace: [Tue Jan 29 16:37:39 2019] [error] [client] #0 /home/sites/4a/5/5b9885799f/public_html/admin/core/lib/ParsedownExtra.class.php(951): Parsedown->element(Array) [Tue Jan 29 16:37:39 2019] [error] [client] #1 /home/sites/4a/5/5b9885799f/public_html/admin/core/lib/ParsedownExtra.class.php(277): Parsedown->elements(Array) [Tue Jan 29 16:37:39 2019] [error] [client] #2 /home/sites/4a/5/5b9885799f/public_html/admin/core/lib/ParsedownExtra.class.php(68): Parsedown->lines(Array)

    It may be that upgrading to the latest version of Perch 2 might fix this. Can anyone confirm or suggest next steps?

    Many thanks