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.

eZ debug

Timing: Jan 18 2025 16:14:32
Script start
Timing: Jan 18 2025 16:14:32
Module start 'layout'
Timing: Jan 18 2025 16:14:32
Module start 'content'
Timing: Jan 18 2025 16:14:32
Module end 'content'
Timing: Jan 18 2025 16:14:32
Script end

Main resources:

Total runtime0.0145 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 588.0469152.6406
Module start 'layout' 0.00540.0025 740.687539.4922
Module start 'content' 0.00800.0045 780.179793.4922
Module end 'content' 0.01250.0020 873.671934.3047
Script end 0.0144  907.9766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002919.8217140.0002
Check MTime0.001510.2610140.0001
Mysql Total
Database connection0.00075.170010.0007
Mysqli_queries0.002316.141130.0008
Looping result0.00000.090610.0000
Template Total0.001611.310.0016
Template load0.00096.226110.0009
Template processing0.00075.038210.0007
Override
Cache load0.00074.553810.0007
General
dbfile0.00021.324680.0000
String conversion0.00000.046140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs