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

[eluser]adamp1[/eluser]
Sorry that's the new design. The old one saves each field to a separate userdata value. So for example:
Code:
$this->session->userdata('id');
$this->session->userdata('username');
$this->session->userdata('group');
$this->session->userdata('group_id');
$this->session->userdata('email');

Sadly it wasn't designed as well.

[eluser]Alfredor[/eluser]
I'm getting a weird error message:

A PHP Error was encountered

Severity: 8192

Message: Assigning the return value of new by reference is deprecated

Filename: libraries/Loader.php

Line Number: 414


Apache, php5, windows, Backed pro 0.6.1 codeigniter 1.7.2
any ideas?

[eluser]Alfredor[/eluser]
Kay solved... but now...:
A PHP Error was encountered

Severity: Notice

Message: Undefined index: Option

Filename: models/base_model.php

Line Number: 120

[eluser]adamp1[/eluser]
[quote author="adamp1" date="1258064751"][quote author="adamp1" date="1255521629"]Right issue seems to be have been a typo in the last update.

To fix please do the following:
Open modules/preferences/models/preference_model.php.

1) The class is defined as
Code:
class Preference_model extends Base_model
please change this to
Code:
class Preference_model extends Model

2) In the constructor please change
Code:
parent::Base_model();
to
Code:
parent::Model();

3) Scroll down to set_item and replace its contents with the following
Code:
if( is_null($name))
        {
            return false;
        }

        $this->preferenceCache[$name] = $value;

        if( is_array($value))
        {
            $value = $this->object_keyword . serialize($value);
        }
        
        $this->db->where('name', $name);
        return $this->db->update(PREFERENCES, array('value'=>$value));

That should fix it.[/quote][/quote]

[eluser]Alfredor[/eluser]
Yah sorry for posting already solved isues Sad

[eluser]raitucarp[/eluser]
hi, @adamp1

sorry, I'm newbie, what is BackendPro function, I mean, what is benefit, if I use it. I have visit your site, but I still confuse about it

[eluser]adamp1[/eluser]
It provides a lot of features like login, site preferences (like config settings but can be edited in the control panel), access control, a control panel with a complete, status messages and other management features which are very useful to have out of the box.

Some people like it some people don't. But if you want to get a site up an running quickly with some powerful features its very good for this.

[eluser]raitucarp[/eluser]
[quote author="adamp1" date="1259933490"]It provides a lot of features like login, site preferences (like config settings but can be edited in the control panel), access control, a control panel with a complete, status messages and other management features which are very useful to have out of the box.

Some people like it some people don't. But if you want to get a site up an running quickly with some powerful features its very good for this.[/quote]

You mean that I can edit config/config.php via control panel ?

[eluser]adamp1[/eluser]
No config.php isn't editable but it creates Database tables to store your own preferences in, ones you may want to change more easily. Have a play with the demo on my site and you will see what I mean.

[eluser]raitucarp[/eluser]
[quote author="adamp1" date="1259934701"]No config.php isn't editable but it creates Database tables to store your own preferences in, ones you may want to change more easily. Have a play with the demo on my site and you will see what I mean.[/quote]

OK, I'll try

but, I still confuse about this, I'm sorry,

hmm, what do you mean about "own preferences" ?

sorry, I'm newbie




Theme © iAndrew 2016 - Forum software by © MyBB