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

[eluser]bri@n[/eluser]
Adamp1,

I tried moving the folder beneath system just to see if it would work, but it didn't, so I moved it back to the root. Thanks for any help that you can provide!

Brian

[eluser]adamp1[/eluser]
Hi Brian,

Matchbox looks for the modules folder according to the config/matchbox.php file in your application folder. By default it is set to look for the folder 2 levels above the application folder.

It seems odd to me why this is happening. One thing I can think of is please can you turn debug logging on and take a look at the log files (There will be alot of entries). In there you will look at how matchbox tries to load certain files. Please can you post the bit where it is trying to load modules/page/libraries/page.php.

The problem seems to be that the library is not being loaded. Can you also confirm that Line 68 of applications/config/matchbox.php is
Code:
$config['directories'] = array('../../modules');
and that the modules folder in at the root level (i.e same level as system).

[eluser]bri@n[/eluser]
Thanks for the quick response. I changed line 68 of matchbox.php to

$config['directories'] = array('../../modules', '/modules');

It still didn't work, so I tried to turn on debugging as you requested. I have the following settings:

index.php - error_reporting(E_ALL);
config.php - $config['log_threshold'] = 2;
config.php - $config['log_path'] = '';

Unfortunately, I just get a blank screen when I run my script with the log threshold set to anything but 0, and no log file is generated in my /system/logs folder for review.

Thanks for your help!

Brian

[eluser]bri@n[/eluser]
I forgot to mention it, but yes, the modules folder is at the root, which is the same level as my system folder. One thing I neglected to mention is that I'm running CodeIgniter 1.6.3, so please let me know if that might be a problem.

Brian

[eluser]adamp1[/eluser]
This is most likly becasue the logs folder is not writable. Please make sure it is writeable then try again with debuging loging.

All the directories supplied to the matchbox config variable array must be relative to the APPLICATION PATH.

[eluser]bri@n[/eluser]
I changed the permissions and saw the following in the log file:

DEBUG - 2008-07-01 07:56:26 --> Matchbox Class Initialized

However, I didn't see any mention of Page.php, and I tried setting my log threshold to 2 and 4.

Brian

[eluser]outrage[/eluser]
@OP

All I can say is WOW, what a great job you've done.

Going off some of the posts here, this appears to be one of the most under-estimated pieces of work.

After switching between CI, Cake, Zend, Symphony and Qcodo several times, I finally settled on CI a couple of months ago (congrats on a great framework and community Derek!).

Working on my latest project I tried all of the usual suspects for a good back-end system before finally writing my own because nothing seemed to fit my needs.

I only downloaded BackendPro out of curiosity, but after spending half a day playing around with it I'm hooked.

At the end of the day, it was the fine grained ACL system that did it for me since my app requires many different permissions for different users.
Add in the excellent asset caching, csstidy integration, _container views, minimal approach to the admin system... well the list goes on.

What I'm trying to say is, thanks, this is a great starting point for developing anything more than a very simple application. It has excellent documentation and is flexible enough to suit almost any project I can think of.

EDIT:
Just one suggestion.
On installation, I would allow the admin to choose their own encryption key, since anyone wanting to port their existing application/database may have problems with existing user passwords.
Fortunately I'm still in the early stages and only have around 30 admin type users at the moment. However I have several thousand 'standard' users for whom I will be developing login protected pages for.
I can work around this problem but it might be a good idea to have the option from the outset. Smile

[eluser]adamp1[/eluser]
@Brian: Sorry its taken a while to reply but been very busy. Are there no other log messages at all? There should be one for every file which is loaded. Could you clear your log file and then try loading BeP again, this time posting the entire thing so I can see. Sadly from what I'm going on so far I have no idea what the issue is.

@outrage: Thank you so much for the feedback, glad you like it. I will take the encryption key idea into consideration for the next version.

[eluser]TermiT[/eluser]
hello, I had a problem, when do something in BackendPro such as delete or change users member a had transaction error like this:

A Database Error Occurred

Error Number: 1205

Lock wait timeout exceeded; try restarting transaction

DELETE FROM `be_users` WHERE `id` = '2'

It's a problem whith mysql server or with backend pro?

UPDATE: I restart mysql server and now all works fine..

[eluser]adamp1[/eluser]
Looks like either a MySQL server issue or a CI Database class problem. It must be happening since there is a relation between two tables and for some reason it can't lock the table since something already has, so it times out. I would try restarting MySQL server if you can, also check to see if you can see how long the lock timeout is, maybe its set to 0 or something.




Theme © iAndrew 2016 - Forum software by © MyBB