| Post |
|
Guest
| Jules 1:13 pm January 9, 2009
| |
|
|
I'm getting the following error when trying to insert a form into the page using the Tiny MCE button.
Warning: require_once(/server/path/to/WP/wp-blog-header.php) [function.require-once]: failed to open stream: No such file or directory in /home1/customj1/public_html/wp-content/plugins/cforms/js/insertdialog25.php on line 9
Fatal error: require_once() [function.require]: Failed opening required '/server/path/to/WP/wp-blog-header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home1/customj1/public_html/wp-content/plugins/cforms/js/insertdialog25.php on line 9
Running 2.7 with WPRemix latest.
|
|
|
Admin
| Oliver Munich, Germany posts 6237 6:59 pm January 9, 2009
| |
|
|
is abspath.php in your cforms folder and is the content correct?
|
|
|
|
|
Guest
| Jules 7:42 pm January 9, 2009
| |
|
|
Hi Yes it is, content cut and pasted as per your post.
|
|
|
Admin
| Oliver Munich, Germany posts 6237 8:27 pm January 9, 2009
| |
|
|
why would it then result in an error trying to load 'wp-blog-header.php' ?
can you double check the full path…
|
|
|
|
|
Guest
| Jules 10:30 pm January 9, 2009
| |
|
|
OK So made the change that you hinted at!
This is what i Have in abspath.php now which is in public_html/plugins/cforms
<?php $abspath = '/home1/customj1/public_html/wp-blog-header.php'; ?>
I get this message now:
Warning: require_once(/home1/customj1/public_html/wp-blog-header.phpwp-blog-header.php) [function.require-once]: failed to open stream: No such file or directory in /home1/customj1/public_html/wp-content/plugins/cforms/js/insertdialog25.php on line 9
Fatal error: require_once() [function.require]: Failed opening required '/home1/customj1/public_html/wp-blog-header.phpwp-blog-header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home1/customj1/public_html/wp-content/plugins/cforms/js/insertdialog25.php on line 9
|
|
|
Admin
| Oliver Munich, Germany posts 6237 12:25 pm January 10, 2009
| |
|
|
abspath is supposed to be a path, not a path+filename. it should point to the folder where e.g. wp-blog-header.php resides in.
|
|
|
|
|
Guest
| Julles 7:10 pm January 10, 2009
| |
|
|
Great that solved.
Thanks for good support and great plugin. Once the site is money, a decent donation coming your way.
|
|