I am installing this into my site but i have a few problems everything seems to be ok in the code and the sql import was ok but when i lost the /kb/admin i just get a white page on firefox and on internet explorer i get 500 internet server error. when i lost the crazyleds.co.uk/kb.php it loads my site up fine and has text saying knowledge base but nothing else.
the config file has been edited to the correct details
below is installation instructions
Code:
===============================
X-Cart Knowledge Base v4.x
http://www.xcartmods.co.uk
===============================
Credits: http://www.kbpublisher.com
1) Upload all files and folders your store root directory.
----------------------------------------------------------------
2) In X-Cart Admin, run the SQL patch...
/kb/install_upgrade/install.sql
New database tables will be created that begin 's_'
----------------------------------------------------------------
3) Edit these settings to reflect your X-Cart database in /kb/admin/config.inc.php
If you are unsure of them, they are in /config.php
$conf['db_host'] = "localhost";
$conf['db_base'] = "kb";
$conf['db_user'] = "root";
$conf['db_pass'] = "";
---
If your store resides in a subdirectory, then you also need to set the following paths...
eg.
// admin path
$conf['home_dir'] = '/store/kb/admin/'; // path to admin dir without DOCUMENT_ROOT
// client path
$conf['client_home_dir'] = '/store/kb/'; // path to kb dir without DOCUMENT_ROOT
$conf['fck_upload_dir'] = '/store/kb_upload/'; // where FCK editor place uploaded images (relative to DOCUMENT_ROOT)
---
Also change language if necessary...
$conf['lang'] = 'en'; // see admin/lang/ - for available languages
----------------------------------------------------------------
4) CHMOD 777 (make writable) the following directories...
/kb/admin/cache
/kb_file
/kb_upload
----------------------------------------------------------------
5) In skin1/common_templates
Before...
{else}
{include file="main/error_page_not_found.tpl"}
Insert...
{* Knowledge Base Start *}
{elseif $main eq "kb"}
{include file="kb/kb.tpl"}
{* Knowledge Base End *}
----------------------------------------------------------------
6) In skin1/customer/home.tpl
Before...
</head>
Insert...
{if $main eq "kb"}
<script type="text/javascript" src="{$SkinDir}/kb/kb.js"></script>
{/if}
----------------------------------------------------------------
7) In skin1/admin/menu_admin.tpl
Before...
{/capture}
Insert...
<a href="{$http_location}/kb/admin" class="VertMenuItems" target="_blank">{$lng.lbl_knowledge_base}</a><br />
----------------------------------------------------------------
8) In skin1/help.tpl
Before...
{/capture}
Insert...
<a href="{$http_location}/kb.php" class="VertMenuItems">{$lng.lbl_knowledge_base}</a><br />
----------------------------------------------------------------
9) Run www.yourstore.com/cleanup.php
Done.
Customer Front End - www.yourstore.com/kb.php
Admin Front End - www.yourstore.com/kb/admin
Username: admin
Password: demo
Don't forget to change the password!
----------------------------------------------------------------
TIPS
====
1) Before uploading any files, ensure the file path is set correctly. Otherwise files may be stored in a directory one level beneath your root.
Go into Settings > Files tab
----------------------------------------------------------------
2) Remove the blue 'Knowledge Base' header by going into Settings > Look & Feel (format/template/style):
Set Template: to 'Without Header'
----------------------------------------------------------------
3) To allow people to use the contact form, ensure you have entered the 'From' email address...
Go into Settings > Email tab