Zen Cart Logo
Forums / Addon Sideboxes / Sidebox Anywhere is not working for me

Sidebox Anywhere is not working for me

Locked

Views: 1,286

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
28 May 2010, 3:18 AM
#1
robert_bui avatar

robert_bui

New Zenner

Join Date:
May 2010
Posts:
6
Plugin Contributions:
0

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

28 May 2010, 12:34 PM
#2
robert_bui avatar

robert_bui

New Zenner

Join Date:
May 2010
Posts:
6
Plugin Contributions:
0

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....

28 May 2010, 2:16 PM
#3
robert_bui avatar

robert_bui

New Zenner

Join Date:
May 2010
Posts:
6
Plugin Contributions:
0

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.