Hi David
Just trying to get up and running using a different host and a new installation of PT
I've tried as far as I can remember to set up as previous installations.
But now that I'm trying to include the price comparison calling code, I'm getting the following warning
Warning: main(/home/sites/********/public_html/external.php) [function.main]: failed to open stream: No such file or directory in /home/sites/********/public_html/filename.php on line 66
I have used the external.php from an existing installation which I'm not sure has any bearing? and have used the whereami.php to get the path.
Can you please give me an idea of where I'm going wrong?
Regards
Paul
Hi David,
Checked and is definitely there, though I took the file from one of the other PT installations I have, which to be fair has been amended on several occasions, but I would have thought that would not have had an impact, just in case I then uploaded my original external.php, and got the same warning message.
The calling code I'm using is
<?php
$external_baseHREF = "{saved}";
$external_path = "{saved}";
$_GET["product"] = "Nintendo DS Console";
require($external_path."external.php");
?>
As we determined yesterday , the installation is in the root of this domain...
Don't know whether that gives any pointers at all?
Cheers
Paul
Hi Paul,
I wonder if it's something to do with open file restrictions on this server. Instead of:
require($external_path."external.php");
...try just:
require("external.php");
Cheers,
David.
Hi David,
I'm afraid that doesn't seem to work...
Regards
Paul
Hi Paul,
Can you double check that it is not the same issue as before in that external.php has somehow not been uploaded (missed out of FTP just like search.php was) - that's the most likely situation assuming that the path you see in /home/sites/.... is correct...
Cheers,
David.