<![CDATA[ Failed to update 2.5.8-> 2.6.1 - My Forums]]> https://forums.modx.com/thread/?thread=103510 <![CDATA[Failed to update 2.5.8-> 2.6.1]]> https://forums.modx.com/thread/103510/failed-to-update-2-5-8--2-6-1#dis-post-556855 Description of Problem:
Hello, when I try to update version 2.5.8-> 2.6.1, I get an error
Warning: require_once(/var/www/hvinfo/data/www/tst.ru/setup/includes/drivers/modinstalldriver_mysqli.class.php): failed to open stream: No such file or directory in /var/www/hvinfo/data/www/tst.ru/setup/includes/modinstall.class.php on line 79

Fatal error: require_once(): Failed opening required '/var/www/hvinfo/data/www/tst.ru/setup/includes/drivers/modinstalldriver_mysqli.class.php' (include_path='.:/opt/php70/share/pear:/opt/php70/share/php/php') in /var/www/hvinfo/data/www/tst.ru/setup/includes/modinstall.class.php on line 79

Steps to Reproduce:

Expected Outcome:


  • MODX Version:2.58
  • PHP Version:7.0.23
  • Database (MySQL, SQL Server, etc) Version:5.5.56-2
  • Additional Server Info:
  • FastCGI (Apache) + Nginx
    Apache 2.4.6-67.centos.2
    MySQL 5.5.56-2.
    PHP 7.0.23 )
    Kernel 4.14.5-1.el7.elrepo.x86_64

  • Installed MODX Add-ons:
  • Wayfinder
    translit
    TinyMCE Rich Text Edito
    TinyMCE
    SimpleSearch
    ReCaptchaV2
    pdoTools
    getResources
    getPage
    FormIt
    Ace



]]>
srgudvin Feb 15, 2018, 12:10 PM https://forums.modx.com/thread/103510/failed-to-update-2-5-8--2-6-1#dis-post-556855
<![CDATA[Re: Failed to update 2.5.8-> 2.6.1]]> https://forums.modx.com/thread/103510/failed-to-update-2-5-8--2-6-1#dis-post-556895 srgudvin Feb 17, 2018, 10:43 AM https://forums.modx.com/thread/103510/failed-to-update-2-5-8--2-6-1#dis-post-556895 <![CDATA[Re: Failed to update 2.5.8-> 2.6.1]]> https://forums.modx.com/thread/103510/failed-to-update-2-5-8--2-6-1#dis-post-556894 When I try to upgrade via UpgradedMODH I get the same error.
There is no file modinstalldriver_mysqli.class.php in the installation folder
modinstalldriver_sqlsrv.class.php
modinstalldriver_mysql.class.php
modinstalldriver.class.php
]]>
srgudvin Feb 17, 2018, 10:32 AM https://forums.modx.com/thread/103510/failed-to-update-2-5-8--2-6-1#dis-post-556894
<![CDATA[Re: Failed to update 2.5.8-> 2.6.1]]> https://forums.modx.com/thread/103510/failed-to-update-2-5-8--2-6-1#dis-post-556893
/var/www/hvinfo/data/www/tst.ru/setup/includes/drivers/modinstalldriver_mysqli.class.php


If it does, there's a problem with its permissions or ownership or a similar problem with the directories above it.

If not, and you uploaded the MODX files individually using FTP, that often results in missing or corrupted files.

If you uploaded the MODX .zip file and expanded it on the server, it's easy to end up with all the files in a subdirectory named for the MODX version, rather than the MODX root.

What I would do in your situation is to roll back to 2.5.8 (assuming that you have a backup), then install and use the UpgradeMODX extra to upgrade to 2.6.0, then 2.6.1. It's much more reliable than copying the files yourself.]]>
BobRay Feb 17, 2018, 02:58 AM https://forums.modx.com/thread/103510/failed-to-update-2-5-8--2-6-1#dis-post-556893
<![CDATA[Re: Failed to update 2.5.8-> 2.6.1]]> https://forums.modx.com/thread/103510/failed-to-update-2-5-8--2-6-1#dis-post-556892
[2018-02-16 21:42:23] (ERROR @ /var/www/***/data/www/tst.ru/core/xpdo/xpdo.class.php : 644) Could not load class: pdoParser from pdoparser.
[2018-02-16 21:42:23] (ERROR @ /var/www/***/data/www/tst.ru/core/xpdo/xpdo.class.php : 1247) Problem getting service parser, instance of class pdoParser, from path /var/www/hvinfo/data/www/tst.ru/core/components/pdotools/model/pdotools/
]]>
srgudvin Feb 16, 2018, 06:44 PM https://forums.modx.com/thread/103510/failed-to-update-2-5-8--2-6-1#dis-post-556892
<![CDATA[Re: Failed to update 2.5.8-> 2.6.1]]> https://forums.modx.com/thread/103510/failed-to-update-2-5-8--2-6-1#dis-post-556891 Warning: require_once(/var/www/hvinfo/data/www/tst.ru/setup/includes/drivers/modinstalldriver_mysqli.class.php): failed to open stream: No such file or directory in /var/www/hvinfo/data/www/tst.ru/setup/includes/modinstall.class.php on line 79

Fatal error: require_once(): Failed opening required '/var/www/hvinfo/data/www/tst.ru/setup/includes/drivers/modinstalldriver_mysqli.class.php' (include_path='.:/opt/php70/share/pear:/opt/php70/share/php/php') in /var/www/hvinfo/data/www/tst.ru/setup/includes/modinstall.class.php on line 79]]>
srgudvin Feb 16, 2018, 06:37 PM https://forums.modx.com/thread/103510/failed-to-update-2-5-8--2-6-1#dis-post-556891
<![CDATA[Re: Failed to update 2.5.8-> 2.6.1 (Best Answer)]]> https://forums.modx.com/thread/103510/failed-to-update-2-5-8--2-6-1#dis-post-556888 BobRay Feb 16, 2018, 05:50 PM https://forums.modx.com/thread/103510/failed-to-update-2-5-8--2-6-1#dis-post-556888 <![CDATA[Re: Failed to update 2.5.8-> 2.6.1]]> https://forums.modx.com/thread/103510/failed-to-update-2-5-8--2-6-1#dis-post-556882 https://modx.com/download/other-versions?releaseKey=revolution-2.6.0-pl]]> paulp Feb 16, 2018, 01:00 PM https://forums.modx.com/thread/103510/failed-to-update-2-5-8--2-6-1#dis-post-556882 <![CDATA[Re: Failed to update 2.5.8-> 2.6.1]]> https://forums.modx.com/thread/103510/failed-to-update-2-5-8--2-6-1#dis-post-556878 srgudvin Feb 16, 2018, 09:23 AM https://forums.modx.com/thread/103510/failed-to-update-2-5-8--2-6-1#dis-post-556878 <![CDATA[Re: Failed to update 2.5.8-> 2.6.1]]> https://forums.modx.com/thread/103510/failed-to-update-2-5-8--2-6-1#dis-post-556870
]]>
BobRay Feb 16, 2018, 06:24 AM https://forums.modx.com/thread/103510/failed-to-update-2-5-8--2-6-1#dis-post-556870