User registration not working -> "Object not found"

Author Message

Michael Fürst

Thursday 21 May 2009 5:47:50 am

Hi there,

My user registration works for the last weeks during developing.
But today I opend the URL www.domain.com/user/register and i got the following Error:
<b>Object not available</b>
Here's the debug output:

Error: eZContentObject::fetch()
Object not found (724)

Error: error/view.php 	May 21 2009 14:41:05
Error ocurred using URI: /user/register

And I've no idea why. The only thing i changed:
- I've set <b>EditDirtyObjectAction=usecurrent</b> in site.ini override (so that the user don't see the version history on editing his own profile).
- Yesterday night I've added the <b>default cronjobs</b> of eZ to my crontab (including ezFlow Cron).

All other user-depending views (like edit profile, login, view profile, lost password) are working as they should.

Has anyone an idea, what could be my problem?

Thanks a lot,
by,
Mike

André R.

Friday 22 May 2009 2:24:02 am

Tried to clear session data? Might be that you have a old object id from prior testing for user object draft in your session data, but the internal draft has been removed by cronjob since it is too old.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Michael Fürst

Friday 22 May 2009 7:30:42 am

Hi Andre,

Today it works again... Don't know why... I think your idea would be right.
I'll have a look at it for the next time.

Thanks & Ciao,
Mike

John Moritz

Sunday 21 June 2009 2:20:52 pm

Andre, i have the same problem. I know this is, because something is saved in a cookie during a user opens the registration page.

So the only thing i could do, is to delete the cookie and the registration page works normaly.

What can i do, that this will be done by ezPublish. Is there any cronjob that will delete the session? I havent setup the cronjobs till now. Will this solve the issue?

I also have some empty entries in ezuser table. How should this entrys be deleted. Also with cronjobs?

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.