added on Aug 24, 2011 by
Hi,
the script will not work - on my PHP site: http://144i.com/marketplace/content/link-exchange1.html
Code:
<!--?php include( "http://144i.com/linkex/data/output/1001" ); ?-->
I never get: <!-- Output generated by LinkEX (+http://linkex.dk/) -->.
??? Please support me!
THX
Robert
added on Aug 24, 2011 by
Hey,
where did you find that code to include?
Problem is that you're are trying to include a file on a static page
(http://144i.com/marketplace/content/link-exchange1.html)
Change link-exchange1.html into link-exchange1.php
and add this code:
<?php include("../../linkex/data/output/1001"); ?>
it would be better to use the complete path to the file, but I don't know your server, so can't tell you the full path,
but the above should do the trick.
added on Aug 24, 2011 by
of course !! i looked over..
But now i get the error:
Warning: include() [function.include]: URL file-access is disabled in the server configuration in
/data/web/e22257/html/marketplace/links/link_exchange.php on line 318
Warning: include(http://144i/linkex/data/output/1004) [function.include]: failed to open stream: no suitable wrapper
could be found in /data/web/e22257/html/marketplace/links/link_exchange.php on line 318
Warning: include() [function.include]: Failed opening 'http://144i/linkex/data/output/1004' for inclusion
(include_path='.:/usr/share/php:/usr/share/pear') in /data/web/e22257/html/marketplace/links/link_exchange.php on line
318
Warning: include() [function.include]: URL file-access is disabled in the server configuration in
/data/web/e22257/html/marketplace/links/link_exchange.php on line 319
---------------------------------------
My code looks like this:
<?php include( "http://144i/linkex/data/output/1004");?>
<?php include ("http://144i/linkex/data/output/1030");?>
<?php include (" http://144i/linkex/data/output/1005 ");?>
Output page:
http://144i.com/marketplace/links/link_exchange.php
added on Aug 24, 2011 by
Change your include code to:
<?php include ("/data/web/e22257/html/linkex/data/output/1004"); ?>
<?php include ("/data/web/e22257/html/linkex/data/output/1030"); ?>
<?php include ("/data/web/e22257/html//linkex/data/output/1005"); ?>
added on Aug 25, 2011 by
i changed the path, but now the error:
Why?
Warning: include( /data/web/e22257/html/linkex/data/output/1005 ) [function.include]: failed to open stream: No such
file or directory in /data/web/e22257/html/marketplace/links/link_exchange.php on line 320
Warning: include( /data/web/e22257/html/linkex/data/output/1005 ) [function.include]: failed to open stream: No such
file or directory in /data/web/e22257/html/marketplace/links/link_exchange.php on line 320
Warning: include() [function.include]: Failed opening ' /data/web/e22257/html/linkex/data/output/1005 ' for inclusion
(include_path='.:/usr/share/php:/usr/share/pear') in /data/web/e22257/html/marketplace/links/link_exchange.php on line
320
Warning: include( /data/web/e22257/html/linkex/data/output/1013 ) [function.include]: failed to open stream: No such
file or directory in /data/web/e22257/html/marketplace/links/link_exchange.php on line 321
added on Aug 25, 2011 by
i'd a look into /output/data, here is the link to a foreign domain:
linkex is hostet on domain 144i.com - the entry show's zinseszins.net
Whats wrong???
---------------------------
<!-- Output generated by LinkEX (+http://linkex.dk/) -->
<a href="http://www.zinseszins.net" title="MTN & PPP">MTN &
PPP</a> MTN's (Seasoned & Slightly Seasoned) Wholesale Transactions
Fully Managed MTN Buy/Sell,
BG's, SBLC, CD's, POF, CMO's PPP
added on Aug 25, 2011 by
..sorry the post before isn't of significant
i noticed the foreign link was a test entry...
but i still get error :
Warning: include( /data/web/e22257/html/linkex/data/output/1005 ) [function.include]: failed to open stream: No such
file or directory in /data/web/e22257/html/marketplace/links/link_exchange.php on line 320
added on Aug 25, 2011 by
i tried to change CHMOD - also no solution
now i've set folder to 755 & file "link_exchange.php" to 644 - should be right?
i can't find the bug
added on Aug 25, 2011 by
ok i found the error:
My editor automatically entered a space in the code....!! :-(
Now it works fine! THX for support