dolibarr-bugtrack
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-bugtrack] [Bug #1027] Call to a member function initHooks() on


From: Doliforge
Subject: [Dolibarr-bugtrack] [Bug #1027] Call to a member function initHooks() on a non-object
Date: Wed, 07 Aug 2013 17:39:49 +0200

Doliforge
Ce message ne s'affiche pas correctement?
mettez à jour vos préférences utilisateur.

Call to a member function initHooks() on a non-object

Dernières modifications

07/08/2013 17:39 (Europe/Paris)
Bug can't be reproduced on last develop version or may be
obsolete because of changes, so we suppose it was silently fixed.
Because of this, we close the request.

Répondre

État

 Détails
Last Modified On:  07/08/2013 17:38 Submitted by:  damien clochard (daamien)
Submitted on:  07/08/2013 16:49 
Summary:   Call to a member function initHooks() on a non-object
Description:  I just upgraded a 3.2 directory to the last 3.4 from github and I get this error when loading the index.php

Fatal error: Call to a member function initHooks() on a non-object in /var/www/laboerp.dalibo.info/core/lib/security2.lib.php on line 134
Step to reproduce bug:  
Version:  3.4.0 Category:  Other
Severity:  5 - Major OS Type/Version:  
PHP version:   Database type and version:  
 Etat
Status:  Need more info Assigned to:  HENRY Florian (fhenry)
Resolution:  Aucun 

Commentaires

damien clochard 07/08/2013 17:39
Bug can't be reproduced on last develop version or may be
obsolete because of changes, so we suppose it was silently fixed.
Because of this, we close the request.
damien clochard 07/08/2013 17:38

ok fixed.

I had a problem on my git repository, master.inc.php and other files were missing.

I rebuild a new git clone and run the upgrade process successfully.

Sorry for my mistake and thanks for your time.
HENRY Florian 07/08/2013 17:27
To migrate from dolibarr 3.2 to 3.4 you always have to do 3.2->3.3->3.4. SQL migration script have to be executed in this order.
Anyway I think it's not link to your problem.
Could you tell me if you have other error message into apache/php logs ?
And tell me if at the line 218 of master.inc.php you have this : $hookmanager=new HookManager($db); ?
damien clochard 07/08/2013 17:23
I did 3.2 -> 3.4 . It worked fine last month.

I can reach the /install/ folder and run the 3.2->3.3 and then the 3.3->3.4 data migration script

But the error remains on index.php

$ php --version
PHP 5.3.3-7+squeeze16 with Suhosin-Patch (cli) (built: Jul 17 2013 17:04:11)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH
HENRY Florian 07/08/2013 17:16
Did you did 3.2->3.3->3.4 ?

I check this part of the code and the hookmanger is define into master.inc.php that is include into main.inc.php that call the method dol_loginfunction of the file security2.lib.php.

What your php version ?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]