Recent Topics

1 Mar 23, 2010 17:38    

My b2evolution Version:

Hello,

b2evolution 3.3.3

The admin account is able to create article and insert images inside in the same time.

An other account with less right is able to create article OR insert images.
When he wants to add text and images he got the error

"Catchable fatal error: Object of class Item could not be converted to string in /homepages/htdocs/blog/inc/users/model/_user.class.php on line 727"


Few weeks ago it was working and I did not change any source file in the blog.

Do you have any idea for these problem ?
Could it be relative to an out of memory issue ?
How can I debug it ?

Regards,

Slamp

2 Mar 24, 2010 03:48

Hi slamp.

You said the user admin is able to post images and text with no problems right? Is it for certain user? or all other basic users?

3 Mar 27, 2010 11:27

It's for all users with right to write articlesm, except admin account.

4 Mar 27, 2010 12:10

hi again.. looks like a Group/user permission denied issue. look for the folder where all images uploaded by users before. check if its rewritable.

chodmod 777?

5 Mar 30, 2010 13:38

Hi Slamp,

Crack open that file and change the section of code ( 724 -> 728 ..ish ) to look like this ( debug_die() is the changed line )

		if( ! $perm && $assert )
		{ // We can't let this go on!
			global $app_name;
			debug_die( sprintf( /* %s is the application name, usually "b2evolution" */ T_('Group/user permission denied by %s!'), $app_name )." ($permname:$permlevel:"
			.( is_object($perm_target) ? get_class($perm_target).'['.$perm_target_ID.']' : $perm_target ).")" );
		}

¥


Form is loading...