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

[eluser]squeez[/eluser]
Try widgets. I use this for public widgets: http://ellislab.com/forums/viewthread/109584

[eluser]gregmax17[/eluser]
Hello, first time user of the BEP, and it seems very interesting to me so far.

The first thing I wanted to test was the 'User Groups'. So far, the default is only 'Administrator', and 'Member' is the root... correct?

Anyways, I tried to create a group called 'Gamer', selecting either 'Member' OR 'Administrator' and I get the following error :

--

A Database Error Occurred
Error Number: 1452

Cannot add or update a child row: a foreign key constraint fails (`backendpro/be_groups`, CONSTRAINT `be_groups_ibfk_1` FOREIGN KEY (`id`) REFERENCES `be_acl_groups` (`id`) ON DELETE CASCADE)

INSERT INTO `be_groups` (`id`, `disabled`) VALUES (0, '0')

--


Any idea on why?

[eluser]kakawett[/eluser]
[quote author="adamp1" date="1273959163"]
Yes you should be able to take the application folder out of the system folder. You will also need to change the settings in config/matchbox.php to point to the new modules folder. It will now be ../modules rather than ../../modules.
[/quote]

Pfiu' spent an hour trying to debug that error... you should talk about that in your documentation 'cause I guess we're not the only CI coders who move the application folder out of 'system'.

[eluser]riza_nurhadi[/eluser]
[quote author="adamp1" date="1269433622"]That's some good work. Can I ask how easy was it for the installer to be modified to setup the initial DB tables? What I will do for 1.0 is make sure all SQL code is created using the DB library if possible.[/quote]

sorry for the late answer. ive been busy with the work.
anyway its not easy to modified the install directory. but its done now.


* edited . now its working just fine.

here is the file

ci172_backend061_postgre83_v2.zip

[eluser]adamp1[/eluser]
Sorry for not getting back, I didn't get an email saying the topic had been updated.

@gregmax17, squeez: This sounds like the same issue squeez was having. Sounds likes its a KhACL error. I will try to have a look into it this weekend. Sorry for a long delay for a reply

[quote author="kakawett" date="1288124401"]Pfiu' spent an hour trying to debug that error... you should talk about that in your documentation 'cause I guess we're not the only CI coders who move the application folder out of 'system'.[/quote]

Thanks for this. It is an entire section in the new documentation for 1.0

[quote author="creativeinsight" date="1284137280"][quote author="adamp1" date="1274187478"]Not quite. What you should do is as follows:

Group 1 - Your 100% correct on this one
Group 2 - Since these users are accessing I take it a logged in area you use public_controller but put a check() on the controller/method you want.
Group 3 - Only administrations should be able to get to the Control Panel, so only ever use admin_controller for that, never for group 2.[/quote]

Can i just query this,
I allow editors access to a project by creating a group as a sub group of the administrator group and allowing acccess to control panel, but deny access to system,
then extend the backend menu and create resources under that and grant access to those resources.

users then use the back end for tasks and its clearly seperated from teh front end.

I do have a issue that I cant login under ie8 teh login screen just comes back to its self on submit? any help I did not find any note of this issue but the thread is huge!

great product bythe way[/quote]

Sadly the group system is not implemented in the most logical way (that I remember). I have found some cases where it can get confused and not allow access when really it should. This is why I have re-written the ACL for 1.0 rather than use someone elses version. What happens if you create the editors group on the same level as administrations and setup permissions rather than nesting?

----------------

Just a message to all. BackendPro 1.0 is under development still. It is designed to use CodeIgniter 2.0 and to use HMVC. Sadly since I am in the process of looking for new jobs and moving into a new house I have very little time to continue the dev work, but as soon as all this is done I will try to finish off the code and get it out to you all.

[eluser]desgraci[/eluser]
Getting the same error always, i have all the files in 777

i have the codeigniter folders into rafa folder

BackendPro Installation Process

Before you can install BackendPro please make sure the following folder is writable, then re-run this install:

/var/chroot/home/content/v/i/r/.../html/proyectos/rafa/install

Top
This site is powered by BackendPro 0.6
© Copyright 2009 - Adam Price - All rights Reserved

Any ideas?

[eluser]adamp1[/eluser]
@desgraci: If its still not letting you install I suggest you remove that check from the installer.

Open install/RUN.php and comment out 106-109

[eluser]VicToMeyeZR[/eluser]
http://www.kaydoo.co.uk/backendpro/index...x/security

Try to modify any settings on this page? You will see a bug

[eluser]desgraci[/eluser]
[quote author="adamp1" date="1289693996"]@desgraci: If its still not letting you install I suggest you remove that check from the installer.

Open install/RUN.php and comment out 106-109[/quote]

Like:

// Associate components to filesystem check feature
/**
$features['writable_check']->attach_component(new LogFolderWritable());
$features['writable_check']->attach_component(new AssetFoldersWritable());
$features['writable_check']->attach_component(new CacheFolderWritable());
$features['writable_check']->attach_component(new ConfigFilesWritable());
**/

Nope, din't work, the folder is chkmod 777 right now.

I did this

Comment install/RUN.php and comment out 106-109

now go to install/index.php and comment/modify the next lines:

168

34 to 40:

// Check the install folder is realy writable
//if(!is_really_writable($_SERVER['DOCUMENT_ROOT'] . dirname($_SERVER['SCRIPT_NAME']))):
?>
<!–Before you can install BackendPro please make sure the following folder is writable, then re-run this
install:–>

[eluser]desgraci[/eluser]
again, one more problem...

Warning: Call-time pass-by-reference has been deprecated in /home/content/v/i/r/virtualtec/html/virtual/proyectos/rafa/install/RUN.php on line 97

Warning: Call-time pass-by-reference has been deprecated in /home/content/v/i/r/virtualtec/html/virtual/proyectos/rafa/install/RUN.php on line 98
BackendPro Install was Unsuccessful

FileSystem Check
Setup FileSystem
Create new system config file - 1
Create new database config file
Create new ReCAPTCHA config file
Setup Database
Connect to database
Update table schema
Create administrator user account
An error has occured during the installation of BackendPro. Please check the details above to fix the problem before trying to install again. A log file has been created which more in depth details about what went wrong.


INFO - 2010-11-16 08:11:24 --&gt; Base path set to: /var/chroot/home/content/v/i/r/virtualtec/html/proyectos/rafa/
INFO - 2010-11-16 08:11:24 --&gt; Base dir set to: /proyectos/rafa/
INFO - 2010-11-16 08:11:24 --&gt; System path set to: /var/chroot/home/content/v/i/r/virtualtec/html/proyectos/rafa/system/
INFO - 2010-11-16 08:11:24 --&gt; Application path set to: /var/chroot/home/content/v/i/r/virtualtec/html/proyectos/rafa/system/application/
INFO - 2010-11-16 08:11:24 --&gt; Modules path set to: /var/chroot/home/content/v/i/r/virtualtec/html/proyectos/rafa/modules/
INFO - 2010-11-16 08:11:24 --&gt; Logs path set to: /var/chroot/home/content/v/i/r/virtualtec/html/proyectos/rafa/system/logs/
INFO - 2010-11-16 08:11:24 --&gt; Cache path set to: /var/chroot/home/content/v/i/r/virtualtec/html/proyectos/rafa/system/cache/
INFO - 2010-11-16 08:11:24 --&gt; New feature 'FileSystem Check' created
INFO - 2010-11-16 08:11:24 --&gt; New feature 'Setup FileSystem' created
INFO - 2010-11-16 08:11:24 --&gt; New feature 'Setup Database' created
INFO - 2010-11-16 08:11:24 --&gt; Feature 'Setup FileSystem' now has prerequisite 'FileSystem Check'
INFO - 2010-11-16 08:11:24 --&gt; Feature 'Setup Database' now has prerequisite 'Setup FileSystem'
INFO - 2010-11-16 08:11:24 --&gt; Component 'Create new system config file' attached to feature 'Setup FileSystem'
INFO - 2010-11-16 08:11:24 --&gt; Component 'Create new database config file' attached to feature 'Setup FileSystem'
INFO - 2010-11-16 08:11:24 --&gt; Component 'Create new ReCAPTCHA config file' attached to feature 'Setup FileSystem'
INFO - 2010-11-16 08:11:24 --&gt; Component 'Connect to database' attached to feature 'Setup Database'
INFO - 2010-11-16 08:11:24 --&gt; Component 'Update table schema' attached to feature 'Setup Database'
INFO - 2010-11-16 08:11:24 --&gt; Component 'Create administrator user account' attached to feature 'Setup Database'
INFO - 2010-11-16 08:11:24 --&gt; FileSystem Check Feature installed
ERROR - 2010-11-16 08:11:24 --&gt; Create new system config file Component install failed: 1
INFO - 2010-11-16 08:11:24 --&gt; Attempting to roll back Components for 'Setup FileSystem' Feature
INFO - 2010-11-16 08:11:24 --&gt; Setup Database Feature installation haulted since its prerequisite feature 'Setup FileSystem' failed to install




Theme © iAndrew 2016 - Forum software by © MyBB