tokenly / tokenly-cms

GNU General Public License v2.0
42 stars 12 forks source link

Install failed. #89

Closed zono closed 8 years ago

zono commented 8 years ago

Hi

I got this error below when I accessed to install URL. "http://MyDomain/install"

Fatal error: Class 'Slick_Core_Model' not found in /var/www/html/install/index.php on line 7

I checked /var/www/slick/autoload.php then I noticed the include path was not correct.

error_log($fullPath,0);
if(file_exists($fullPath)){

Error log showed $fullPath = /var/www/slick/Slick/Core/Model.php ... Correct file path is /var/www/slick/Core/Model.php.

I replaced to /var/www/slick/Core/Model.php but "include" return "FALSE" somehow..

Can you share any clues?

/var/www/conf/config.php
define('SITE_BASE', '/var/www'); //base path to installation, typically one level up from web root
define('SITE_PATH', SITE_BASE.'/html'); //web root
define('FRAMEWORK_PATH', SITE_BASE.'/slick');
cryptonaut420 commented 8 years ago

@y-zono try pulling the latest version, re-import the "tokenly-clean.sql" file and try the install file again, should work now.

zono commented 8 years ago

@cryptonaut420 Thank you so much. It works!