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

[eluser]shinokada[/eluser]
Thanks.
For the following error, I changed from
Code:
$offset = $this->access_control_model->buildPrettyOffset(&$obj,$tree);

to this without &, in front of obj
Code:
$offset = $this->access_control_model->buildPrettyOffset($obj,$tree);

I hope it is correct.

+++++++++++
auth/admin/acl_resources

Code:
A PHP Error was encountered
Severity: 8192
Message: Call-time pass-by-reference has been deprecated
Filename: access_control/resources.php
Line Number: 42

[eluser]adamp1[/eluser]
Yes that should be correct.

[eluser]adamp1[/eluser]
I have made a post on my blog about upgrading BackendPro 0.6.1 for use with PHP5.
http://www.kaydoo.co.uk/2010/04/patch-ba...with-php-5

[eluser]shinokada[/eluser]
I found a typo in your blog.

Replace the line with the following
Code:
$this->field[$field]['label'] = ucwords(str_replace(’_',”,$field));


This should be

Replace the line with the following as you stated in this forum.
Code:
$this->field[$field]['label'] = ucwords(str_replace(’/_/',”,$field));

[eluser]alainm[/eluser]
Adamp1: what happened to the SVN repo?

has it been taken down?

[eluser]adamp1[/eluser]
No I moved it, there should have been no difference. http://svn2.assembla.com/svn/backendpro/

[eluser]alainm[/eluser]
Oh i see now.. great..

Now where is the Revision log? that seems to have been moved also.

Also i've been trying to debug the access module javascript as there seems to be an issue with the success handler firing in Firefox, Opera and Safari. this is proving to be challenging.

[eluser]adamp1[/eluser]
The revision log is still here http://www.kaydoo.co.uk/backendpro/user_...gelog.html.

If your meaning the revision log for 1.0 its not been written yet.

Edit:
Are you using firebug to step through? I know there is a bug I think where the access module JS code dosn't work in chrome.

[eluser]alainm[/eluser]
The revision log i was refering to was http://trac2.assembla.com/backendpro/changeset/319

This one was great as it gave details to what code was change and your comments on what was fixed. now there doesn't seem to be a way of tracking what changed from one rev to the next in svn.

I tried to step through with firebug, the issue seems to be related to the JS code and how the ajax call is made. So i can confirm that Access page is not working in Firefox Safari and Opera.

i will try and debug more over the weekend.

[eluser]adamp1[/eluser]
You can use this one http://www.assembla.com/code/backendpro/...gs?rev=323

Just go to a SVN node using the browser, then there is a link at the top for the revision log.

I will add it as a bug too look into.




Theme © iAndrew 2016 - Forum software by © MyBB