Thread tagged as: Blog, Comments

P3 blog comments warning


Just upgraded to P3 and I see this warning in the blog's comment pages in admin:

Warning: include(/Users/username/site/perch/addons/apps/perch_blog/comments/edit/../../PerchBlog_Akismet.class.php): failed to open stream: No such file or directory in /Users/username/site/perch/addons/apps/perch_blog/modes/comment.edit.pre.php on line 11

This looks like a bug but please let me know if I should fix something my side.

Proko Mountrichas

Proko Mountrichas 3 points

  • 4 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

Please post your Diagnostics Report.


Here the diagnostics.

Perch Runway: 3.0, PHP: 7.0.12, MySQL: mysqlnd 5.0.12-dev - 20150407 - $Id: 241ae00989d1995ffcbbf63d579943635faf9972 $, with PDO
Server OS: Darwin, apache2handler
Installed apps: content (3.0), assets (3.0), categories (3.0), perch_blog (5.5), perch_forms (1.9), perch_shop_orders (1.1), perch_shop_products (1.1), perch_shop (1.1), perch_members (1.6), perch_mailchimp (3.1)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_blog', 'perch_members', 'perch_shop', 'perch_mailchimp', 'perch_forms', );
PERCH_PATH: /Users/proko/Sites/
PERCH_CORE: /Users/proko/Sites/
PERCH_RESFILEPATH: /Users/proko/Sites/
Image manipulation: GD
PHP limits: Max upload 8M, Max POST 8M, Memory: 256M, Total max file upload: 8M
F1: 0c66c2e1f82f9e0b7617b2cb8270f2c7
Resource folder writeable: Yes
DOCUMENT_ROOT: /Users/proko/Sites/
REQUEST_URI: /admin/core/settings/diagnostics/
SCRIPT_NAME: /admin/core/settings/diagnostics/index.php

I tried to see why this happens modifying the included path


but no success!

What I can say is that PerchBlog_Akismet.class.php is not two levels up but this realpath() confuses me.

Drew McLellan

Drew McLellan 2638 points
Perch Support

We'll get it fixed. That line is redundant.