Bug Error on Install 4.0.2

Status
Not open for further replies.

TBolley

Customer
Code:
Ibericode\Vat\Clients\ClientException: Error fetching rates from https://raw.githubusercontent.com/ibericode/vat-rates/master/vat-rates.json. in src\addons\DBTech\eCommerce\vendor\ibericode\vat\src\Clients\IbericodeVatRatesClient.php at line 31
Ibericode\Vat\Clients\IbericodeVatRatesClient->fetch() in src\addons\DBTech\eCommerce\vendor\ibericode\vat\src\Rates.php at line 88
Ibericode\Vat\Rates->loadFromRemote() in src\addons\DBTech\eCommerce\vendor\ibericode\vat\src\Rates.php at line 64
Ibericode\Vat\Rates->load() in src\addons\DBTech\eCommerce\vendor\ibericode\vat\src\Rates.php at line 114
Ibericode\Vat\Rates->resolvePeriod() in src\addons\DBTech\eCommerce\vendor\ibericode\vat\src\Rates.php at line 152
Ibericode\Vat\Rates->getRateForCountryOnDate() in src\addons\DBTech\eCommerce\vendor\ibericode\vat\src\Rates.php at line 140
Ibericode\Vat\Rates->getRateForCountry() in src\addons\DBTech\eCommerce\Repository\CountryRepository.php at line 295
DBTech\eCommerce\Repository\CountryRepository->updateVatRates() in src\addons\DBTech\eCommerce\Install\InstallDataTrait.php at line 1320
DBTech\eCommerce\Setup->runPostInstallActions() in src\addons\DBTech\eCommerce\Setup.php at line 167
DBTech\eCommerce\Setup->postInstall() in src\XF\AddOn\AddOn.php at line 575
XF\AddOn\AddOn->postInstall() in src\XF\Admin\Controller\AddOnController.php at line 799
XF\Admin\Controller\AddOnController->actionFinalize() in src\XF\Mvc\Dispatcher.php at line 362
XF\Mvc\Dispatcher->dispatchClass() in src\XF\Mvc\Dispatcher.php at line 264
XF\Mvc\Dispatcher->dispatchFromMatch() in src\XF\Mvc\Dispatcher.php at line 121
XF\Mvc\Dispatcher->dispatchLoop() in src\XF\Mvc\Dispatcher.php at line 63
XF\Mvc\Dispatcher->run() in src\XF\App.php at line 2813
XF\App->run() in src\XF.php at line 802
XF::runApp() in admin.php at line 15
 
I believe this might be a server issue on your end.

Please create a PHP file, can be named anything, and place it next to index.php from your XenForo folder. Add the following contents:
PHP:
<?php

$url = 'https://raw.githubusercontent.com/ibericode/vat-rates/master/vat-rates.json';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_TIMEOUT, 6);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_MAXREDIRS, 2);
$body = (string) curl_exec($ch);
$status = (int) curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);

echo "<pre>";
var_dump($body);
var_dump($status);

?>

And tell me the output.
 
Code:
C:\Temp\WampServer\www\xf232-ok\1.php:16:string '' (length=0)
C:\Temp\WampServer\www\xf232-ok\1.php:17:int 0
 
This is indeed a server error on your end. Your server is unable to resolve external URLs. You may have a firewall or other misconfiguration.
 
No, your site doesn’t need to be running HTTPS, but your server needs to have OpenSSL installed and functioning.
 
i tested it local on some win 64 system.

seems no way for Wamp Server to get worked, installed xampp solve the problem.

on linux host works also fine.
 
Hello @TBolley,

We hope your ticket regarding DragonByte eCommerce has been addressed to your satisfaction. This ticket has now been scheduled to be closed.

If your ticket has not been resolved, you can reply to this thread at any point in the next 7 days in order to reopen the ticket, afterwards this thread will be closed.

Please do not reply to this thread if your ticket has been resolved.

Thank you.


- DragonByte Technologies, Ltd.
 
Status
Not open for further replies.

DragonByte eCommerce

XenForo 2.0.6+ XenForo 2.1.x XenForo 2.2.x XenForo 2.3.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
2,783
Customer rating
4.83 star(s) 6 ratings
Back
Top