We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum

Forum

Thread tagged as: Problem, Error

Images aren't being written to resources folder

When I try and add an asset through either the Assets section of the admin area or from within my page template, the image (looks like it) uploads fine and then immediately disappears. When I check the resources folder on my server there is no file. From the extended report diagnostic report everything looks good as far as permissions and file size limits.

My Diagnostic report:

Perch: 2.8.13, PHP: 5.4.10, MySQL: 5.0.77, with PDO
Server OS: Linux, apache2handler
Installed apps: content (2.8.13), assets (2.8.13), categories (2.8.13), perch_events (1.8), perch_forms (1.8.2)
App runtimes: <?php include(PERCH_PATH.'/core/apps/content/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_events/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_forms/runtime.php'); ?>
PERCH_LOGINPATH: /perch
PERCH_PATH: /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch
PERCH_CORE: /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core
PERCH_RESFILEPATH: /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/resources
Image manipulation: GD Imagick
PHP limits: Max upload 10M, Max POST 8M, Memory: 128M, Total max file upload: 8M
Resource folder writeable: Yes
HTTP_HOST: www.aspensantafeballet.com
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
DOCUMENT_ROOT: /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content

Here is the page code :

 <img src='<perch:content id="company_header_image" type="image" width="1000" height="400" crop="true" quality="100" label="Company header image" />' class="rounded" />
Sam Chittenden

Sam Chittenden 0 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Is there anything in your server error log?

There is but I don't know what it means :)

here is the full log (feel free to delete this post if this is too much)

[30-Sep-2015 15:20:24 UTC] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/apps/content/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/config/apps.php on line 2
[30-Sep-2015 15:20:24 UTC] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/apps/content/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/config/apps.php on line 2
[30-Sep-2015 15:20:24 UTC] PHP Fatal error:  Call to undefined function perch_content() in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/index.php on line 985
[30-Sep-2015 10:20:31 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/../inc/pre_config.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php on line 11
[30-Sep-2015 10:20:31 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/../inc/pre_config.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php on line 11
[30-Sep-2015 15:20:31 UTC] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/inc/apps.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php on line 15
[30-Sep-2015 15:20:31 UTC] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/inc/apps.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php on line 15
[30-Sep-2015 15:20:31 UTC] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/inc/forms.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php on line 16
[30-Sep-2015 15:20:31 UTC] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/inc/forms.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php on line 16
[30-Sep-2015 15:20:31 UTC] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/inc/feathers.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php on line 20
[30-Sep-2015 15:20:31 UTC] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/inc/feathers.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php on line 20
[30-Sep-2015 15:20:31 UTC] PHP Fatal error:  Call to undefined function perch_content() in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/index.php on line 985
[30-Sep-2015 10:20:40 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:20:40 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:20:40 America/Chicago] PHP Fatal error:  Call to undefined function perch_content() in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/index.php on line 985
[30-Sep-2015 10:20:41 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:20:41 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:20:41 America/Chicago] PHP Fatal error:  Call to undefined function perch_content() in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/index.php on line 985
[30-Sep-2015 10:20:46 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:20:46 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:20:46 America/Chicago] PHP Fatal error:  Call to undefined function perch_content() in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/index.php on line 985
[30-Sep-2015 10:20:50 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:20:50 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:20:50 America/Chicago] PHP Fatal error:  Call to undefined function perch_content() in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/index.php on line 985
[30-Sep-2015 10:20:50 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:20:50 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:20:50 America/Chicago] PHP Fatal error:  Call to undefined function perch_content() in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/index.php on line 985
[30-Sep-2015 10:21:03 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:21:03 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:21:03 America/Chicago] PHP Fatal error:  Call to undefined function perch_content() in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/index.php on line 985
[30-Sep-2015 10:21:15 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:21:15 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:21:15 America/Chicago] PHP Fatal error:  Call to undefined function perch_content() in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/index.php on line 985
[30-Sep-2015 10:21:18 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:21:18 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:21:18 America/Chicago] PHP Fatal error:  Call to undefined function perch_content() in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/index.php on line 985
[30-Sep-2015 10:21:20 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:21:20 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:21:20 America/Chicago] PHP Fatal error:  Call to undefined function perch_content() in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/index.php on line 985
[30-Sep-2015 10:21:22 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:21:22 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:21:22 America/Chicago] PHP Fatal error:  Call to undefined function perch_content() in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/index.php on line 985
[30-Sep-2015 10:21:54 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:21:54 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:21:54 America/Chicago] PHP Fatal error:  Call to undefined function perch_content() in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/index.php on line 985
[30-Sep-2015 10:21:54 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:21:54 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:21:54 America/Chicago] PHP Fatal error:  Call to undefined function perch_content() in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/index.php on line 985
[30-Sep-2015 10:22:12 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:22:12 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:22:12 America/Chicago] PHP Fatal error:  Call to undefined function perch_content() in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/index.php on line 985
[30-Sep-2015 10:22:12 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:22:12 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:22:12 America/Chicago] PHP Fatal error:  Call to undefined function perch_content() in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/index.php on line 985
[30-Sep-2015 10:22:18 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:22:18 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:22:18 America/Chicago] PHP Fatal error:  Call to undefined function perch_content() in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/index.php on line 985
[30-Sep-2015 10:22:28 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:22:28 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:22:28 America/Chicago] PHP Fatal error:  Call to undefined function perch_content() in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/index.php on line 985
[30-Sep-2015 10:22:33 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:22:33 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:22:33 America/Chicago] PHP Fatal error:  Call to undefined function perch_content() in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/index.php on line 985
[30-Sep-2015 10:22:33 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:22:33 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:22:33 America/Chicago] PHP Fatal error:  Call to undefined function perch_content() in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/index.php on line 985
[30-Sep-2015 10:22:39 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:22:39 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:22:39 America/Chicago] PHP Fatal error:  Call to undefined function perch_content() in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/index.php on line 985
[30-Sep-2015 10:22:39 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:22:39 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:22:39 America/Chicago] PHP Fatal error:  Call to undefined function perch_content() in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/index.php on line 985
[30-Sep-2015 10:22:47 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:22:47 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:22:47 America/Chicago] PHP Fatal error:  Call to undefined function perch_content() in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/index.php on line 985
[30-Sep-2015 10:22:47 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:22:47 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:22:47 America/Chicago] PHP Fatal error:  Call to undefined function perch_content() in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/index.php on line 985
[30-Sep-2015 10:22:51 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:22:51 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:22:51 America/Chicago] PHP Fatal error:  Call to undefined function perch_content() in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/index.php on line 985
[30-Sep-2015 10:23:01 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:23:01 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:23:01 America/Chicago] PHP Fatal error:  Call to undefined function perch_content() in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/index.php on line 985
[30-Sep-2015 10:23:01 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:23:01 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[30-Sep-2015 10:23:01 America/Chicago] PHP Fatal error:  Call to undefined function perch_content() in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/index.php on line 985

Drew McLellan

Drew McLellan 2638 points
Perch Support

It looks like you've got all sorts of things missing. Did setup go ok? Is the site otherwise working normally?

A lot of the errors seem to repeats as I kept attempting the image upload

Drew McLellan

Drew McLellan 2638 points
Perch Support

Is the site otherwise working normally?

The set up is fine and the other sections of the site work fine. The page I was working on looked good too except for the missing image region

Drew McLellan

Drew McLellan 2638 points
Perch Support

So your pages are displaying content correctly?

Correct. The input fields for the page in the admin section for the page looked good and handled the text inputs well. Even the link to upload or choose an image worked ok. Only after I had selected the image to upload did it fail. I would see the image thumbnail and the green progress bar zip by and then the Asset area would reset and say there were no assets available. I tried having both a specified bucket for the image (which also didn't auto-create) and (as it stands now in my template) just attempting to upload to the default 'resources' folder.

Drew McLellan

Drew McLellan 2638 points
Perch Support

What about your website pages, rather than the Perch control panel?

Ben Furfie

Ben Furfie 3 points
Registered Developer

We had this issue a while ago. Have you checked to make sure the server has permission to write to the resources folder? Whenever this has happened to me in the past, that was almost always the root cause - especially when it appeared to upload but didn't throw an error.

Drew McLellan said:

What about your website pages, rather than the Perch control panel?

The website pages using perch elements are displaying content correctly, seems to only be an issue with writing to the resources folder.

My diagnostic report says that the resources folder is writable though...

Image manipulation: GD Imagick
PHP limits: Max upload 10M, Max POST 8M, Memory: 128M, Total max file upload: 8M
Resource folder writeable: Yes

I tried uploading an image through the admin section again and the php log isn't showing any errors... but same result. A speedy green progress bar + thumbnail, then a refresh and then no image anywhere.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you try forcing the use of GD? In your config.php file:

 define('PERCH_IMAGE_LIB', 'gd');

added to my config.php file and diagnostic is showing GD as the image manipulator:

Perch: 2.8.13, PHP: 5.4.10, MySQL: 5.0.77, with PDO
Server OS: Linux, apache2handler
Installed apps: content (2.8.13), assets (2.8.13), categories (2.8.13), perch_events (1.8), perch_forms (1.8.2)
App runtimes: <?php include(PERCH_PATH.'/core/apps/content/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_events/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_forms/runtime.php'); ?>
PERCH_LOGINPATH: /perch
PERCH_PATH: /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch
PERCH_CORE: /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core
PERCH_RESFILEPATH: /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/resources
Image manipulation: GD Imagick
PHP limits: Max upload 10M, Max POST 8M, Memory: 128M, Total max file upload: 8M
Resource folder writeable: Yes
HTTP_HOST: www.aspensantafeballet.com
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
DOCUMENT_ROOT: /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content

but same result when I tried uploading a file :(

Drew McLellan

Drew McLellan 2638 points
Perch Support

Does this work locally in your dev environment?

I don't have a dev environment set up that I am running this site on. This was just an after the fact add on page for a live site.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you try reuploading the Perch core folder?

I reuploaded and tried another file upload with the same results. Seems the resource bucket directory was written ok but no image file. I checked the php error log and got this list:

[08-Oct-2015 10:04:51 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[08-Oct-2015 10:04:51 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[08-Oct-2015 10:04:51 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[08-Oct-2015 10:04:51 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[08-Oct-2015 10:04:51 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[08-Oct-2015 10:04:51 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[08-Oct-2015 10:04:51 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[08-Oct-2015 10:04:51 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[08-Oct-2015 10:04:51 America/Chicago] PHP Warning:  include(/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php): failed to open stream: No such file or directory in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
[08-Oct-2015 10:04:51 America/Chicago] PHP Warning:  include(): Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/runtime.php on line 2
Drew McLellan

Drew McLellan 2638 points
Perch Support

This is worrying:

Failed opening '/mnt/Target01/334262/342689/www.aspensantafeballet.com/web/content/perch/core/runtime/runtime.php' for inclusion

Are you sure your permission are correct?

I am double checking on my permissions. Is there a reason that most of the Perch install would work fine and be writable but throw errors for image uploading? I will post a reply re: server permissions as soon as I hear back from the server management company.

Thanks Drew for your help so far :)

Drew McLellan

Drew McLellan 2638 points
Perch Support

There's no reason for that other than permissions that I can think of.