XHanch Studio Log in | Register | Cart

Forum

Notifications
Clear all

[Solved] Warning due to new index.html files [Xhanch - My Twitter - 2.6.8]

3 Posts
2 Users
0 Reactions
18.3 K Views
(@josklever)
Posts: 2
New Member
Topic starter
 

Problem:
After installing version 2.6.8 of your plugin my sites showed warnings on various places. On top of the site, dashboard, login page etc.
This is the code in the source that shouldn't be there (at top of the page above <html> tag).

<br />
<b>Warning</b>:  file_exists() [<a href="'function.file-exists'>function.file-exists</a>"]: open_basedir restriction in effect. File(/home/josklever/domains/josklever.nl/public_html/wp-content/plugins/xhanch-my-twitter/theme/index.html/conf.php) is not within the allowed path(s): (/home/josklever/:/tmp:/var/tmp:/usr/local/lib/php/) in <b>/home/josklever/domains/josklever.nl/public_html/wp-content/plugins/xhanch-my-twitter/xhanch-my-twitter.php</b> on line <b>86</b><br />

Workaround:
I read that you placed a file index.html in every folder as a security measure, so I tried to rename it in the folder "/domains/josklever.nl/public_html/wp-content/plugins/xhanch-my-twitter/theme" based on the error message. The part of the error changed from ".../index.html/..." to ".../index.bak/..." so I decided to delete the file completely. After deletion I couldn't find any more errors.

More info:
I already applied the workaround to all my sites, so I can't show you an example, but if you can't reproduce this error I can create a test site for research.

 
Posted : 15/03/2012 5:34 pm
XHanch
(@xhanch-alt)
Posts: 2105
Member Admin
 

I see. You got that warning because you have open_basedir restriction enabled.
I've fixed this issue.
http://forum.xhanch.com/index.php/topic,2658.0.html

 
Posted : 15/03/2012 6:46 pm
(@josklever)
Posts: 2
New Member
Topic starter
 

It works fine now. Thanks for the quick response!

 
Posted : 15/03/2012 7:33 pm
Share:

× Close Menu