Quantcast

error in Fudforum

classic Classic list List threaded Threaded
9 messages Options
Alexandre Alexandre
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

error in Fudforum

when I create or modify an account, it was shown the following error:

 [error] [client 127.0.0.1] PHP Catchable fatal error:  Object of class accounts could not be converted to string in /usr/share/gw/fudforum/inc/class.ufud.inc.php on line 65, referer: http://localhost/gw/index.php?menuaction=admin.uiaccounts.edit_user&account_id=1011

the line 65 of file class.ufud.inc.php is:

$name = addslashes($$acc->data['firstname'] . ' ' . $acc->data['lastname']);

I change for ;

$name = addslashes($acc->data['firstname'] . ' ' . $acc->data['lastname']);

and worked fine.

Thanks.
Alexandre Alexandre
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: error in Fudforum

Hi. I found another problem.

In Page of administrator the link 'Site configuration' of fudforum is broken.

the link is pointing for [url]/fudforum/0/adm/admglobal.php

I believe what this problem is in line 16 of file  hook_preferences.inc.php,

am I right?

Thanks.
eeek eeek
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Editing the Calendar Menu

Hi, I want to e.g. remove the search box in the calendar menu.
I tried this through the eTemplate editor but couldn't find it.

Could someone please tell me where to edit the menu?

Thanks,

Emiliano

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
eGroupWare-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
Nathan Gray Nathan Gray
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Editing the Calendar Menu

On Wed, Aug 4, 2010 at 8:58 AM, Emiliano Kamppeter
<[hidden email]> wrote:
> Hi, I want to e.g. remove the search box in the calendar menu.
> I tried this through the eTemplate editor but couldn't find it.
>
> Could someone please tell me where to edit the menu?

You can find out the function that does the sidebox menu for any app
by looking in <appname>/setup/setup.inc.php.  Look for the sidebox
hook definition.

For calendar it's in a non-standard place.
You can find the code that generates it in
calendar/inc/class.calendar_ui.inc.php function sidebox_menu().

Nathan

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
eGroupWare-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
eeek eeek
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Resetting eTemplate settings

Hello,

I accidentally deleted an eTemplate and did some other changes. Of
course without making a backup...I'm stupid, I know.
Is there a way to reset the whole eTemplate system to default so I can
start over?
What needs to be backed up?

Thanks,

Emiliano

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
eGroupWare-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
Ralf Becker-2 Ralf Becker-2
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Resetting eTemplate settings

If you touch the $app/setup/etemplate.inc.php file, eTemplate will load
all eTemplates from $app again.

Ralf

Am 05.08.2010 02:08, schrieb Emiliano Kamppeter:

> Hello,
>
> I accidentally deleted an eTemplate and did some other changes. Of
> course without making a backup...I'm stupid, I know.
> Is there a way to reset the whole eTemplate system to default so I can
> start over?
> What needs to be backed up?
>
> Thanks,
>
> Emiliano
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> _______________________________________________
> eGroupWare-developers mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/egroupware-developers

--
Ralf Becker
Director Software Development

Stylite GmbH
[open style of IT]

Morschheimer Strasse 15
67292 Kirchheimbolanden

fon  +49 (0) 6352 70629-0
fax  +49 (0) 6352 70629-30
mailto: [hidden email]

www.stylite.de
www.egroupware.org
________________________________________________

Geschäftsführer Andre Keller,
        Gudrun Müller, Ralf Becker
Registergericht Kaiserslautern HRB 30575
Umsatzsteuer-Id / VAT-Id: DE214280951

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
eGroupWare-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
eeek eeek
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Resetting eTemplate settings

Dear Ralf,

sorry, but what do you mean by "touch"? Is this the Linux touch command?
Or do you mean I should just replace it with the original one?

Thank you!

Emiliano

Am 05.08.2010 09:31, schrieb Ralf Becker:

> If you touch the $app/setup/etemplate.inc.php file, eTemplate will load
> all eTemplates from $app again.
>
> Ralf
>
> Am 05.08.2010 02:08, schrieb Emiliano Kamppeter:
>    
>> Hello,
>>
>> I accidentally deleted an eTemplate and did some other changes. Of
>> course without making a backup...I'm stupid, I know.
>> Is there a way to reset the whole eTemplate system to default so I can
>> start over?
>> What needs to be backed up?
>>
>>      


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
eGroupWare-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
Ralf Becker-2 Ralf Becker-2
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Resetting eTemplate settings

touch command, it updates the modification date, to trick eTemplate to
think the file was updated and therefore import it again.

Ralf

Am 05.08.2010 09:36, schrieb Emiliano Kamppeter:

> Dear Ralf,
>
> sorry, but what do you mean by "touch"? Is this the Linux touch command?
> Or do you mean I should just replace it with the original one?
>
> Thank you!
>
> Emiliano
>
> Am 05.08.2010 09:31, schrieb Ralf Becker:
>> If you touch the $app/setup/etemplate.inc.php file, eTemplate will load
>> all eTemplates from $app again.
>>
>> Ralf
>>
>> Am 05.08.2010 02:08, schrieb Emiliano Kamppeter:
>>    
>>> Hello,
>>>
>>> I accidentally deleted an eTemplate and did some other changes. Of
>>> course without making a backup...I'm stupid, I know.
>>> Is there a way to reset the whole eTemplate system to default so I can
>>> start over?
>>> What needs to be backed up?
>>>
>>>      
>
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> _______________________________________________
> eGroupWare-developers mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/egroupware-developers

--
Ralf Becker
Director Software Development

Stylite GmbH
[open style of IT]

Morschheimer Strasse 15
67292 Kirchheimbolanden

fon  +49 (0) 6352 70629-0
fax  +49 (0) 6352 70629-30
mailto: [hidden email]

www.stylite.de
www.egroupware.org
________________________________________________

Geschäftsführer Andre Keller,
        Gudrun Müller, Ralf Becker
Registergericht Kaiserslautern HRB 30575
Umsatzsteuer-Id / VAT-Id: DE214280951

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
eGroupWare-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
Alexandre Alexandre
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: error in Fudforum

I would like to go back the matter what started the topic.

the two problems what i found.


Problem 1

 Alexandre   (43 posts) [Selected post]  Aug 03, 2010; 11:09am   error in Fudforum   


when I create or modify an account, it was shown the following error:

 [error] [client 127.0.0.1] PHP Catchable fatal error:  Object of class accounts could not be converted to string in /usr/share/gw/fudforum/inc/class.ufud.inc.php on line 65, referer: http://localhost/gw/index.php?menuaction=admin.uiaccounts.edit_user&account_id=1011

the line 65 of file class.ufud.inc.php is:

$name = addslashes($$acc->data['firstname'] . ' ' . $acc->data['lastname']);

I change for ;

$name = addslashes($acc->data['firstname'] . ' ' . $acc->data['lastname']);

and worked fine.

Thanks.



Problem 2:
   Alexandre   (43 posts) [Selected post]  Aug 03, 2010; 11:26am   Re: error in Fudforum  

 Hi. I found another problem.

In Page of administrator the link 'Site configuration' of fudforum is broken.

the link is pointing for [url]/fudforum/0/adm/admglobal.php

I believe what this problem is in line 16 of file  hook_preferences.inc.php,

am I right?

Thanks.
Loading...