| Post |
|
New Member | MeltonCartes posts 1 2:14 am May 7, 2009
| |
|
|
One of my sites disappeared until I turned off cForms and downgraded to 10.4.
Another site is giving me this error: Fatal error: Call to undefined function check_post_vars() in/home1/gaycoupl/public_html/misskimbelry/wp-content/plugins/cforms/cforms.php on line689
The layout on that page is broken due to the error (apparently).
My host (BlueHost) runs PHP 5.2.9.
Any help is appreciated.
mc
|
|
|
Admin
| Oliver Munich, Germany posts 6237 7:06 am May 7, 2009
| |
|
|
Does 10.4 work on that site then?
Chances are it is PHP 4 then that is active. I've seen this a lot where users were convinced that their server was on PHP5 and in fact it was still running v4.
|
|
|
|
|
Guest
| Chris L 10:02 pm May 8, 2009
| |
|
|
I'm having the same problem with my contact form page and am also running php 5.2.9 — the form is (should be) here:
http://washyourbowl.com/blog/contact
phpinfo for the server:
http://washyourbowl.com/info.php
The form was working before I upgraded to 10.5.1
|
|
|
Admin
| Oliver Munich, Germany posts 6237 8:29 am May 9, 2009
| |
|
|
I didn't see the 'Fatal error: Call to undefined function check_post_vars()' on your site.
Do you run any other plugins that may use up your PHP MEM?
Can you try and bump up the PHP MEM allocation?
|
|
|
|
|
Guest
| Chris L 2:32 am May 11, 2009
| |
|
|
That's because I don't display errors to users (for obvious Reasons) but that is the error in the log file.
I doubled the memory to 128M and same problem.
This occurs with all other plugins turned off, so it isn't due to another plugin.
|
|
|
Guest
| Chris L 2:34 am May 11, 2009
| |
|
|
The complete error, just to verify for you:
PHP Fatal error: Call to undefined function check_post_vars() in /var/www/vhosts/washyourbowl.com/httpdocs/blog/wp-content/plugins/cforms/cforms.php on line 689, referer: http://washyourbowl.com/blog/contact
c
|
|
|
Admin
| Oliver Munich, Germany posts 6237 6:57 am May 11, 2009
| |
|
|
then the only other reason I could see that your cforms install is corrupt.
|
|
|
|
|
Guest
| Chris L 9:57 am May 11, 2009
| |
|
|
Well, I've wiped it and installed from scratch… same problem. I don't have a problem with 10.5, it only occurs after the 10.5.1 patch is applied.
I'll test on a second server and report if there is any improvement. If not, I'll just switch to a different plugin.
|
|
|
New Member | hedu posts 4 10:38 am May 13, 2009
| |
|
|
For me 10.5.1 is broken, too. It is not possible to edit field properties. The layer containing the various fields appears for a few seconds and disappears again. No chance to do something.
I downgraded to 10.5, which made me able to edit field properties.
|
|
|
Guest
| http://mp3spirit.com 2:02 pm May 14, 2009
| |
|
|
Inlcude function above into lib_aux.php
### check for post custom fields in string function check_post_vars($fv){ preg_match_all('/\\\\{([^\\\\{]+)\\\\}/',$fv,$fall);
if ( count($fall[1]) > 0 ) {
$custArr = get_post_custom( get_the_ID() ); foreach ( $fall[1] as $fvar ) { if( $custArr[$fvar][0] <> '') $fv = str_replace('{'.$fvar.'}', $custArr[$fvar][0], $fv); }
} return $fv; }
//*** click on http://mp3spirit.com **/
|
|