Click here to Skip to main content
15,884,099 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using tinymce with justboil plugin for image upload on local xampp server, but on selecting image it shows error
The upload path does not appear to be valid.

I have changed config file of justboil plugin to
PHP
$config['img_path'] = '/media'; // media is directory where i want to store images
$config['upload_path'] = $_SERVER['DOCUMENT_ROOT'] . $config['img_path'];


I tried changing $_SERVER['DOCUMENT_ROOT'] to $_SERVER['root'] and even to "C\xampp\htdocs\tutorials" as I am using local server but these all gave same error.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900