Forums / Install & configuration / Problem with installation

Problem with installation

Author Message

christian bencivenni

Monday 19 November 2007 8:52:00 am

Hi.
Thank you for your job with ez.
I love it very much.
I instaled it (3.10) with a flat installation for an ecommerce site pourpose and all works correctly.
I installe a personal graphics, with css, templates and html.
During the final steps of my works realize that the site cannot make User registration.
When I compile the user registration form I receive a:

Fatal error: Call to a member function on a non-object in c:\vhosts\www-namesite-it\kernel\user\register.php on line 198
Fatal error: eZ Publish did not finish its request

searching in the User Account sectin I find that does not exist the Members user group.
I have Anonymous, Administrator and editor but not members.

Can I charge it with a package without corrupt the database?
And where I find it?

I tried to create it with all permssion but it will be created with node id 228.
Then I tried changing the site.ini.append.php file with
[UserSettings]
RegistrationEmail=
DefaultUserPlacement=228

but again I receive the same message.

Oh.The line 198 of register.php is:
$hash = md5( mktime( ) . $user->attribute( 'contentobject_id' ) );

the user is correctly created in the Members folderbut it cannot log.
I forgot something?
Can you help me?
Thanks in advance

christian bencivenni

Monday 19 November 2007 8:54:58 am

An append with other infos:

1. I did not receive the mail with activation link
2. I can activate it through the back end admin interface but it doesn't log in.

christian bencivenni

Monday 19 November 2007 8:59:54 am

Another news

I tried to activate a user through backend.
then I clear the cache
and I tried to log thouf frontend.

The user logged in correctly but it cannot edit his profile.

So it seems that something goes wrong in the user registration and some in the permission fails.

christian bencivenni

Monday 19 November 2007 9:07:08 am

The policies of Members:

Member content create Class( Comment ) , Section( Standard ) , ParentClass( Article , Article (main-page) , Blog )
Member content edit Class( Comment ) , Section( Standard ) , Owner( Self )
Member user selfedit No limitation
Member notification use No limitation
Member shop buy No limitation
Member user password No limitation
Anonymous content read Section( Standard )
Anonymous content pdf Section( Standard )
Anonymous user login SiteAccess( plain_site )

christian bencivenni

Monday 19 November 2007 9:37:26 am

Finally I resolve theproblem of User profile access adding the policy:

Member content read Class( User ) , Section( Users ) , Owner( Self )

to the Member Role.

Nothing to do with registration.
Anyone can help me?

André R.

Monday 19 November 2007 10:07:36 am

The bug is fixed in the upcomming 3.10.1 and 4.0beta1 versions:
Fixed bug #11598: Fatal error: Call to a member function on a non-object in register.php on line 198 in EZPublish 3.10.0

Full changelog:
http://pubsvn.ez.no/nextgen/stable/3.10/doc/changelogs/3.10/CHANGELOG-3.10.0-to-3.10.1

You can download the current version of 3.10.1 from svn if you don't want to wait.
Instructions on how to checkout eZ Publish from svn can be found on the download page!

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

christian bencivenni

Tuesday 20 November 2007 3:48:49 am

thank you.
But... how can i change from a version to another?
there a documentation?
or simpli change the binaries?

Sandra Parente

Tuesday 20 November 2007 8:32:26 am

I've downloaded only kernel/user/register.php from svn, overwritten it in my 3.10.0 installation and it works.

Cheers.

Sandra Parente
www.netbliss.it

christian bencivenni

Wednesday 21 November 2007 1:56:38 am

Me too.
Thanks Sandra.