Codefight Problems

Have You Encountered Any Bug Related To The CodeFight CMS Software? Let Us Know And Help Us To Keep The CMS Clean And Bug Free.
Locked
zelda
Member Neptune
Member Neptune
Posts: 2
Joined: Wed Apr 22, 2009 3:33 am

Codefight Problems

Post by zelda » Wed Apr 22, 2009 3:46 am

Downloaded and installed Codefight CMS 1.0 on a OSX localhost and noticed some problems:
Could not login in using username: [email protected] password: test
Always told me login was invalid and to try again.
However, i registered a new user and password then it would let me in to admin section.
Once in the admin section and clicking on various items in the menu an error code pops up quite frequently having to do with sortable.php:

Code: Select all

A PHP Error was encountered

Severity: Warning

Message: include(sortable.php) [function.include]: failed to open stream: No such file or directory

Filename: libraries/Loader.php(904) : eval()'d code

Line Number: 91
A PHP Error was encountered

Severity: Warning

Message: include() [function.include]: Failed opening 'sortable.php' for inclusion (include_path='.:/usr/local/php5/lib/php')

Filename: libraries/Loader.php(904) : eval()'d code

Line Number: 91
Just thought you might like to know

zelda
Member Neptune
Member Neptune
Posts: 2
Joined: Wed Apr 22, 2009 3:33 am

Re: Codefight Problems

Post by zelda » Wed Apr 22, 2009 4:55 am

UPDATE: I was able to get rid of the php error code for the calls to sortable.php in the following four files: groups.php, menus.php, pages.php, and settings.php by replacing the lines:

Code: Select all

$data['head_includes'] = array('sortable.php');
WITH a fuller path to the file:

Code: Select all

$data['head_includes'] = array('app/admin/views/inc/sortable.php');

foundafterlost
Member Neptune
Member Neptune
Posts: 4
Joined: Sat Jun 23, 2007 9:24 am

Re: Codefight Problems

Post by foundafterlost » Wed Apr 22, 2009 9:19 am

zelda wrote:UPDATE: I was able to get rid of the php error code for the calls to sortable.php in the following four files: groups.php, menus.php, pages.php, and settings.php by replacing the lines:

Code: Select all

$data['head_includes'] = array('sortable.php');
WITH a fuller path to the file:

Code: Select all

$data['head_includes'] = array('app/admin/views/inc/sortable.php');
Thanks for trying codefight zelda.

I am glad you solved. Previously i had no app folder. And had different view structure too. But i changed it in the last hour to decrease file size and make it more clearer as it helped to remove duplicate files.

But still it was working fine when i tested.

Thanks again, and hope to get feedback and suggestions for next release.

dbashyal
Site Admin
Posts: 30
Joined: Mon May 21, 2007 10:35 pm
antispam: NO
Contact:

Re: Codefight Problems

Post by dbashyal » Fri Apr 24, 2009 3:33 pm

Thanks zelda.

The password didn't work because i forgot to activate test account. If you goto database and change in table cf_users active to be 1 not 2, it will be active account so can login.

Locked