Home Features Pricing Support Contact

Troubleshooting adding an image to an article

Article ID: 354
Last updated: 22 Nov, 2012

KBpublisher makes it very easy to add an image or picture to an article. The steps for adding a picture can be found here.
If you are still having trouble, after following these directions, check the following:

  1. Check the upload firectory setting. Go to KBPublisher Admin Area, click the Setting tab, then the Admin tab, find the setting labeled HTML editor file directory. Make sure this directory is writeable and it is accessible via HTTP. Typically, this directory will be  /home/user/www/kb_upload/ (linux) or C:/wwwroot/kb_upload (windows).

    If step 1 alone does not solve the problem, see step 2.

  2. Check the document root variable in the config file at kbp_dir/admin/config.inc.php. Makes sure that the $_SERVER['DOCUMENT_ROOT'] variable matches the HTML edit file directory setting.

    Correct: 
    $_SERVER['DOCUMENT_ROOT'] = '/home/user/www';
    HTML editor file directory = '/home/user/www/kb_upload';

    Incorrect:
    $_SERVER['DOCUMENT_ROOT'] = '/home/user/www';
    HTML editor file directory = '/symlinkto/www/kb_upload';

This article was:   Helpful | Not helpful Report an issue


Article ID: 354
Last updated: 22 Nov, 2012
Revision: 7
Views: 3780
Comments: 0
print  Print email  Subscribe share  Share pool  Add to pool comment  Add comment
Prev     Next
How Can I Move KBPublisher to Another Server?       How can I do a mass find and replace in articles?