• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Backend Pro for codeigniter 2

#1
[eluser]broswilli[/eluser]
I created a new version of backendpro for codeigniter 2.0 i did this by making it php 5 compliant changed the modular extensions library from matchbox to hmvc, created additional classes and created the sessions database table to comply with version 2.0 of codeigniter. The beauty of Backendpro is its use of the nested sets model making it similar to the most popular php ACL Library PHPGACL. I plan to add other features that is why i call it backendmanager you can get it from here

#2
[eluser]Nico Smit[/eluser]
I'm getting this error on the main page:
Code:
An Error Was Encountered

Unable to load the requested file: helpers/auth/khacl_helper.php

With CI 2.1.0

#3
[eluser]broswilli[/eluser]
@ Nico Smith Please read through the installation manual, remember that you need to start with a fresh ci installation

#4
[eluser]Nico Smit[/eluser]
Okey.. did a fresh installation of CI and BackendPro. First, I had to rename application/core/Public_controller.php into Public_Controller.php and the same for Admin_controller.php.

Now, I'm getting:
Code:
Unable to load the requested file: helpers/auth/khacl_helper.php

I'm on linux

#5
[eluser]broswilli[/eluser]
Copy all files from each folder to the corresponding CI folder i.e copy all files in application/core into CI's application/core files don't forget to copy the modules folder into the CI application folder. Create your database. Point your browser to the installer folder, i.e www.example.com/install. Run the installer and follow the instructions.

#6
[eluser]gihomn[/eluser]
hello, please forgive my poor english.

I tested it in my local server with CI 2.1.0, it works perfect.
and I got problem when I test it in my test server,
I can only put it in a subdomain, eg: sub1.domain.com/ci/

first of all, I upload a clean CI, it works fine, and I copy all files
to corresponding folder and install it, then I couldn't get the right
page as I saw in my local server, is there any specifics setting I should do?

I changed the base_url to
Code:
$config['base_url'] = "http://sub1.domain.com/ci/";

thanks!

#7
[eluser]broswilli[/eluser]
Did you copy the already installed local CI TO UR SITE? If that's the case then
Make sure that the database is setup properly on your sites server, make sure the installation was done properly.

#8
[eluser]gihomn[/eluser]
hello, thanks for reply so quick.

I'm sure I uploaded the clean CI to the sever, then BackendPro install was successful too. and I try use chrome, it give me an HTTP error 500, with blank page in firefox and opera. so I think maybe it's the server's problem when redirecting subdomain. cause it's work fine in my local server.

anyway, I am trying to use ion auth now, and learn to build the backend management by hand, I thought I can learn something from backend pro.

Thanks again.

#9
[eluser]broswilli[/eluser]
It might be a problem on HMVC but i would work on it again. i would get back to you as soon as i solve this challenge

#10
[eluser]Unknown[/eluser]
Nico,

in application/modules/auth/helpers/khacl_helper.php change
Code:
if (!is_object($ci))
        $ci = &get;_instance();

to:
Code:
if (!is_object($ci)){
    $ci = &get;_instance();
}

Worked for me Smile


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.