vinpkl Posted April 7, 2014 Share Posted April 7, 2014 Hi allThis is the below error which is getting logged in the error log file PHP Warning: require_once() [<a href='function.require-once'>function.require-once</a>]: URL file-access is disabled in the server configuration in on line 10 PHP Warning: require_once(http://www.domain.com/paypal.inc.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: no suitable wrapper could be found in ipn.php on line 10 PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'http://domain.com/paypal.inc.php' (include_path='.:/php') on line 10 Below code is on line 10 in ipn.php require_once 'http://www.domain.com/paypal.inc.php'; what can be the problem ? thanks vineet Quote Link to comment Share on other sites More sharing options...
ginerjm Posted April 7, 2014 Share Posted April 7, 2014 The message is quite direct. It's telling you that the php install/config you are using does not allow includes (requires) specifying a url. You can only include files that are part your your filesystem, not from the web. If this module is truly something within your filesystem, then point to it that way, not as a url. Quote Link to comment Share on other sites More sharing options...
vinpkl Posted April 7, 2014 Author Share Posted April 7, 2014 The message is quite direct. It's telling you that the php install/config you are using does not allow includes (requires) specifying a url. You can only include files that are part your your filesystem, not from the web. If this module is truly something within your filesystem, then point to it that way, not as a url. Hi thanks for the reply. I would like to know Is IPN Compulsory for paypal script to work and complete transaction ? Can we complete paypal payment transaction without IPN Script ? Vineet Quote Link to comment Share on other sites More sharing options...
ginerjm Posted April 7, 2014 Share Posted April 7, 2014 I have no idea what you are talking about. You asked about an error message - I deciphered it for you. Quote Link to comment Share on other sites More sharing options...
vinpkl Posted April 7, 2014 Author Share Posted April 7, 2014 I have no idea what you are talking about. You asked about an error message - I deciphered it for you. Hi no problem. May be someone who has worked with paypal script will able to help me thanks vineet Quote Link to comment Share on other sites More sharing options...
mac_gyver Posted April 7, 2014 Share Posted April 7, 2014 the problem isn't the paypal script. it's how you are trying to include the file. you are trying to use the URL of that file. that won't work for two reasons - 1) your server is configured so that you cannot use a URL in an include statement. 2) if your server did allow a URL to be used in an include statement, only the output from that file would included. the php code would not be included. to include the php code in that file, you must use a file system path on your server, NOT a URL. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.