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.

eZ debug

Timing: Jan 18 2025 11:29:09
Script start
Timing: Jan 18 2025 11:29:09
Module start 'content'
Timing: Jan 18 2025 11:29:10
Module end 'content'
Timing: Jan 18 2025 11:29:10
Script end

Main resources:

Total runtime0.7753 sec
Peak memory usage4,096.0000 KB
Database Queries214

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00010.0081 589.2422180.8281
Module start 'content' 0.00820.6282 770.0703666.0078
Module end 'content' 0.63640.1388 1,436.0781340.4609
Script end 0.7752  1,776.5391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00610.7893210.0003
Check MTime0.00250.3177210.0001
Mysql Total
Database connection0.00120.149410.0012
Mysqli_queries0.678887.55882140.0032
Looping result0.00240.31542120.0000
Template Total0.745296.120.3726
Template load0.00280.363520.0014
Template processing0.742495.752320.3712
Template load and register function0.00020.028110.0002
states
state_id_array0.00060.074310.0006
state_identifier_array0.00110.140620.0005
Override
Cache load0.00260.3308760.0000
Sytem overhead
Fetch class attribute can translate value0.00270.344540.0007
Fetch class attribute name0.00180.2302110.0002
XML
Image XML parsing0.00130.165940.0003
class_abstraction
Instantiating content class attribute0.00000.0022110.0000
General
dbfile0.00260.3302340.0001
String conversion0.00000.001030.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
9content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
16content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
21content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 50
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs