VirtueMart 3.8.4 10335
Joomla! 3.9.21 Stable
PHP 7.3.22
Message (per screenshot):
"Your SERVER does not support allow_url_fopen, nor cUrl! Registration process stopped. Please enable on your server either allow_url_fopen or cUrl."
Both statements are incorrect.
I cannot actually see any impact, including to Registration; if it means User registration.
TIA
Quote"Your SERVER does not support allow_url_fopen, nor cUrl! Registration process stopped. Please enable on your server either allow_url_fopen or cUrl."
This is question to your hosting and joomla forum, not virtuemart.
And read carefoully joomla doc about instalation and recomnded setup for hosting:
https://docs.joomla.org/J3.x:Installing_Joomla
Asking the question on here was the last resort, not the first.
It appears only in the VM component and neither statement is true; both are Enabled.
My hosting and my configuration are ok:
VirtueMart 3.8.4 10335
Joomla! 3.9.14 Stable
PHP 7.3.5
Hi Eddie,
this message comes from the function getMemberStatus() in administrator\components\com_virtuemart\controllers\virtuemart.php
Its the
Like VirtueMart?
Become a Supporter
thing in the admin
you could just disable it there if the check is a false negative
Hello John
Thanks for the explanation and advice, as ever.
I do have a Supporter number and now realise what is not displaying.
Have you seen it before?
Best
Eddie
No I haven't.. the check is fairly basic...
it would only show a failure IF you have a membership key
if(!empty($host) AND !empty($ackey)) {
$link = 'https://extensions.virtuemart.net/index.php?option=com_virtuemart&view=plugin&name=istraxx_download_byhost&ackey='.base64_encode( $ackey ).'&host='.$host.'&vmlang='.VmConfig::$vmlangTag.'&sku=VMMS&vmver='.vmVersion::$RELEASE;
try {
$resObj = JHttpFactory::getHttp(null, array('curl', 'stream'))->get($link);
$request = $resObj->body;
}
catch (RuntimeException $e) {
$d = new stdClass();
$d->res = 'No connection';
$d->html = '<div style="color:red;font-size: 30px;line-height: 32px;">Your SERVER does not support allow_url_fopen, nor cUrl! Registration process stopped. Please enable on your server either allow_url_fopen or cUrl. </div>';
$request = json_encode($d);
}
I think if the url doesn't return then it is deemed a failure .. but i assume it could fail for all sorts of reasons other than no cUrl etc .. e.g. connectivity, server down etc
but the error is hard coded as cUrl failure
I think the https://extensions.virtuemart.net was down for a short time on Friday .. maybe this caused it?
Ok, so I logged in, again.
The message was still there.
I selected Virtuemart -> Tools and it reverted to the the Yellow box, inviting a new subscription because my previous one had expired.
I have renewed, input the new membership number and all is now ok, again.
I doubt it was the selection of the Tools option which cured the issue as I had gone through the list previously.
Nor, a novel way of inviting a new subs.
More likely the server-down as you suggested.
Anyway, back to sleep now.
Take care
Eddie