arjun279
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WP 2.7 – include_once() Errors After Plugin Install/UninstallHi Stvwlf,
I have a same problem what asechrest had. But, as you suggested him, I don’t have admin folder or plgun with that name in specified directory. I did install and uninstall plugins previously. I am using exec-php plugin to execute php scripts in my web pages. PHP scripts excecute fine if I have simple code, but when I include include_once function, I get an error exactly what asechrest got.
I am using simplepie plugin to feed content from RSS feeds. The simplepie.inc is a required file and it is located in following absolute path.
/public_html/transgeeks/quicknews/php/simplepie.inc
I am using PHP script like this
include_once $_SERVER[‘DOCUMENT_ROOT’].’/php/simplepie.inc’;
because quicknews is my document root.
When I run this script, I don’t get any path related errors. I get an error like this.Warning: include_once(/home/expertsh/public_html/transgeeks/php/simplepie.inc) [function.include-once]: failed to open stream: No such file or directory in /home/expertsh/public_html/transgeeks/quicknews/wp-content/plugins/exec-php/includes/runtime.php(42) : eval()’d code on line 4
Warning: include_once() [function.include]: Failed opening ‘/home/expertsh/public_html/transgeeks/php/simplepie.inc’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/expertsh/public_html/transgeeks/quicknews/wp-content/plugins/exec-php/includes/runtime.php(42) : eval()’d code on line 4
// feed urlAny idea what is happening?
Thanks in advance.
-Kenchappagoudra