Welcome Guest, Not a member yet? Register   Sign In
BackendPro 0.6.1

[eluser]cechmaster[/eluser]
Thanks for replying lakshmi_ci and giving me some instruction on how to install BeP.
The BeP installer said the install was successful by following lakshmi's instructions. Smile
There are two application folders now (One is the main application folder that came with CI and one in the system folder that came with BeP).
Now, I'm not really sure how to access BeP since the needed controller files are in the system folder, and I'm unable to access that directory from the browser.

I have a feeling that the BeP controller files are supposed to be in the CI's original application folder. But when I do that I get the same Fatal error.
“Fatal error: Class ‘Admin_Controller’ not found in C:\xampp\htdocs\backend\application\controllers\home.php on line 24”
Back at square one...

[eluser]lakshmi_ci[/eluser]
cechmaster,

The controllers are invoked by CI/Bep, we don't really access them by path.

After I installed Bep over CI, I loaded this URL: http://localhost/path-to-CI-doc-root/ and this gave a login prompt where I logged in as admin with user/pw specified during Bep installation, after logging in it took me to the Bep control panel. So I think the directory structure you had right after installation should work.

Edit: I am using CI 1.7.3, sorry about that.

[eluser]adamp1[/eluser]
Currently Bep 0.6.1 isn't CI 2.0 compatible without some moving files around and renaming inherited classes. Since Bep 1.0 will be 2.0 compatible I am not going to update 0.6.1 to handle this.

Sadly its very hard for me to find time to work on it atm.

[eluser]Basketcasesoftware[/eluser]
[quote author="adamp1" date="1297348643"]Currently Bep 0.6.1 isn't CI 2.0 compatible without some moving files around and renaming inherited classes. Since Bep 1.0 will be 2.0 compatible I am not going to update 0.6.1 to handle this.

Sadly its very hard for me to find time to work on it atm.[/quote]

Yeah, I saw your most recent blog post. I'm in the exact same situation.
Let me know if you need any help.

[eluser]lakshmi_ci[/eluser]
Hello, my situation is now the same - needing Bep for CI 2.0. Any hints for how to go about modifying Bep 0.6.1 would be great.

[eluser]fl00der[/eluser]
This is my first time installing backendpro.
having some issues on install page i noticed "Make sure all folders are relative to /var/www/nfohq//" Not sure why its showing 2 //
When i hit install get error "Config files writable - /var/www/nfohq//config/config.php file isn't writable"
From log file everything shows with double //
INFO - 2011-02-22 23:28:31 --> Base dir set to: /
INFO - 2011-02-22 23:28:31 --> System path set to: /var/www/nfohq//
INFO - 2011-02-22 23:28:31 --> Application path set to: /var/www/nfohq//
INFO - 2011-02-22 23:28:31 --> Modules path set to: /var/www/nfohq//
INFO - 2011-02-22 23:28:31 --> Logs path set to: /var/www/nfohq//
INFO - 2011-02-22 23:28:31 --> Cache path set to: /var/www/nfohq//

ERROR - 2011-02-22 23:28:31 --> Config files writable Component install failed: /var/www/nfohq//config/config.php file isn't writable

If anyone has any ideas what it might be. Thanks

[eluser]adamp1[/eluser]
Looking at the logs the paths are incorrect. Those lines should be reading:
INFO - 2011-02-22 23:28:31—> System path set to: /var/www/nfohq/system/
INFO - 2011-02-22 23:28:31—> Application path set to: /var/www/nfohq/system/application/
INFO - 2011-02-22 23:28:31—> Modules path set to: /var/www/nfohq/modules/
INFO - 2011-02-22 23:28:31—> Logs path set to: /var/www/nfohq/system/logs/
INFO - 2011-02-22 23:28:31—> Cache path set to: /var/www/nfohq/system/cache/

On the first install page when it prompted you to enter the paths did you delete the contents of the textboxes?

[eluser]adamp1[/eluser]
[quote author="lakshmi_ci" date="1298412181"]Hello, my situation is now the same - needing Bep for CI 2.0. Any hints for how to go about modifying Bep 0.6.1 would be great.[/quote]

You will have to do quite a few things. The problem is CodeIgniter 2.0 have renamed a lot of the base classes and also deprecated some classes BackendPro uses (e.g. the old Validation class).

- Off the top of my head, follow this blog post to first upgrade to PHP5.
- Update the CodeIgniter version to 2.0 (again this is going to mean some files/folders have moved around drastically) Some files won't even be needed.
- Run BackendPro and start to fix each error when they pop up. These will mainly be upgrading extended classes to use the new CI 2.0 design.

I'm afraid there isn't a simple way of doing this and I don't have a step by step. If you do get it working it might be a good idea to write a blog post on the subject to help others.

I don't want to do this since I'm trying to put what ever time I do get spare into BackendPro 1.0.

[eluser]fl00der[/eluser]
[quote author="adamp1" date="1298487233"]Looking at the logs the paths are incorrect. Those lines should be reading:
INFO - 2011-02-22 23:28:31—> System path set to: /var/www/nfohq/system/
INFO - 2011-02-22 23:28:31—> Application path set to: /var/www/nfohq/system/application/
INFO - 2011-02-22 23:28:31—> Modules path set to: /var/www/nfohq/modules/
INFO - 2011-02-22 23:28:31—> Logs path set to: /var/www/nfohq/system/logs/
INFO - 2011-02-22 23:28:31—> Cache path set to: /var/www/nfohq/system/cache/

On the first install page when it prompted you to enter the paths did you delete the contents of the textboxes?[/quote]

I just deleted content in the textboxes for paths. The only error that comes out now is “Config files writable - /var/www/nfohq//config/config.php file isn’t writable”

[eluser]adamp1[/eluser]
Well that's why its throwning the error, it can't find the file.

Have you changed where the folders are from the default? If not then you shouldn't have to delete the contents of the textboxes.




Theme © iAndrew 2016 - Forum software by © MyBB