I have run into what may appear to be a conflict between Community Builder and another developers plugin and hope someone can shed some light on this message. It is related to the plugin (as the error disappears when the plugin in disabled). Issue surfaced after a recent update to PHP and SQL on the server:
PHP 5.4.45
SQL 5.5.46-cll
My suspicion is possible shared naming conventions, but that is a guess.
Here is a partial list, as the page returned many more lines:
Warning: include(CB/Legacy/LegacyLoader.php): failed to <span>open</span> stream: No such file or directory in /public_html/breeze/plugins/breezingforms_addons/gdata/gdata.php on line 47
Warning: include(): Failed opening 'CB/Legacy/LegacyLoader.php' for inclusion (include_path='.../public_html/breeze/plugins/breezingforms_addons/gdata/breezingforms_addons_gdata_libraries:.:<span>/</span>usr<span>/</span>lib/php:<span>/</span>usr<span>/</span>local/lib/php') in .../public_html/breeze/plugins/breezingforms_addons/gdata/gdata.php on line 47
Warning: include(CB/Database/Table/ComprofilerTable.php): failed to <span>open</span> stream: No such file or directory in .../public_html/breeze/plugins/breezingforms_addons/gdata/gdata.php on line 47
Warning: include(): Failed opening 'CB/Database/Table/ComprofilerTable.php' for inclusion (include_path='.../public_html/breeze/plugins/breezingforms_addons/gdata/breezingforms_addons_gdata_libraries:.:<span>/</span>usr<span>/</span>lib/php:<span>/</span>usr<span>/</span>local/lib/php') in .../public_html/breeze/plugins/breezingforms_addons/gdata/gdata.php on line 47
Warning: include(CBLib/Database/Table/Table.php): failed to <span>open</span> stream: No such file or directory in .../public_html/breeze/plugins/breezingforms_addons/gdata/gdata.php on line 47
Warning: include(): Failed opening 'CBLib/Database/Table/Table.php' for inclusion (include_path='.../public_html/breeze/plugins/breezingforms_addons/gdata/breezingforms_addons_gdata_libraries:.:<span>/</span>usr<span>/</span>lib/php:<span>/</span>usr<span>/</span>local/lib/php') in .../public_html/breeze/plugins/breezingforms_addons/gdata/gdata.php on line 47
Warning: include(CBLib/Database/Table/TableInterface.php): failed to <span>open</span> stream: No such file or directory in .../public_html/breeze/plugins/breezingforms_addons/gdata/gdata.php on line 47
Thanks!
Last edit: 9 years 1 month ago by AlexRag. Reason: Solved issue
Looks like BreezingForms may have an AutoLoader and is trying to load CBs files without checking that they exist or that they belong to BreezingForms. Alternatively BreezingForms could be changing the DIR before CBs AutoLoader loads causing the pathing to be wrong.
Ensure "System - Community Builder" within Extensions > Plugins is public, published, and ordered as the first system plugin to rule out load order issues then retry.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
BreezingForms developer informed me that they are not using any CB libraries but use a class loader to load the classes from Google (It's a Google Sync plugin). They were able to modify and upon reinstall the errors have disappeared.
Prior to getting the updated plugin, my webhost had added local php.ini file to ".../public_html and updating the php include path with ".../public_html/libraries/CBLib/".
So it seems I have two solutions. I'm not sure whether I need the revised php.ini file any longer or whether its worth keeping as a backup OR if it will conflict?
An AutoLoader isn't specific to any 1 extension. The loading function needs to check if the file exists before attempting to include it (CB does this in its AutoLoader). You should be fine since they've applied fixes to their AutoLoader (my guess is they added an exists check). You probably don't need the revised php.ini anymore.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.