Forum

Thread tagged as: Error, Addons, Blog

PHP errors

Hi, I have just installed some apps on a new install and I am getting PHP errors below. I re-installed mail chimp app but the errors did not change.

Perch Runway: 2.8.8, PHP: 5.4.41, MySQL: mysqlnd 5.0.10 - 20111026 - $Id: c85105d7c6f7d70d609bb4c000257868a40840ab $, with PDO
Server OS: Linux, cgi-fcgi
Installed apps: content (2.8.8), assets (2.8.8), categories (2.8.8), perch_blog (4.6), perch_kraken (1.0), perch_mailchimp (2.0.1)
App runtimes: <?php $apps_list = array( 'content', 'categories', ‘perch_blog’, ‘perch_mailchimp’, );
PERCH_LOGINPATH: /perch
PERCH_PATH: /home4/digitale/public_html/perch
PERCH_CORE: /home4/digitale/public_html/perch/core
PERCH_RESFILEPATH: /home4/digitale/public_html/perch/resources
Image manipulation: GD Imagick
PHP limits: Max upload 128M, Max POST 128M, Memory: 128M, Total max file upload: 128M
Resource folder writeable: Yes
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
REQUEST_URI: /perch/core/settings/diagnostics/
DOCUMENT_ROOT: /home4/digitale/public_html
HTTP_HOST: digitaleducation.education
Warning: include(/home4/digitale/public_html/perch/addons/apps/‘perch_blog’/runtime.php): failed to open stream: No such file or directory in /home4/digitale/public_html/perch/core/inc/apps.php on line 22

Warning: include(): Failed opening '/home4/digitale/public_html/perch/addons/apps/‘perch_blog’/runtime.php' for inclusion (include_path='.:/usr/local/php53/lib:/usr/lib/php:/usr/local/lib/php') in /home4/digitale/public_html/perch/core/inc/apps.php on line 22

Warning: include(/home4/digitale/public_html/perch/addons/apps/‘perch_mailchimp’/runtime.php): failed to open stream: No such file or directory in /home4/digitale/public_html/perch/core/inc/apps.php on line 22

Warning: include(): Failed opening '/home4/digitale/public_html/perch/addons/apps/‘perch_mailchimp’/runtime.php' for inclusion (include_path='.:/usr/local/php53/lib:/usr/lib/php:/usr/local/lib/php') in /home4/digitale/public_html/perch/core/inc/apps.php on line 22
David Roberts

David Roberts 0 points

  • 6 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

Whatever you are using as a text editor is converting quotes into smart quotes - you can see them in the error.

I still get these errors.

Warning: include(/home4/digitale/public_html/perch/addons/apps/perch_mailchip/runtime.php): failed to open stream: No such file or directory in /home4/digitale/public_html/perch/core/inc/apps.php on line 22

Warning: include(): Failed opening '/home4/digitale/public_html/perch/addons/apps/perch_mailchip/runtime.php' for inclusion (include_path='.:/usr/local/php53/lib:/usr/lib/php:/usr/local/lib/php') in /home4/digitale/public_html/perch/core/inc/apps.php on line 22
Drew McLellan

Drew McLellan 2638 points
Perch Support

You've missed the m in chimp.

perch_mailchip

Thanks Drew. Helped if I checked it again!

Ok, not a spelling error or wrong quote mark. Error when opening default home page.

Warning: include(/home4/digitale/public_html/index.php): failed to open stream: No such file or directory in /home4/digitale/public_html/perch/core/runway/start.php on line 27

Warning: include(): Failed opening '/home4/digitale/public_html/index.php' for inclusion (include_path='.:/usr/local/php53/lib:/usr/lib/php:/usr/local/lib/php') in /home4/digitale/public_html/perch/core/runway/start.php on line 27
Drew McLellan

Drew McLellan 2638 points
Perch Support

Was this working prior to your changes?

How is your home page set up? It sounds like it's set to use the "local file" option for its master page. Is that correct? If so, that page is simply missing.

I have not added any 'pages' as it is a new build and I was just looking at the default files. Where to I find the 'local file' for the home page?

Drew McLellan

Drew McLellan 2638 points
Perch Support

Did you add the home page or was it created automatically?

It should be listed as "Home page" under Pages if so. Click on it, and then click Page Options in the smartbar.

What value is set as the Master Page? You may find there's a "Home" option you can select if it's not already selected.

Did you add the home page or was it created automatically? A automatically

What value is set as the Master Page? You may find there's a "Home" option you can select if it's not already selected.

A It is on top level. It does not let you select Home page.

Drew McLellan

Drew McLellan 2638 points
Perch Support

It sounds like you're looking at the Parent Page option. What is the Master Page option set to?

The master home page is set to home.php, default is default.php.

Drew McLellan

Drew McLellan 2638 points
Perch Support

So the master page is set to Home?

Yes it is.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you show me what your diagnostic report looks like now?

I need to get on building this site, can I do that without any problems?

Perch Runway: 2.8.8, PHP: 5.4.41, MySQL: mysqlnd 5.0.10 - 20111026 - $Id: c85105d7c6f7d70d609bb4c000257868a40840ab $, with PDO
Server OS: Linux, cgi-fcgi
Installed apps: content (2.8.8), assets (2.8.8), categories (2.8.8), perch_blog (4.6), perch_kraken (1.0), perch_mailchimp (2.0.1)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_blog', 'perch_mailchimp', );
PERCH_LOGINPATH: /perch
PERCH_PATH: /home4/digitale/public_html/perch
PERCH_CORE: /home4/digitale/public_html/perch/core
PERCH_RESFILEPATH: /home4/digitale/public_html/perch/resources
Image manipulation: GD Imagick
PHP limits: Max upload 128M, Max POST 500M, Memory: 128M, Total max file upload: 128M
Resource folder writeable: Yes
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
REQUEST_URI: /perch/core/settings/diagnostics/
DOCUMENT_ROOT: /home4/digitale/public_html
HTTP_HOST: digitaleducation.education
Drew McLellan

Drew McLellan 2638 points
Perch Support

Does everything else work ok?

Yes, it seems ok. The only other thing under assets the the actual images are not showing but the box and text is there, (nesting bird, etc)

Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok, let us know if that causes any problems.