• 0
  • Shopping Cart
    0
Support Offline: Mon - Fri / 08:00am - 05:00pm (GMT +7)
Your Time: Our Time:

file wrapper is disabled in the server configuration by allow_url_fopen=0

More
2 years 10 months ago #18457 by Chris
Hello,

I am getting this error in the logs. I am unable to view the events for my page. Please advise.
PHP Warning:  file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in HOMEPATH/public_html/modules/mod_jux_facebook_events/events.php on line 26

Please Log in or Create an account to join the conversation.

More
2 years 10 months ago #18461 by HaiND
Hi Chris
Thanks for contacting and choosing our product
About your problem, I'm sorry. Please give me link your site and your account of administrator via private message or mail: This email address is being protected from spambots. You need JavaScript enabled to view it.
I will check it for you soon
Thanks

Best Regards
--HaiND--

Please Log in or Create an account to join the conversation.

More
2 years 10 months ago #18487 by Chris
I emailed you the details, please confirm

Please Log in or Create an account to join the conversation.

More
2 years 10 months ago #18490 by HaiND
Hi
Thank you for feedback us
Your website can not read a piece of code in our product
I did not find where you put it outside the front-end but I edited the code for you
Please check again
If still having problems, please contact us, pleased to assist you
Thanks

Best Regards
--HaiND--

Please Log in or Create an account to join the conversation.

More
2 years 10 months ago #18507 by Chris
It looks like whatever fix you put in place worked. Is it possible to detail what you did so the forum knows what to do? That would have helped a lot when I was researching initially. Most responses are generic and do not offer any solution.

Please Log in or Create an account to join the conversation.

More
2 years 10 months ago #18518 by HaiND
Hi
Thank you for feedback us
I apologize for not providing the solution here, because all the problems have the same name but when I check it there are different conflicts with your templates or a certain extension
with probelm "PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in HOMEPATH/public_html/modules/mod_jux_facebook_events/events.php on line 26"
please go to source code:
../modules/JUX_facebook_events/events.php
find the line :
$json = file_get_contents($json_link);

and replace it with the following code

$ch = curl_init($json_link);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
$json = curl_exec($ch);
curl_close($ch);

Hope it will help you
Thanks

Best Regards
--HaiND--
The following user(s) said Thank You: Chris

Please Log in or Create an account to join the conversation.

Time to create page: 0.055 seconds
Powered by Kunena Forum