Forum
Categories in apps config
I am in the process of moving a site nwbb-lancs.org from one host to another. I am testing it with another domain name nwbbll.org.uk on the new host. I have copied the files and database over and made the changes to config file. All seems to be working fine except for two errors at the top of the page.
Warning: include(/home/bbtest/public_html/perch/addons/apps/perch_categories/runtime.php): failed to open stream: No such file or directory in /home/bbtest/public_html/perch/config/apps.php on line 8
Warning: include(): Failed opening '/home/bbtest/public_html/perch/addons/apps/perch_categories/runtime.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bbtest/public_html/perch/config/apps.php on line 8
Investigating this I have found that I do not have /perch/addons/apps/perch_categories/ folder.
My apps.php file is asking for it though:
<?php
include(PERCH_PATH.'/core/apps/content/runtime.php');
include(PERCH_PATH.'/addons/apps/perch_blog/runtime.php');
include(PERCH_PATH.'/addons/apps/perch_gallery/runtime.php');
include(PERCH_PATH.'/addons/apps/perch_forms/runtime.php');
include(PERCH_PATH.'/addons/apps/perch_events/runtime.php');
include(PERCH_PATH.'/addons/apps/perch_categories/runtime.php');
include(PERCH_PATH.'/addons/apps/perch_members/runtime.php');
?>
If I remove the line (8) the errors are gone and it seems ok so far. Is this ok to remove? I am not getting any errors on the live site, are they just not showing up on that server?
Perch: 2.8.2, PHP: 5.5.31, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 15d5c781cfcad91193dceae1d2cdd127674ddb3e $, with PDO
Server OS: Linux, cgi-fcgi
Installed apps: content (2.8.2), assets (2.8.2), categories (2.8.2), perch_blog (4.6), perch_events (1.9.2), perch_forms (1.8.2), perch_gallery (2.8.6), perch_members (1.2)
App runtimes: <?php include(PERCH_PATH.'/core/apps/content/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_blog/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_gallery/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_forms/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_events/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_categories/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_members/runtime.php'); ?>
PERCH_LOGINPATH: /perch
PERCH_PATH: /home/bbtest/public_html/perch
PERCH_CORE: /home/bbtest/public_html/perch/core
PERCH_RESFILEPATH: /home/bbtest/public_html/perch/resources
Image manipulation: GD
PHP limits: Max upload 2M, Max POST 8M, Memory: 32M, Total max file upload: 2M
Resource folder writeable: Yes
DOCUMENT_ROOT: /home/bbtest/public_html
HTTP_HOST: nwbbll.org.uk
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
UPDATE:
I have updated the perch core now and the messages remain.
Change this:
to:
That worked great thanks Drew.