Recent Topics

1 Nov 30, 2012 04:07    

Wow, first post about 5.x... ;-)

I tried the new version. Seems good so far, but problem when creating a post. I got an error : Requested User does not exist!
But I'm correctly logged, and I'm admin on my own blog (in fact I didn't touch any settings from my previous upgraded blog). Strangely, the post is correctly saved and is displayed.

5.0.0-alpha-4
PHP version 5.3.10-1ubuntu3.4

Backtrace:

debug_die( "Requested User does not exist!" )
File: /multimedia/sites/24h-test/inc/_core/model/dataobjects/_dataobjectcache.class.php on line 591
DataObjectCache->get_by_ID( "81" )
File: /multimedia/sites/24h-test/inc/items/model/_item.class.php on line 5162
Item->send_email_notifications( false )
File: /multimedia/sites/24h-test/inc/items/model/_item.class.php on line 5066
Item->handle_post_processing( true )
File: /multimedia/sites/24h-test/inc/items/items.ctrl.php on line 692
require( "/multimedia/sites/24h-test/inc/items/items.ctrl.php" )
File: /multimedia/sites/24h-test/admin.php on line 245
Ignored last: 1

2 Nov 30, 2012 16:45

get_by_ID( "81" )


Can you check if user with ID 81 exists?

3 Nov 30, 2012 23:46

Effectively, #81 doesn't exist. But I'm correctly logged as myself (#1, admin)
I tried to log under another identity (simple user) and post a message. Same behavior: exact same message, with id 81 inexistant but the post is saved and displayed correctly (with the good author name).

I search why 81, and it's the number of users currently in my database (but id number are ranging 1 to 163).
I did an upgrade from 4.1.6, with my whole database, but touch yet any settings about groups and users.

PS By the way, as I'm searching those information, I have a question about user administration. If I want to order users by number (or name), it get ordered, but only group by group. Is it possible to get everyone (whatever they are admin or bloggers) listed by name?

4 Dec 01, 2012 00:13

I search why 81, and it's the number of users currently in my database (but id number are ranging 1 to 163).

This looks like a bug

If I want to order users by number (or name), it get ordered, but only group by group. Is it possible to get everyone (whatever they are admin or bloggers) listed by name?

I don't think it's possible

5 Dec 01, 2012 00:27

Edit the following in /inc/items/model/_item.class.php starting in line 5180

Replace

// Send emails:
$cache_by_locale = array();
foreach( $notify_users as $user_ID )
{
	$notify_User = $UserCache->get_by_ID( $user_ID );
	$notify_email = $notify_User->get( 'email' );

With this

// Send emails:
$cache_by_locale = array();
foreach( $notify_users as $user_ID )
{
	$notify_User = $UserCache->get_by_ID( $user_ID, false, false );
	if( empty( $notify_User ) )
	{ // skip invalid users
		continue;
	}

	$notify_email = $notify_User->get( 'email' );

Fixed in SVN

6 Dec 03, 2012 07:19

Is the SVN repository readable to the public or do we need to wait for the next alpha for all these bug fixes? I have searched and all I can find is the plugins repository. The CVS repository hasn't been committed to in ages.

7 Dec 03, 2012 13:25

You can manually edit the file I mentioned above.
I don't think the SVN repository is public.

8 Dec 03, 2012 15:20

Actually, the CVS repository does have been updated for v5.

9 Dec 03, 2012 18:40

Francois, what's your policy on CVS? Would you update it with each release or is it gonna be updated more often?

10 Dec 03, 2012 20:48

Alex wrote:

Francois, what's your policy on CVS? Would you update it with each release or is it gonna be updated more often?

I'd be happy if we could get frequent updates in between releases.Since i am planning to run the alpha and update it on the go

11 Dec 03, 2012 21:33

CVS is updated at each release.

The next release will likely be in January.


Form is loading...