Sidebox Anywhere is not working for me
Hello all,
I am using ZC version 1.3.9c on WAMP Server (for development). I tried to embed Specials sidebar, using Sidebox Anywhere version v1.3.8, to my a CMS site but without luck.
On the CMS, I have this code as per instruction:
$zcSBmodule = 'whats_new.php';
require ("I:/wamp/www/onlinestore/single_sidebox.php");
However, my attempt is without luck.
I managed to trace it to these lines inside includes/autoload_func.php
if (file_exists(DIR_WS_INCLUDES . 'init_includes/overrides/' . $entry['loadFile'])) {
$baseDir = DIR_WS_INCLUDES . 'init_includes/overrides/';
}
When it reached file_exist, the whole script just crashed without any output.
It looks like got to do with $entry['loadFile'] but I am not experience with ZC to know what is going on.
Any help would be good.
Note though, the ZC site works.
Regards,
Robert Bui
Re: Sidebox Anywhere is not working for me
Hmmmm I've eventually traced the issue to this line inside init_db_config_read.php
$configuration = $db->Execute('select configuration_key as cfgkey, configuration_value as cfgvalue
from ' . TABLE_CONFIGURATION, '', $use_cache, 150);
I also made a test script in which case I placed in the same directory as ZC. It works as expected.
So, my suspion would be got to do with file/directory path in one of the variables.
I called the single_sidebox from the root of the site while ZC lives under a directory underneath the root. This is not working....
Re: Sidebox Anywhere is not working for me
OK.... I worked out it's conflicting with Joomla. Still trying to work out WHAT and HOW to resolve.