Bug DragonByte Member Map broke my 2.* forum (see logs)

Status
Not open for further replies.

Dan Blather

New member
Checked out the Member Map, and considering buying unbranded Tweet Poster.

I uploaded the files, without overwriting existing files, and got the infamous "'an unexpected error occurred, please try again later'." error on all pages. I deleted all the Member Map files (and nothing else), and still got the error. My forum is running now, but only because all plugins are disabled in config.php.

This is from my error log:
Code:
    ErrorException: [E_NOTICE] iconv_substr(): Detected an illegal character in input string src/vendor/symfony/polyfill-mbstring/Mbstring.php:568

    Generated by: Dan Jan 10, 2019 at 7:13 PM

Stack trace

#0 [internal function]: XF::handlePhpError(8, 'iconv_substr():...', '/home/cyburbia/...', 568, Array)
#1 src/vendor/symfony/polyfill-mbstring/Mbstring.php(568): iconv_substr('phar error: "/h...', 0, 20000, 'UTF-8')
#2 src/vendor/symfony/polyfill-mbstring/bootstrap.php(38): Symfony\Polyfill\Mbstring\Mbstring::mb_substr('phar error: "/h...', 0, 20000, NULL)
#3 src/vendor/dokuwiki/utf8/utf8.php(163): mb_substr('phar error: "/h...', 0, 20000)
#4 src/XF/Error.php(135): utf8_substr('phar error: "/h...', 0, 20000)
#5 src/XF.php(161): XF\Error->logException(Object(UnexpectedValueException), true, '', false)
#6 src/XF/Mvc/Dispatcher.php(95): XF::logException(Object(UnexpectedValueException), true)
#7 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src/XF/App.php(1934): XF\Mvc\Dispatcher->run()
#9 src/XF.php(333): XF\App->run()
#10 admin.php(13): XF::runApp('XF\\Admin\\App')
#11 {main}

Request state

array(4) {
  ["url"] => string(109) "/forums/admin.php?add-ons/DBTech-MemberMap/finalize&t=1547165535%2C9a86f228f90d64428b98a67b7438fe76&a=install"
  ["referrer"] => string(55) "https://www.cyburbia.org/forums/admin.php?tools/run-job"
  ["_GET"] => array(3) {
    ["add-ons/DBTech-MemberMap/finalize"] => string(0) ""
    ["t"] => string(43) "1547165535,9a86f228f90d64428b98a67b7438fe76"
    ["a"] => string(7) "install"
  }
  ["_POST"] => array(0) {
  }
}


Code:
    UnexpectedValueException: RecursiveDirectoryIterator::__construct(): Unable to find the wrapper "phar" - did you forget to enable it when you configured PHP? src/addons/DBTech/MemberMap/Repository/GeoIp.php:133

    Generated by: Dan Jan 10, 2019 at 7:12 PM

Stack trace

#0 [internal function]: RecursiveDirectoryIterator->__construct('phar:///home/cy...', 12288)
#1 src/addons/DBTech/MemberMap/Repository/GeoIp.php(133): PharData->__construct('/home/cyburbia/...')
#2 src/addons/DBTech/MemberMap/Setup.php(106): DBTech\MemberMap\Repository\GeoIp->geoIpUpdate()
#3 src/XF/AddOn/AddOn.php(560): DBTech\MemberMap\Setup->postInstall(Array)
#4 src/XF/Admin/Controller/AddOn.php(573): XF\AddOn\AddOn->postInstall(Array)
#5 src/XF/Mvc/Dispatcher.php(249): XF\Admin\Controller\AddOn->actionFinalize(Object(XF\Mvc\ParameterBag))
#6 src/XF/Mvc/Dispatcher.php(89): XF\Mvc\Dispatcher->dispatchClass('XF:AddOn', 'finalize', 'html', Object(XF\Mvc\ParameterBag), 'listAddOns', Object(XF\Admin\Controller\AddOn), NULL)
#7 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src/XF/App.php(1934): XF\Mvc\Dispatcher->run()
#9 src/XF.php(333): XF\App->run()
#10 admin.php(13): XF::runApp('XF\\Admin\\App')
#11 {main}

Request state

array(4) {
  ["url"] => string(109) "/forums/admin.php?add-ons/DBTech-MemberMap/finalize&t=1547165535%2C9a86f228f90d64428b98a67b7438fe76&a=install"
  ["referrer"] => string(55) "https://www.cyburbia.org/forums/admin.php?tools/run-job"
  ["_GET"] => array(3) {
    ["add-ons/DBTech-MemberMap/finalize"] => string(0) ""
    ["t"] => string(43) "1547165535,9a86f228f90d64428b98a67b7438fe76"
    ["a"] => string(7) "install"
  }
  ["_POST"] => array(0) {
  }
}

Code:
    UnexpectedValueException: unable to decompress gzipped phar archive "/home/cyburbia/public_html/forums/internal_data/temp/GeoLite2-City.tar.gz" to temporary file src/addons/DBTech/MemberMap/Repository/GeoIp.php:133

    Generated by: Dan Jan 10, 2019 at 7:13 PM

Stack trace

#0 src/addons/DBTech/MemberMap/Repository/GeoIp.php(133): PharData->__construct('/home/cyburbia/...')
#1 src/addons/DBTech/MemberMap/Setup.php(106): DBTech\MemberMap\Repository\GeoIp->geoIpUpdate()
#2 src/XF/AddOn/AddOn.php(560): DBTech\MemberMap\Setup->postInstall(Array)
#3 src/XF/Admin/Controller/AddOn.php(573): XF\AddOn\AddOn->postInstall(Array)
#4 src/XF/Mvc/Dispatcher.php(249): XF\Admin\Controller\AddOn->actionFinalize(Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(89): XF\Mvc\Dispatcher->dispatchClass('XF:AddOn', 'finalize', 'html', Object(XF\Mvc\ParameterBag), 'listAddOns', Object(XF\Admin\Controller\AddOn), NULL)
#6 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#7 src/XF/App.php(1934): XF\Mvc\Dispatcher->run()
#8 src/XF.php(333): XF\App->run()
#9 admin.php(13): XF::runApp('XF\\Admin\\App')
#10 {main}

Request state

array(4) {
  ["url"] => string(109) "/forums/admin.php?add-ons/DBTech-MemberMap/finalize&t=1547165535%2C9a86f228f90d64428b98a67b7438fe76&a=install"
  ["referrer"] => string(55) "https://www.cyburbia.org/forums/admin.php?tools/run-job"
  ["_GET"] => array(3) {
    ["add-ons/DBTech-MemberMap/finalize"] => string(0) ""
    ["t"] => string(43) "1547165535,9a86f228f90d64428b98a67b7438fe76"
    ["a"] => string(7) "install"
  }
  ["_POST"] => array(0) {
  }
}


Code:
    UnexpectedValueException: src/addons/DBTech/MemberMap/Repository/GeoIp.php:133

    Generated by: Dan Jan 10, 2019 at 7:13 PM

Stack trace

#0 src/addons/DBTech/MemberMap/Repository/GeoIp.php(133): PharData->__construct('/home/cyburbia/...')
#1 src/addons/DBTech/MemberMap/Setup.php(106): DBTech\MemberMap\Repository\GeoIp->geoIpUpdate()
#2 src/XF/AddOn/AddOn.php(560): DBTech\MemberMap\Setup->postInstall(Array)
#3 src/XF/Admin/Controller/AddOn.php(573): XF\AddOn\AddOn->postInstall(Array)
#4 src/XF/Mvc/Dispatcher.php(249): XF\Admin\Controller\AddOn->actionFinalize(Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(89): XF\Mvc\Dispatcher->dispatchClass('XF:AddOn', 'finalize', 'html', Object(XF\Mvc\ParameterBag), 'listAddOns', Object(XF\Admin\Controller\AddOn), NULL)
#6 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#7 src/XF/App.php(1934): XF\Mvc\Dispatcher->run()
#8 src/XF.php(333): XF\App->run()
#9 admin.php(13): XF::runApp('XF\\Admin\\App')
#10 {main}

Request state

array(4) {
  ["url"] => string(109) "/forums/admin.php?add-ons/DBTech-MemberMap/finalize&t=1547165535%2C9a86f228f90d64428b98a67b7438fe76&a=install"
  ["referrer"] => string(55) "https://www.cyburbia.org/forums/admin.php?tools/run-job"
  ["_GET"] => array(3) {
    ["add-ons/DBTech-MemberMap/finalize"] => string(0) ""
    ["t"] => string(43) "1547165535,9a86f228f90d64428b98a67b7438fe76"
    ["a"] => string(7) "install"
  }
  ["_POST"] => array(0) {
  }
}

File health check results are now 100% good, but I just want to remove the
$config['enableListeners'] = false;, directive, so I can get my old vBulletin redirects working again. When I do that, though, the board crashes. It's like the plygin did something to my database.
 
Last edited:
Okay, something is REALLY screwwd up,

There are NO member map plugin files installed. However, there's:

* Cron entries (DragonByte Member Map: Update GeoIP database, Geolocate GeoIP database)
* Several phrases.

When I check the file health, I see ...

"Checking integrity of files for... DragonByte Member Map"

It's NOT on the list of installed plugins, though.

Even though all the plugin files are gone! It seems like this thing just went into the database, and caused al kings of havoc. Googled around, and I'm the only one with this problem -- can't find anything about it anywhere else. It's like the plugin is there, but it's not! And, if it's not there, I can't uninstall it!
 
Trying to reinstall to see if I can uninstall.

Here's the errors when I install. phar IS enabled. Anyhow, now this thing is entangled in my installation, no plugins are working, and I can't uninstall it.


UnexpectedValueException: RecursiveDirectoryIterator::__construct(): Unable to find the wrapper "phar" - did you forget to enable it when you configured PHP? in src/addons/DBTech/MemberMap/Repository/GeoIp.php at line 133

  1. RecursiveDirectoryIterator->__construct()
  2. PharData->__construct() in src/addons/DBTech/MemberMap/Repository/GeoIp.php at line 133
  3. DBTech\MemberMap\Repository\GeoIp->geoIpUpdate() in src/addons/DBTech/MemberMap/Setup.php at line 106
  4. DBTech\MemberMap\Setup->postInstall() in src/XF/AddOn/AddOn.php at line 560
  5. XF\AddOn\AddOn->postInstall() in src/XF/Admin/Controller/AddOn.php at line 573
  6. XF\Admin\Controller\AddOn->actionFinalize() in src/XF/Mvc/Dispatcher.php at line 249
  7. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 89
  8. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
  9. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1934
  10. XF\App->run() in src/XF.php at line 333
  11. XF::runApp() in admin.php at line 13
 
Last edited:
Could you please PM me with an FTP and AdminCP account so I can look into a workaround for this bug in PHP?
 
Status
Not open for further replies.

DragonByte Member Map

XenForo 1.5.3+ XenForo 2.0.x XenForo 2.1.x XenForo 2.2.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
1,725
Customer rating
5.00 star(s) 1 ratings
Back
Top