Thread Starter
Anonymous User 16759664
(@anonymized-16759664)
Screen shot of custom site map setting you asked about
https://snipboard.io/XiR5zP.jpg
Plugin Support
qtwrk
(@qtwrk)
Now could you please try this one ?
<?php
$a = file_get_contents( 'https://photoboothframesusa.com/sitemaps.xml' );
$b = simplexml_load_string($a);
var_dump($a, $b, !$b);
?>
Best regards,
Thread Starter
Anonymous User 16759664
(@anonymized-16759664)
bool(false) bool(false) bool(true)
Plugin Support
qtwrk
(@qtwrk)
Hi,
Now could you please try this
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://photoboothframesusa.com/sitemaps.xml");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$output = curl_exec($ch);
$err = curl_error($ch);
var_dump($output,$err);
curl_close($ch);
?>
and post result
Best regards,
Thread Starter
Anonymous User 16759664
(@anonymized-16759664)
Plugin Support
qtwrk
(@qtwrk)
Hi,
OK , now could you please create a phpinfo page , code :
<?php
phpinfo();
then search for “allow_url_fopen” , is it ON or OFF ?
Best regards,
Thread Starter
Anonymous User 16759664
(@anonymized-16759664)
Plugin Support
qtwrk
(@qtwrk)
Hi,
yeah , that might be the reason.
that setting needs to be ON
if you don’t know how to change it , please contact your hosting provider and kindly ask them to enable it for you
Best regards,
Thread Starter
Anonymous User 16759664
(@anonymized-16759664)
It’s on now but still not reading my sitemap
https://snipboard.io/PpsgCO.jpg
My hosting enabled it for me but advised it’s bad for security to leave it on.
Plugin Support
qtwrk
(@qtwrk)
Hi,
now could you pleae try again this script and see what is result ?
<?php
$a = file_get_contents( ‘https://photoboothframesusa.com/sitemaps.xml’ );
$b = simplexml_load_string($a);
var_dump($a, $b, !$b);
Best regards,
Thread Starter
Anonymous User 16759664
(@anonymized-16759664)
It’s
bool(false) bool(false) bool(true)
Plugin Support
qtwrk
(@qtwrk)
Hi,
no , sorry , I forgot the quote the code , it has not-code string in above reply , please try this
<?php
$a = file_get_contents( 'https://photoboothframesusa.com/sitemaps.xml' );
$b = simplexml_load_string($a);
var_dump($a, $b, !$b);
Thread Starter
Anonymous User 16759664
(@anonymized-16759664)
Yes that’s the code I ran. It’s the same code you gave me to run earlier in the post. Same output
Plugin Support
qtwrk
(@qtwrk)
Hi,
OK , then please contact your provider for further assistance.
Please verify by phpinfo page that allow_fopen_url is still ON ?
and the expected result as follows

if it gives you “bool(false) bool(false) bool(true)” , that means your provider set some restriction and limitation on PHP functionality that forbids it to load content from remote.
Best regards,