Fatal error: Call to undefined method ProtocolFieldCriteria:
Brought to you by:
secureideas,
sinukas
Fatal error: Call to undefined method ProtocolFieldCriteria::ProtocolFieldCriteria() in /usr/local/apache2/htdocs/base-1.4.4/includes/base_state_citems.inc.php on line 1113
pretty much anywhere i click on front end i get following error
alexus# /usr/local/apache2/bin/httpd -v
Server version: Apache/2.2.11 (Unix)
Server built: Dec 4 2009 18:45:39
alexus# php -v
PHP 5.3.1 (cli) (built: Dec 4 2009 19:37:45)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies
alexus# uname -a
FreeBSD alexus.nyqex.com 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
alexus#
Hello,
this should be fixed in CVS.
Bye, bye
Juergen
yours CVS snapshot link on front page is broken
http://base.secureideas.net/snapshots.php
link to CVS snapshot is dead
http://base.secureideas.net/snapshots.php
Same problem here, and can't pull a snapshot as several below have mentioned...
similar problem.
Same version of PHP. Web server is Apache/2.2.14
similar problem.
Same version of PHP. Web server is Apache/2.2.14
also tried BASE 1.4.3.1
same result
Here is my fix:
I fixed this class in
/includes/base_state_citems.inc.php
I could not find the CVS fix. :(
class ProtocolFieldCriteria extends MultipleElementCriteria
{
function ProtocolFieldCriteria(&$db, &$cs, $export_name, $element_cnt, $field_list = Array() )
{
$tdb =& $db;
$cs =& $cs;
parent::MultipleElementCriteria($tdb, $cs, $export_name, $element_cnt,$field_list);
}
function SanitizeElement($i)
{
// Make a copy of the element array
$curArr = $this->criteria[$i];
// Sanitize the element
$this->criteria[$i][0] = @CleanVariable($curArr[0], VAR_OPAREN);
$this->criteria[$i][1] = @CleanVariable($curArr[1], "", array_keys($this->valid_field_list));
$this->criteria[$i][2] = @CleanVariable($curArr[2], "", array("=", "!=", "<", "<=", ">", ">="));
$this->criteria[$i][3] = @CleanVariable($curArr[3], VAR_DIGIT);
$this->criteria[$i][4] = @CleanVariable($curArr[4], VAR_OPAREN | VAR_CPAREN);
$this->criteria[$i][5] = @CleanVariable($curArr[5], "", array("AND", "OR"));
// Destroy the copy
unset($curArr);
}
function Description($human_fields)
{
$tmp = "";
for ( $i = 0; $i < $this->criteria_cnt; $i++ )
{
if (is_array($this->criteria[$i]))
if ($this->criteria[$i][1] != " " && $this->criteria[$i][3] != "" )
$tmp = $tmp.$this->criteria[$i][0].$human_fields[($this->criteria[$i][1])].' '.
$this->criteria[$i][2].' '.$this->criteria[$i][3].$this->criteria[$i][4].' '.$this->criteria[$i][5];
}
if ( $tmp != "" )
$tmp = $tmp.$this->cs->GetClearCriteriaString($this->export_name);
return $tmp;
}
}
Ok, Silly me, the CVS tab was on this same page:
http://secureideas.cvs.sourceforge.net/viewvc/secureideas/base-php4/includes/base_state_citems.inc.php?revision=1.37&view=markup
if you want the real fix.
Mark
Good soft structures can also be bought on the swap for less than a Bjorn. ergo baby carrier http://www.ergobabycarrier4u.com/ <a href="http://www.ergobabycarrier4u.com/" title="ergo baby carrier">ergo baby carrier</a>
Run the ball a little bit that means. I'm not as that is much of a fan is I want a route and end and want to root for Tony Romo. There's almost how do you throw that ball there's no under underneath Bob carper there was wild over him there there was no receiver in that area to controlled by the copper and try to get overly Justin has. [url=http://www.forum-gorzow.pl/wydarzenia/98-zpolski/595-minizuzel-w-wawrowie]http://www.forum-gorzow.pl/wydarzenia/98-zpolski/595-minizuzel-w-wawrowie[/url]
SourceForge.net: BASE: Detail: 2919599 - Fatal error: Call to undefined method ProtocolFieldCriteria: <a href="http://www.debtsolutionsofcanada.ca/node/45#comment-369234" title="But is the situation ever really going to change">But is the situation ever really going to change</a>
SourceForge.net: BASE: Detail: 2919599 - Fatal error: Call to undefined method ProtocolFieldCriteria: <a href="http://www.netguruonline.com/what-to-do-when-virus-attack-mobile-phone-phone-book-will-be-missing-in-the-nokia-mobile-when-virus-attacks-it/" title="http://www.netguruonline.com/what-to-do-when-virus-attack-mobile-phone-phone-book-will-be-missing-in-the-nokia-mobile-when-virus-attacks-it/">http://www.netguruonline.com/what-to-do-when-virus-attack-mobile-phone-phone-book-will-be-missing-in-the-nokia-mobile-when-virus-attacks-it/</a>