Codeigniter Halogy cms installation setup

让人想犯罪 __ 提交于 2019-12-06 13:40:27

Here is a step by step solution

First rename your folder name with some thing else just for testing.
I changed jesseorndorff-Halogy-35c4050 to halogy_test.

Next cut system folder from halogy and paste it in the upper level. Now the structure will be like this.

localhost/
    halogy_test/
         halogy/
         system/
         index.php

Next go to database.php and set it up.
Next go to halogy/application/config/config.php and change
$config['index_page'] = '';

to

$config['index_page'] = 'index.php'; on line no 29.

Now go to application/config/site_config.php and change

$config['staticPath']       =   '/static' 

to

$config['staticPath']       =   '/halogy_test/static';

The final step go to halogy_test/static/js/jquery.flot.init.js and change

'/admin/stats/' to stats/ on line no 2!

Done it Vote up if successfull.

If you still have this issue after following the answer from @raheel-shan, then you'll want to take a look at the database you're using for your install of Halogy.

There is a table "ha_sites" that stores your sites path in the column "siteDomain". So even if you corrected the path to your site everywhere in your code, you'll still run into issues if the path in "ha_sites.siteDomain" isn't correct.

To fix this, do one of the following:

  • (easiest) Delete all tables, and re-import the sql dump.

or

  • Truncate the table "ha_sites".

or

  • Fix the path in "ha_sites.siteDomain".
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!