Forum
Cron Job Errors
I'm getting PHP warnings when using run.php as a scheduled task. perch_backup doesn't have a runtime so I'm not sure why it's looking for one.
PHP Warning: include(/home/foreverl/public_html/perch/addons/apps/perch_backup/runtime.php): failed to open stream: No such file or directory in /home/foreverl/public_html/perch/core/inc/apps.php on line 21
PHP Warning: include(/home/foreverl/public_html/perch/addons/apps/perch_backup/runtime.php): failed to open stream: No such file or directory in /home/foreverl/public_html/perch/core/inc/apps.php on line 21
PHP Warning: include(): Failed opening '/home/foreverl/public_html/perch/addons/apps/perch_backup/runtime.php' for inclusion (include_path='.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in /home/foreverl/public_html/perch/core/inc/apps.php on line 21
Sometimes I don't get the above erros but get this:
Unable to create required database tables.
Here is my short diagnostic.
Perch Runway: 2.8.19, PHP: 5.6.16, MySQL: 5.6.23, with PDO
Server OS: Linux, cgi-fcgi
Installed apps: content (2.8.19), assets (2.8.19), categories (2.8.19), collection_8 (2.8.19), collection_16 (2.8.19), perch_forms (1.8.3), collection_7 (2.8.19), perch_comments (1.2), perch_members (1.4), perch_backup (1.2)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_comments', 'perch_forms', 'perch_members' );
PERCH_LOGINPATH: /perch
PERCH_PATH: /home/foreverl/public_html/perch
PERCH_CORE: /home/foreverl/public_html/perch/core
PERCH_RESFILEPATH: /home/foreverl/public_html/perch/resources
Image manipulation: GD Imagick
PHP limits: Max upload 128M, Max POST 128M, Memory: 256M, Total max file upload: 128M
Resource folder writeable: Yes
DOCUMENT_ROOT: /home/foreverl/public_html
HTTP_HOST: foreverlds.com
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
The old Backup app isn't compatible with Perch Runway. Use the built-in backup functionality under Settings instead.