What I did:

* Working Dolibarr 3.5.2

* Switching Dolibarr from 3.5.2 to 3.5.3:
  - cd /opt
  - rm dolibarr ; ln -s dolibarr-3.5.3 dolibarr

* Press F5 in Browser (Refresh):

Dolibarr install or upgrade *Prerequisites check*:
Ok PHP Version 5.5.9-1ubuntu4 (More information <http://localhost/dolibarr/htdocs/install/phpinfo.php>)
Ok This PHP supports variables POST and GET.
Ok This PHP supports sessions.
Ok This PHP support GD graphical functions.
Ok This PHP support UTF8 functions.
Ok Your PHP max session memory is set to *128M*. This should be enough.
Ok Configuration file *htdocs/conf/conf.php* exists.
Ok Configuration file *htdocs/conf/conf.php* is writable.

*Fatal error*: Cannot redeclare class DoliDBMysqli in */opt/dolibarr-3.5.3/htdocs/core/db/mysqli.class.php* on line *0*

Back to 3.5.2:

*Fatal error*: Cannot redeclare versiontostring() (previously declared in /opt/dolibarr-3.5.2/htdocs/core/lib/admin.lib.php:33) in */opt/dolibarr-3.5.3/htdocs/core/lib/admin.lib.php* on line *33*

Url back to: http://localhost/dolibarr/htdocs/ works with 3.5.2 but not with 3.5.3

Trying the same with 3.5.4:

*Fatal error*: Cannot redeclare versiontostring() (previously declared in /opt/dolibarr-3.5.4/htdocs/core/lib/admin.lib.php:33) in */opt/dolibarr-3.5.3/htdocs/core/lib/admin.lib.php* on line *33*

Further I found that after restarting apache it worked. So linking somehow caused the troubles.

Regards,
oli





On 04.07.2014 12:30, Doursenaud, Raphaël wrote:
Hi Oli,

Never seen this.

Could you provide some logs, PHP and MySQL versions…

Thanks.


2014-07-04 6:56 GMT+02:00 Oli Sennhauser <oli.sennhau...@fromdual.com <mailto:oli.sennhau...@fromdual.com>>:

    Hello all

    I upgrade yesterday one of my test installations from 3.5.2 to
    3.5.3 and got some errors (blocker): A Class MySQLsomething was
    declared twice.
    I have to investigate some more to reproduce this behaviour. Just
    in case somebody has seen this as well should be confirming...

    No other action to do until here.

    Regards,
    Oli

--
    FromDual - Independent and Professional MySQL Services.

    Oli Sennhauser                    CEO / Senior Consultant
Phone: +41 44 940 24 82 <tel:%2B41%2044%20940%2024%2082> Mobile: +41 79 830 09 33 <tel:%2B41%2079%20830%2009%2033>
    oli.sennhau...@fromdual.com <mailto:oli.sennhau...@fromdual.com>
    http://www.fromdual.com
    Skype: oli_sennhauser             Twitter: fromdual


    _______________________________________________
    Dolibarr-dev mailing list
    Dolibarr-dev@nongnu.org <mailto:Dolibarr-dev@nongnu.org>
    https://lists.nongnu.org/mailman/listinfo/dolibarr-dev




--
*Raphaël Doursenaud*
Directeur technique (CTO)
Expert certifié en déploiement Google Apps <https://gpcsolutions.fr/raphael-doursenaud-google-apps-certified-deployment-specialist>
+33 (0)5 35 53 97 13 - +33 (0)6 68 48 20 10

<http://gpcsolutions.fr>
http://gpcsolutions.fr
Technopole Hélioparc
2 avenue du Président Pierre Angot
64053 PAU CEDEX 9
SARL GPC.solutions au capital de 7 500 € - R.C.S. PAU 528 995 921
<https://www.google.com/a/partnersearch/#partner?partner_id=46687933_a0n60000000sqpWAAQ><http://wiki.dolibarr.org/index.php/Dolibarr_suppliers_France#GPC.solutions>


_______________________________________________
Dolibarr-dev mailing list
Dolibarr-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev


--

FromDual - Independent and Professional MySQL Services.

Oli Sennhauser                    CTO / Senior Consultant
Phone: +41 44 940 24 82           Mobile: +41 79 830 09 33
oli.sennhau...@fromdual.com       http://www.fromdual.com
Skype: fromdual                   Twitter: fromdual

_______________________________________________
Dolibarr-dev mailing list
Dolibarr-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à