Bugs » File Inclusion Error

added on Nov 15, 2007 by Ehsen
I want to integrate linkex in wordpress. I got the following error when I try to do that

Warning: include(\linkex\data\output@2) [function.include]: failed to open stream: No such file or directory in
F:\Test\blog\wp-content\themes\wrastle-10\sidebar.php on line 12

Warning: include() [function.include]: Failed opening '\linkex\data\output@2' for inclusion
(include_path='.;C:\php5\pear') in F:\Test\blog\wp-content\themes\wrastle-10\sidebar.php on line 12

I just don't understand where "@2" comes from at the end of output folder.

added on Nov 16, 2007 by v0id
yeah that @2 looks pretty strange.

Can you please copy paste the code you're using to include the file?

It seems that you have a leading \ I'm not sure it's necessary

- v0id
added on Nov 16, 2007 by Ehsen
Here is the complete code of my sidebar

<li><h2>Friends</h2>
<ul>
<?php include( "linkex\data\output\1002" ); ?>
</ul>
</li>

</ul>

Are you sure it could be due to my computer. Currently I am using this script on my computer with php5 and apache 2.2.6.

Add reply

This thread has been inactive for more than 14 days, so it has been locked.

Feel free to create a new thread with your questions.