sparks not installed successfully.
reinstall sparks
Steps:
- Via the shell, navigate to the root of your CodeIgniter application
- Copy and paste the following into the command line:
php -r "$(curl -fsSL http://getsparks.org/go-sparks)"
- Press enter. If all goes well, move on to Get Sparks. If not, try the normal installation below.
2nd issue:
if you use public folder for index.php, CI application cann't find sparks.
Steps:
go to the site_root/application/core/MY_Loader.php
Default constructor
function __construct()
{
if(!defined('SPARKPATH'))
{
define('SPARKPATH', 'sparks/');
}
parent::__construct();
}
modify highlighted row to
define('SPARKPATH', '../sparks/');
1 comment:
Thanks, ended up doing:
define('SPARKPATH', APPPATH.'sparks/');
Post a Comment