You are here:  » could not open...


could not open...

Submitted by vangru on Wed, 2015-10-07 21:53 in

Hi,

I just buy your plugin and i have some problem to use it! When i put my link on your "online demo", everything is ok. But when i try to use it on my server, something is wrong.

This is the code:

<?php
  
require("MagicParser.php");
  
$url "{link saved}";
  function 
myRecordHandler($record)
  {
    
print_r($record);
  }
  
$result MagicParser_parse($url,"myRecordHandler");
  if (!
$result)
  {
    print 
MagicParser_getErrorMessage();
  }
?>

And the result is:

could not open {link saved}

I dont understand why.
Can you help me?

Kind regards

Oliver

Submitted by support on Thu, 2015-10-08 07:18

Hello Oliver and welcome to the forum!

The URL in your code is actually returning 404 Not Found, but as you're saying it worked using the demo tool, this may just be down to a mis-copy into the test script, maybe due to encoding within the address bar by the web browser.

Please could you submit a Get It Coded request with the default request of "Display contents as an HTML document" and that will submit the URL to me and I can will check it out further for you and reply with a working test script...

Thanks!
David
--
MagicParser.com

Submitted by vangru on Mon, 2015-10-12 17:24

Done!

Submitted by support on Mon, 2015-10-12 17:28

Thanks!

I've received the request and I'll follow up by email with you.

Cheers,
David
--
MagicParser.com