A function name was passed that is not allowed to execute on this server

View: New views
15 Messages — Rating Filter:   Alert me  

A function name was passed that is not allowed to execute on this server

by Saeven :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi Everyone,
 
  Attempting to implement CPAINT to replace XAJAX to see if CPAINT doesn't cause IE to explode (as XAJAX does) - I'm running into this hurdle:
 
'A function name was passed that is not allowed to execute on this server.'
 
   What could common causes to this be?  I'm sure it's something slight..  here's what I have thus far:
 
in the header:
 
<script type="text/javascript" src="templates/system/includes/cpaint2.inc.compressed.js"></script>
						<script type="text/javascript">
						<!--
							var cp = new cpaint();
						//-->
						</script>
 
in the PHP code:
$ajax = new cpaint();
$ajax->register( 'ticketSearchResult' );
$ajax->start();
$ajax->return_data();
 
 
 
Nothing else has been added anywhere, no calls to ticketSearchResults are yet made.
 

Re: A function name was passed that is not allowed to execute on this server

by Paul Sullivan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Are you trying to call the PHP file manually (in your browser?)  If
so, you will get that error.

On 9/9/05, S. Alexandre M. Lemaire <saeven@...> wrote:

> Hi Everyone,
>  
>   Attempting to implement CPAINT to replace XAJAX to see if CPAINT doesn't
> cause IE to explode (as XAJAX does) - I'm running into this hurdle:
>  
> 'A function name was passed that is not allowed to execute on this server.'
>  
>    What could common causes to this be?  I'm sure it's something slight..
> here's what I have thus far:
>  
> in the header:
>  <script type="text/javascript"
> src="templates/system/includes/cpaint2.inc.compressed.js"></script>
> <script type="text/javascript">
 <!--
 var cp = new cpaint();
 //-->

> </script>
>  
> in the PHP code:
> $ajax = new cpaint();
> $ajax->register( 'ticketSearchResult' );
> $ajax->start();
> $ajax->return_data();
>  
>  
>  
> Nothing else has been added anywhere, no calls to ticketSearchResults are
> yet made.
>  
>


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Cpaint-developers mailing list
Cpaint-developers@...
https://lists.sourceforge.net/lists/listinfo/cpaint-developers

Re: A function name was passed that is not allowed to execute on this server

by Saeven :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Paul,

     I think I got model confusion in this case..  The PHP file that
contains the ajax functions cannot exist in the set of files included by the
page being served which uses this function?

Thanks.
Alexandre

----- Original Message -----
From: "Paul Sullivan" <wiley14@...>
To: <cpaint-developers@...>
Sent: Friday, September 09, 2005 2:26 PM
Subject: Re: [Cpaint-developers] A function name was passed that is not
allowed to execute on this server


Are you trying to call the PHP file manually (in your browser?)  If
so, you will get that error.

On 9/9/05, S. Alexandre M. Lemaire <saeven@...> wrote:
> Hi Everyone,
>
>   Attempting to implement CPAINT to replace XAJAX to see if CPAINT doesn't
> cause IE to explode (as XAJAX does) - I'm running into this hurdle:
>
> 'A function name was passed that is not allowed to execute on this
server.'
>
>    What could common causes to this be?  I'm sure it's something slight..
> here's what I have thus far:
>
> in the header:
>  <script type="text/javascript"
> src="templates/system/includes/cpaint2.inc.compressed.js"></script>
> <script type="text/javascript">
 <!--
 var cp = new cpaint();
 //-->

> </script>
>
> in the PHP code:
> $ajax = new cpaint();
> $ajax->register( 'ticketSearchResult' );
> $ajax->start();
> $ajax->return_data();
>
>
>
> Nothing else has been added anywhere, no calls to ticketSearchResults are
> yet made.
>
>


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Cpaint-developers mailing list
Cpaint-developers@...
https://lists.sourceforge.net/lists/listinfo/cpaint-developers




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Cpaint-developers mailing list
Cpaint-developers@...
https://lists.sourceforge.net/lists/listinfo/cpaint-developers

Re: A function name was passed that is not allowed to execute on this server

by Paul Sullivan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Theoretically, it can, but we haven't tried.  Our thinking is it was
best to separate the two.

On 9/9/05, S. Alexandre M. Lemaire <saeven@...> wrote:

> Hi Paul,
>
>     I think I got model confusion in this case..  The PHP file that
> contains the ajax functions cannot exist in the set of files included by the
> page being served which uses this function?
>
> Thanks.
> Alexandre
>
> ----- Original Message -----
> From: "Paul Sullivan" <wiley14@...>
> To: <cpaint-developers@...>
> Sent: Friday, September 09, 2005 2:26 PM
> Subject: Re: [Cpaint-developers] A function name was passed that is not
> allowed to execute on this server
>
>
> Are you trying to call the PHP file manually (in your browser?)  If
> so, you will get that error.
>
> On 9/9/05, S. Alexandre M. Lemaire <saeven@...> wrote:
> > Hi Everyone,
> >
> >   Attempting to implement CPAINT to replace XAJAX to see if CPAINT doesn't
> > cause IE to explode (as XAJAX does) - I'm running into this hurdle:
> >
> > 'A function name was passed that is not allowed to execute on this
> server.'
> >
> >    What could common causes to this be?  I'm sure it's something slight..
> > here's what I have thus far:
> >
> > in the header:
> >  <script type="text/javascript"
> > src="templates/system/includes/cpaint2.inc.compressed.js"></script>
> > <script type="text/javascript">
>  <!--
>  var cp = new cpaint();
>  //-->
> > </script>
> >
> > in the PHP code:
> > $ajax = new cpaint();
> > $ajax->register( 'ticketSearchResult' );
> > $ajax->start();
> > $ajax->return_data();
> >
> >
> >
> > Nothing else has been added anywhere, no calls to ticketSearchResults are
> > yet made.
> >
> >
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Cpaint-developers mailing list
> Cpaint-developers@...
> https://lists.sourceforge.net/lists/listinfo/cpaint-developers
>
>
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Cpaint-developers mailing list
> Cpaint-developers@...
> https://lists.sourceforge.net/lists/listinfo/cpaint-developers
>


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Cpaint-developers mailing list
Cpaint-developers@...
https://lists.sourceforge.net/lists/listinfo/cpaint-developers

Re: A function name was passed that is not allowed to execute on this server

by Saeven :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Ok - I can see why this would bug out then, since the $cpaint->start(); function is being executed when I suppose no user function requests are present in GET/POST.  Let's see what I can cook up.
 
Thanks.
 
 
----- Original Message -----
From: "Paul Sullivan" <wiley14@...>
Sent: Friday, September 09, 2005 2:39 PM
Subject: Re: [Cpaint-developers] A function name was passed that is not allowed to execute on this server

Theoretically, it can, but we haven't tried.  Our thinking is it was
best to separate the two.

On 9/9/05, S. Alexandre M. Lemaire <
saeven@...> wrote:

> Hi Paul,
>
>     I think I got model confusion in this case..  The PHP file that
> contains the ajax functions cannot exist in the set of files included by the
> page being served which uses this function?
>
> Thanks.
> Alexandre
>
> ----- Original Message -----
> From: "Paul Sullivan" <
wiley14@...>
> To: <
cpaint-developers@...>
> Sent: Friday, September 09, 2005 2:26 PM
> Subject: Re: [Cpaint-developers] A function name was passed that is not
> allowed to execute on this server
>
>
> Are you trying to call the PHP file manually (in your browser?)  If
> so, you will get that error.
>
> On 9/9/05, S. Alexandre M. Lemaire <
saeven@...> wrote:
> > Hi Everyone,
> >
> >   Attempting to implement CPAINT to replace XAJAX to see if CPAINT doesn't
> > cause IE to explode (as XAJAX does) - I'm running into this hurdle:
> >
> > 'A function name was passed that is not allowed to execute on this
> server.'
> >
> >    What could common causes to this be?  I'm sure it's something slight..
> > here's what I have thus far:
> >
> > in the header:
> >  <script type="text/javascript"
> > src="templates/system/includes/cpaint2.inc.compressed.js"></script>
> > <script type="text/javascript">
>  <!--
>  var cp = new cpaint();
>  //-->
> > </script>
> >
> > in the PHP code:
> > $ajax = new cpaint();
> > $ajax->register( 'ticketSearchResult' );
> > $ajax->start();
> > $ajax->return_data();
> >
> >
> >
> > Nothing else has been added anywhere, no calls to ticketSearchResults are
> > yet made.
> >
> >
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf
> _______________________________________________
> Cpaint-developers mailing list
>
Cpaint-developers@...
> https://lists.sourceforge.net/lists/listinfo/cpaint-developers
>
>
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf
> _______________________________________________
> Cpaint-developers mailing list
>
Cpaint-developers@...
> https://lists.sourceforge.net/lists/listinfo/cpaint-developers
>


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf
_______________________________________________
Cpaint-developers mailing list
Cpaint-developers@...
https://lists.sourceforge.net/lists/listinfo/cpaint-developers


Re: A function name was passed that is not allowed to execute on this server

by Saeven :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi Paul,
 
    If my PHP function defines this, and the return type is defaulted (the result object), how do I fetch searchResult from the javascript side?
 
  $result_node = &$ajax->add_node( "searchresult" );
  $result_node->set_data( "ABC" );
 
    result.get_attribute( 'searchresult' )  returns null...
    just result shows an object
 
    cpaint debug does show the value being returned though..
 
<script type="text/javascript">
<!--
var cp = new cpaint();
cp.set_transfer_mode('get');
cp.set_persistent_connection(false);
//-->
</script>
 function ticketSearch( str, value ){
  document.getElementById( 'ticketsearchresult' ).innerHTML = str;
  cp.call( 'ajaxproxy.php', 'ticketSearchResults', ticketSearchCALLBACK, value );
 }
 
 function ticketSearchCALLBACK( result ){
  alert( result.get_attribute( 'searchresult' ) );
  document.getElementById( 'ticketsearchresult' ).innerHTML = result.get_attribute( 'searchresult' );
 }
 
Thanks again.
Alex
 
 
 
----- Original Message -----
From: "Paul Sullivan" <wiley14@...>
Sent: Friday, September 09, 2005 2:39 PM
Subject: Re: [Cpaint-developers] A function name was passed that is not allowed to execute on this server

Theoretically, it can, but we haven't tried.  Our thinking is it was
best to separate the two.

On 9/9/05, S. Alexandre M. Lemaire <
saeven@...> wrote:

> Hi Paul,
>
>     I think I got model confusion in this case..  The PHP file that
> contains the ajax functions cannot exist in the set of files included by the
> page being served which uses this function?
>
> Thanks.
> Alexandre
>
> ----- Original Message -----
> From: "Paul Sullivan" <
wiley14@...>
> To: <
cpaint-developers@...>
> Sent: Friday, September 09, 2005 2:26 PM
> Subject: Re: [Cpaint-developers] A function name was passed that is not
> allowed to execute on this server
>
>
> Are you trying to call the PHP file manually (in your browser?)  If
> so, you will get that error.
>
> On 9/9/05, S. Alexandre M. Lemaire <
saeven@...> wrote:
> > Hi Everyone,
> >
> >   Attempting to implement CPAINT to replace XAJAX to see if CPAINT doesn't
> > cause IE to explode (as XAJAX does) - I'm running into this hurdle:
> >
> > 'A function name was passed that is not allowed to execute on this
> server.'
> >
> >    What could common causes to this be?  I'm sure it's something slight..
> > here's what I have thus far:
> >
> > in the header:
> >  <script type="text/javascript"
> > src="templates/system/includes/cpaint2.inc.compressed.js"></script>
> > <script type="text/javascript">
>  <!--
>  var cp = new cpaint();
>  //-->
> > </script>
> >
> > in the PHP code:
> > $ajax = new cpaint();
> > $ajax->register( 'ticketSearchResult' );
> > $ajax->start();
> > $ajax->return_data();
> >
> >
> >
> > Nothing else has been added anywhere, no calls to ticketSearchResults are
> > yet made.
> >
> >
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf
> _______________________________________________
> Cpaint-developers mailing list
>
Cpaint-developers@...
> https://lists.sourceforge.net/lists/listinfo/cpaint-developers
>
>
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf
> _______________________________________________
> Cpaint-developers mailing list
>
Cpaint-developers@...
> https://lists.sourceforge.net/lists/listinfo/cpaint-developers
>


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf
_______________________________________________
Cpaint-developers mailing list
Cpaint-developers@...
https://lists.sourceforge.net/lists/listinfo/cpaint-developers


Re: A function name was passed that is not allowed to execute on this server

by Dominique Stender :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

are you using the OBJECT response_type? If so, use
result.ajaxResponse[0].data;

Regards,
Dominique

--- "S. Alexandre M. Lemaire" <saeven@...>
wrote:

> Hi Paul,
>
>     If my PHP function defines this, and the return
> type is defaulted (the result object), how do I
> fetch searchResult from the javascript side?
>
>   $result_node = &$ajax->add_node( "searchresult" );
>   $result_node->set_data( "ABC" );
>
>     result.get_attribute( 'searchresult' )  returns
> null...
>     just result shows an object
>
>     cpaint debug does show the value being returned
> though..
>
> <script type="text/javascript">
> <!--
> var cp = new cpaint();
> cp.set_transfer_mode('get');
> cp.set_persistent_connection(false);
> //-->
> </script> function ticketSearch( str, value ){
>   document.getElementById( 'ticketsearchresult'
> ).innerHTML = str;
>   cp.call( 'ajaxproxy.php', 'ticketSearchResults',
> ticketSearchCALLBACK, value );
>  }
>  
>  function ticketSearchCALLBACK( result ){
>   alert( result.get_attribute( 'searchresult' ) );
>   document.getElementById( 'ticketsearchresult'
> ).innerHTML = result.get_attribute( 'searchresult'
> );
>  }
>
> Thanks again.
> Alex
>
>
>
> ----- Original Message -----
> From: "Paul Sullivan" <wiley14@...>
> To: <cpaint-developers@...>
> Sent: Friday, September 09, 2005 2:39 PM
> Subject: Re: [Cpaint-developers] A function name was
> passed that is not allowed to execute on this server
>
>
> Theoretically, it can, but we haven't tried.  Our
> thinking is it was
> best to separate the two.
>
> On 9/9/05, S. Alexandre M. Lemaire
> <saeven@...> wrote:
> > Hi Paul,
> >
> >     I think I got model confusion in this case..
> The PHP file that
> > contains the ajax functions cannot exist in the
> set of files included by the
> > page being served which uses this function?
> >
> > Thanks.
> > Alexandre
> >
> > ----- Original Message -----
> > From: "Paul Sullivan" <wiley14@...>
> > To: <cpaint-developers@...>
> > Sent: Friday, September 09, 2005 2:26 PM
> > Subject: Re: [Cpaint-developers] A function name
> was passed that is not
> > allowed to execute on this server
> >
> >
> > Are you trying to call the PHP file manually (in
> your browser?)  If
> > so, you will get that error.
> >
> > On 9/9/05, S. Alexandre M. Lemaire
> <saeven@...> wrote:
> > > Hi Everyone,
> > >
> > >   Attempting to implement CPAINT to replace
> XAJAX to see if CPAINT doesn't
> > > cause IE to explode (as XAJAX does) - I'm
> running into this hurdle:
> > >
> > > 'A function name was passed that is not allowed
> to execute on this
> > server.'
> > >
> > >    What could common causes to this be?  I'm
> sure it's something slight..
> > > here's what I have thus far:
> > >
> > > in the header:
> > >  <script type="text/javascript"
> > >
>
src="templates/system/includes/cpaint2.inc.compressed.js"></script>

> > > <script type="text/javascript">
> >  <!--
> >  var cp = new cpaint();
> >  //-->
> > > </script>
> > >
> > > in the PHP code:
> > > $ajax = new cpaint();
> > > $ajax->register( 'ticketSearchResult' );
> > > $ajax->start();
> > > $ajax->return_data();
> > >
> > >
> > >
> > > Nothing else has been added anywhere, no calls
> to ticketSearchResults are
> > > yet made.
> > >
> > >
> >
> >
> >
>
-------------------------------------------------------

> > SF.Net email is Sponsored by the Better Software
> Conference & EXPO
> > September 19-22, 2005 * San Francisco, CA *
> Development Lifecycle Practices
> > Agile & Plan-Driven Development * Managing
> Projects & Teams * Testing & QA
> > Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> > _______________________________________________
> > Cpaint-developers mailing list
> > Cpaint-developers@...
> >
>
https://lists.sourceforge.net/lists/listinfo/cpaint-developers
> >
> >
> >
> >
> >
>
-------------------------------------------------------

> > SF.Net email is Sponsored by the Better Software
> Conference & EXPO
> > September 19-22, 2005 * San Francisco, CA *
> Development Lifecycle Practices
> > Agile & Plan-Driven Development * Managing
> Projects & Teams * Testing & QA
> > Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> > _______________________________________________
> > Cpaint-developers mailing list
> > Cpaint-developers@...
> >
>
https://lists.sourceforge.net/lists/listinfo/cpaint-developers
> >
>
>
>
-------------------------------------------------------

> SF.Net email is Sponsored by the Better Software
> Conference & EXPO
> September 19-22, 2005 * San Francisco, CA *
> Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects
> & Teams * Testing & QA
> Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> _______________________________________________
> Cpaint-developers mailing list
> Cpaint-developers@...
>
https://lists.sourceforge.net/lists/listinfo/cpaint-developers
>
>



       
               
______________________________________________________
Click here to donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Cpaint-developers mailing list
Cpaint-developers@...
https://lists.sourceforge.net/lists/listinfo/cpaint-developers

Re: A function name was passed that is not allowed to execute on this server

by Dominique Stender :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

thanks for pointing out this issue. You're using the
PHP version of CPAINT in the backend?
If so, change line 149 in the cpaint2.inc.php file
from


to

} else if ($user_function != '') {

I've already fixed this in my current local
development version. CPAINT v2.0.2 will fix this.

Regards,
Dominique

--- "S. Alexandre M. Lemaire" <saeven@...>
wrote:

> Ok - I can see why this would bug out then, since
> the $cpaint->start(); function is being executed
> when I suppose no user function requests are present
> in GET/POST.  Let's see what I can cook up.
>
> Thanks.
>
>
> ----- Original Message -----
> From: "Paul Sullivan" <wiley14@...>
> To: <cpaint-developers@...>
> Sent: Friday, September 09, 2005 2:39 PM
> Subject: Re: [Cpaint-developers] A function name was
> passed that is not allowed to execute on this server
>
>
> Theoretically, it can, but we haven't tried.  Our
> thinking is it was
> best to separate the two.
>
> On 9/9/05, S. Alexandre M. Lemaire
> <saeven@...> wrote:
> > Hi Paul,
> >
> >     I think I got model confusion in this case..
> The PHP file that
> > contains the ajax functions cannot exist in the
> set of files included by the
> > page being served which uses this function?
> >
> > Thanks.
> > Alexandre
> >
> > ----- Original Message -----
> > From: "Paul Sullivan" <wiley14@...>
> > To: <cpaint-developers@...>
> > Sent: Friday, September 09, 2005 2:26 PM
> > Subject: Re: [Cpaint-developers] A function name
> was passed that is not
> > allowed to execute on this server
> >
> >
> > Are you trying to call the PHP file manually (in
> your browser?)  If
> > so, you will get that error.
> >
> > On 9/9/05, S. Alexandre M. Lemaire
> <saeven@...> wrote:
> > > Hi Everyone,
> > >
> > >   Attempting to implement CPAINT to replace
> XAJAX to see if CPAINT doesn't
> > > cause IE to explode (as XAJAX does) - I'm
> running into this hurdle:
> > >
> > > 'A function name was passed that is not allowed
> to execute on this
> > server.'
> > >
> > >    What could common causes to this be?  I'm
> sure it's something slight..
> > > here's what I have thus far:
> > >
> > > in the header:
> > >  <script type="text/javascript"
> > >
>
src="templates/system/includes/cpaint2.inc.compressed.js"></script>

> > > <script type="text/javascript">
> >  <!--
> >  var cp = new cpaint();
> >  //-->
> > > </script>
> > >
> > > in the PHP code:
> > > $ajax = new cpaint();
> > > $ajax->register( 'ticketSearchResult' );
> > > $ajax->start();
> > > $ajax->return_data();
> > >
> > >
> > >
> > > Nothing else has been added anywhere, no calls
> to ticketSearchResults are
> > > yet made.
> > >
> > >
> >
> >
> >
>
-------------------------------------------------------

> > SF.Net email is Sponsored by the Better Software
> Conference & EXPO
> > September 19-22, 2005 * San Francisco, CA *
> Development Lifecycle Practices
> > Agile & Plan-Driven Development * Managing
> Projects & Teams * Testing & QA
> > Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> > _______________________________________________
> > Cpaint-developers mailing list
> > Cpaint-developers@...
> >
>
https://lists.sourceforge.net/lists/listinfo/cpaint-developers
> >
> >
> >
> >
> >
>
-------------------------------------------------------

> > SF.Net email is Sponsored by the Better Software
> Conference & EXPO
> > September 19-22, 2005 * San Francisco, CA *
> Development Lifecycle Practices
> > Agile & Plan-Driven Development * Managing
> Projects & Teams * Testing & QA
> > Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> > _______________________________________________
> > Cpaint-developers mailing list
> > Cpaint-developers@...
> >
>
https://lists.sourceforge.net/lists/listinfo/cpaint-developers
> >
>
>
>
-------------------------------------------------------

> SF.Net email is Sponsored by the Better Software
> Conference & EXPO
> September 19-22, 2005 * San Francisco, CA *
> Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects
> & Teams * Testing & QA
> Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> _______________________________________________
> Cpaint-developers mailing list
> Cpaint-developers@...
>
https://lists.sourceforge.net/lists/listinfo/cpaint-developers
>
>



       
               
______________________________________________________
Click here to donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Cpaint-developers mailing list
Cpaint-developers@...
https://lists.sourceforge.net/lists/listinfo/cpaint-developers

Re: A function name was passed that is not allowed to execute on this server

by Dominique Stender :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Damn, this mail escaped me...

What I meant was: Change line 152 (not 149) in the
cpaint2.inc.php file from

} else {

to

} else if ($user_function != '') {

Sorry for the confusion and thanks again,
Dominique


       
               
______________________________________________________
Click here to donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Cpaint-developers mailing list
Cpaint-developers@...
https://lists.sourceforge.net/lists/listinfo/cpaint-developers

Re: A function name was passed that is not allowed to execute on this server

by Saeven :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Thanks - I'd done this myself as remedy simultaneously.
 
One more question if you can, how does one pass multiple values to an AJAX function, ex:
 
php function
 
function someFunc( $a, $b );
 
js function?
 
$a = '1';
$b = '2';
cp.call('somepage.php', 'someFunc',someFuncCallback, ... );
 
The frontend documentation doesn't make this very clear :)
 
Thanks.
A
 
 
----- Original Message -----
From: "Dominique Stender" <saloon12yrd@...>
Sent: Saturday, September 10, 2005 7:42 AM
Subject: Re: [Cpaint-developers] A function name was passed that is not allowed to execute on this server

Damn, this mail escaped me...

What I meant was: Change line 152 (not 149) in the
cpaint2.inc.php file from

} else {

to

} else if ($user_function != '') {

Sorry for the confusion and thanks again,
Dominique




______________________________________________________
Click here to donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf
_______________________________________________
Cpaint-developers mailing list
Cpaint-developers@...
https://lists.sourceforge.net/lists/listinfo/cpaint-developers


Re: A function name was passed that is not allowed to execute on this server

by Dominique Stender :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

sorry for the lacking documentation, we'll imrove it
with the next release.

Every parameter your backend function takes can be
appended after the third argument to the JS call()
method:

var a = '1';
var b = '2';
cp.call('somepage.php', 'someFunc',someFuncCallback,
a, b);

No matter how many arguments you need in the backend,
just keep appending them to call().

Regards,
Dominique

--- "S. Alexandre M. Lemaire" <saeven@...>
wrote:

> Thanks - I'd done this myself as remedy
> simultaneously.
>
> One more question if you can, how does one pass
> multiple values to an AJAX function, ex:
>
> php function
>
> function someFunc( $a, $b );
>
> js function?
>
> $a = '1';
> $b = '2';
> cp.call('somepage.php', 'someFunc',someFuncCallback,
> ... );
>
> The frontend documentation doesn't make this very
> clear :)
>
> Thanks.
> A
>
>
> ----- Original Message -----
> From: "Dominique Stender" <saloon12yrd@...>
> To: <cpaint-developers@...>
> Sent: Saturday, September 10, 2005 7:42 AM
> Subject: Re: [Cpaint-developers] A function name was
> passed that is not allowed to execute on this server
>
>
> Damn, this mail escaped me...
>
> What I meant was: Change line 152 (not 149) in the
> cpaint2.inc.php file from
>
> } else {
>
> to
>
> } else if ($user_function != '') {
>
> Sorry for the confusion and thanks again,
> Dominique
>
>
>
>
>
______________________________________________________
> Click here to donate to the Hurricane Katrina relief
> effort.
> http://store.yahoo.com/redcross-donate3/
>
>
>
-------------------------------------------------------

> SF.Net email is Sponsored by the Better Software
> Conference & EXPO
> September 19-22, 2005 * San Francisco, CA *
> Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects
> & Teams * Testing & QA
> Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> _______________________________________________
> Cpaint-developers mailing list
> Cpaint-developers@...
>
https://lists.sourceforge.net/lists/listinfo/cpaint-developers
>
>



       
               
______________________________________________________
Yahoo! for Good
Watch the Hurricane Katrina Shelter From The Storm concert
http://advision.webevents.yahoo.com/shelter 



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Cpaint-developers mailing list
Cpaint-developers@...
https://lists.sourceforge.net/lists/listinfo/cpaint-developers

Re: A function name was passed that is not allowed to execute on this server

by Saeven :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

No problems, if this works out in the end, documentation is a moot point.
One more question, have you perchance built a function that'll serialize an
entire form so that I can pass a form object in entirely?

Cheers.
A


----- Original Message -----
From: "Dominique Stender" <saloon12yrd@...>
To: <cpaint-developers@...>
Sent: Sunday, September 11, 2005 1:28 PM
Subject: Re: [Cpaint-developers] A function name was passed that is not
allowed to execute on this server


Hi,

sorry for the lacking documentation, we'll imrove it
with the next release.

Every parameter your backend function takes can be
appended after the third argument to the JS call()
method:

var a = '1';
var b = '2';
cp.call('somepage.php', 'someFunc',someFuncCallback,
a, b);

No matter how many arguments you need in the backend,
just keep appending them to call().

Regards,
Dominique

--- "S. Alexandre M. Lemaire" <saeven@...>
wrote:

> Thanks - I'd done this myself as remedy
> simultaneously.
>
> One more question if you can, how does one pass
> multiple values to an AJAX function, ex:
>
> php function
>
> function someFunc( $a, $b );
>
> js function?
>
> $a = '1';
> $b = '2';
> cp.call('somepage.php', 'someFunc',someFuncCallback,
> ... );
>
> The frontend documentation doesn't make this very
> clear :)
>
> Thanks.
> A
>
>
> ----- Original Message -----
> From: "Dominique Stender" <saloon12yrd@...>
> To: <cpaint-developers@...>
> Sent: Saturday, September 10, 2005 7:42 AM
> Subject: Re: [Cpaint-developers] A function name was
> passed that is not allowed to execute on this server
>
>
> Damn, this mail escaped me...
>
> What I meant was: Change line 152 (not 149) in the
> cpaint2.inc.php file from
>
> } else {
>
> to
>
> } else if ($user_function != '') {
>
> Sorry for the confusion and thanks again,
> Dominique
>
>
>
>
>
______________________________________________________
> Click here to donate to the Hurricane Katrina relief
> effort.
> http://store.yahoo.com/redcross-donate3/
>
>
>
-------------------------------------------------------

> SF.Net email is Sponsored by the Better Software
> Conference & EXPO
> September 19-22, 2005 * San Francisco, CA *
> Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects
> & Teams * Testing & QA
> Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> _______________________________________________
> Cpaint-developers mailing list
> Cpaint-developers@...
>
https://lists.sourceforge.net/lists/listinfo/cpaint-developers
>
>





______________________________________________________
Yahoo! for Good
Watch the Hurricane Katrina Shelter From The Storm concert
http://advision.webevents.yahoo.com/shelter



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Cpaint-developers mailing list
Cpaint-developers@...
https://lists.sourceforge.net/lists/listinfo/cpaint-developers




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Cpaint-developers mailing list
Cpaint-developers@...
https://lists.sourceforge.net/lists/listinfo/cpaint-developers

Re: A function name was passed that is not allowed to execute on this server

by Dominique Stender :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hehe, funny you're asking - I tried that just today.
Let me say this much: CPAINT v2.0.2 will support
arrays and objects as arguments to call().

So far however I've been unable to pass a DOM element
to the serializer. It's not a problem of the
serializer itself: In fact the browsers (Firefox,
Opera and MSIE in unison) bail out with a 'maximum
recursion depth' error.

We'll have some deeper looks into this.
Dominique

--- "S. Alexandre M. Lemaire" <saeven@...>
wrote:

> No problems, if this works out in the end,
> documentation is a moot point.
> One more question, have you perchance built a
> function that'll serialize an
> entire form so that I can pass a form object in
> entirely?
>
> Cheers.
> A
>
>
> ----- Original Message -----
> From: "Dominique Stender" <saloon12yrd@...>
> To: <cpaint-developers@...>
> Sent: Sunday, September 11, 2005 1:28 PM
> Subject: Re: [Cpaint-developers] A function name was
> passed that is not
> allowed to execute on this server
>
>
> Hi,
>
> sorry for the lacking documentation, we'll imrove it
> with the next release.
>
> Every parameter your backend function takes can be
> appended after the third argument to the JS call()
> method:
>
> var a = '1';
> var b = '2';
> cp.call('somepage.php', 'someFunc',someFuncCallback,
> a, b);
>
> No matter how many arguments you need in the
> backend,
> just keep appending them to call().
>
> Regards,
> Dominique
>
> --- "S. Alexandre M. Lemaire" <saeven@...>
> wrote:
>
> > Thanks - I'd done this myself as remedy
> > simultaneously.
> >
> > One more question if you can, how does one pass
> > multiple values to an AJAX function, ex:
> >
> > php function
> >
> > function someFunc( $a, $b );
> >
> > js function?
> >
> > $a = '1';
> > $b = '2';
> > cp.call('somepage.php',
> 'someFunc',someFuncCallback,
> > ... );
> >
> > The frontend documentation doesn't make this very
> > clear :)
> >
> > Thanks.
> > A
> >
> >
> > ----- Original Message -----
> > From: "Dominique Stender" <saloon12yrd@...>
> > To: <cpaint-developers@...>
> > Sent: Saturday, September 10, 2005 7:42 AM
> > Subject: Re: [Cpaint-developers] A function name
> was
> > passed that is not allowed to execute on this
> server
> >
> >
> > Damn, this mail escaped me...
> >
> > What I meant was: Change line 152 (not 149) in the
> > cpaint2.inc.php file from
> >
> > } else {
> >
> > to
> >
> > } else if ($user_function != '') {
> >
> > Sorry for the confusion and thanks again,
> > Dominique
> >
> >
> >
> >
> >
>
______________________________________________________
> > Click here to donate to the Hurricane Katrina
> relief
> > effort.
> > http://store.yahoo.com/redcross-donate3/
> >
> >
> >
>
-------------------------------------------------------

> > SF.Net email is Sponsored by the Better Software
> > Conference & EXPO
> > September 19-22, 2005 * San Francisco, CA *
> > Development Lifecycle Practices
> > Agile & Plan-Driven Development * Managing
> Projects
> > & Teams * Testing & QA
> > Security * Process Improvement & Measurement *
> > http://www.sqe.com/bsce5sf
> > _______________________________________________
> > Cpaint-developers mailing list
> > Cpaint-developers@...
> >
>
https://lists.sourceforge.net/lists/listinfo/cpaint-developers
> >
> >
>
>
>
>
>
>
______________________________________________________
> Yahoo! for Good
> Watch the Hurricane Katrina Shelter From The Storm
> concert
> http://advision.webevents.yahoo.com/shelter
>
>
>
>
-------------------------------------------------------

> SF.Net email is Sponsored by the Better Software
> Conference & EXPO
> September 19-22, 2005 * San Francisco, CA *
> Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects
> & Teams * Testing & QA
> Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> _______________________________________________
> Cpaint-developers mailing list
> Cpaint-developers@...
>
https://lists.sourceforge.net/lists/listinfo/cpaint-developers
>
>
>
>
>
-------------------------------------------------------

> SF.Net email is Sponsored by the Better Software
> Conference & EXPO
> September 19-22, 2005 * San Francisco, CA *
> Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects
> & Teams * Testing & QA
> Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> _______________________________________________
> Cpaint-developers mailing list
> Cpaint-developers@...
>
https://lists.sourceforge.net/lists/listinfo/cpaint-developers
>



       
               
______________________________________________________
Yahoo! for Good
Watch the Hurricane Katrina Shelter From The Storm concert
http://advision.webevents.yahoo.com/shelter 



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Cpaint-developers mailing list
Cpaint-developers@...
https://lists.sourceforge.net/lists/listinfo/cpaint-developers

Re: A function name was passed that is not allowed to execute on this server

by Saeven :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'll build one, and share it if you are interested.

Regards.
A

----- Original Message -----
From: "Dominique Stender" <saloon12yrd@...>
To: <cpaint-developers@...>
Sent: Sunday, September 11, 2005 2:52 PM
Subject: Re: [Cpaint-developers] A function name was passed that is not
allowed to execute on this server


Hehe, funny you're asking - I tried that just today.
Let me say this much: CPAINT v2.0.2 will support
arrays and objects as arguments to call().

So far however I've been unable to pass a DOM element
to the serializer. It's not a problem of the
serializer itself: In fact the browsers (Firefox,
Opera and MSIE in unison) bail out with a 'maximum
recursion depth' error.

We'll have some deeper looks into this.
Dominique

--- "S. Alexandre M. Lemaire" <saeven@...>
wrote:

> No problems, if this works out in the end,
> documentation is a moot point.
> One more question, have you perchance built a
> function that'll serialize an
> entire form so that I can pass a form object in
> entirely?
>
> Cheers.
> A
>
>
> ----- Original Message -----
> From: "Dominique Stender" <saloon12yrd@...>
> To: <cpaint-developers@...>
> Sent: Sunday, September 11, 2005 1:28 PM
> Subject: Re: [Cpaint-developers] A function name was
> passed that is not
> allowed to execute on this server
>
>
> Hi,
>
> sorry for the lacking documentation, we'll imrove it
> with the next release.
>
> Every parameter your backend function takes can be
> appended after the third argument to the JS call()
> method:
>
> var a = '1';
> var b = '2';
> cp.call('somepage.php', 'someFunc',someFuncCallback,
> a, b);
>
> No matter how many arguments you need in the
> backend,
> just keep appending them to call().
>
> Regards,
> Dominique
>
> --- "S. Alexandre M. Lemaire" <saeven@...>
> wrote:
>
> > Thanks - I'd done this myself as remedy
> > simultaneously.
> >
> > One more question if you can, how does one pass
> > multiple values to an AJAX function, ex:
> >
> > php function
> >
> > function someFunc( $a, $b );
> >
> > js function?
> >
> > $a = '1';
> > $b = '2';
> > cp.call('somepage.php',
> 'someFunc',someFuncCallback,
> > ... );
> >
> > The frontend documentation doesn't make this very
> > clear :)
> >
> > Thanks.
> > A
> >
> >
> > ----- Original Message -----
> > From: "Dominique Stender" <saloon12yrd@...>
> > To: <cpaint-developers@...>
> > Sent: Saturday, September 10, 2005 7:42 AM
> > Subject: Re: [Cpaint-developers] A function name
> was
> > passed that is not allowed to execute on this
> server
> >
> >
> > Damn, this mail escaped me...
> >
> > What I meant was: Change line 152 (not 149) in the
> > cpaint2.inc.php file from
> >
> > } else {
> >
> > to
> >
> > } else if ($user_function != '') {
> >
> > Sorry for the confusion and thanks again,
> > Dominique
> >
> >
> >
> >
> >
>
______________________________________________________
> > Click here to donate to the Hurricane Katrina
> relief
> > effort.
> > http://store.yahoo.com/redcross-donate3/
> >
> >
> >
>
-------------------------------------------------------

> > SF.Net email is Sponsored by the Better Software
> > Conference & EXPO
> > September 19-22, 2005 * San Francisco, CA *
> > Development Lifecycle Practices
> > Agile & Plan-Driven Development * Managing
> Projects
> > & Teams * Testing & QA
> > Security * Process Improvement & Measurement *
> > http://www.sqe.com/bsce5sf
> > _______________________________________________
> > Cpaint-developers mailing list
> > Cpaint-developers@...
> >
>
https://lists.sourceforge.net/lists/listinfo/cpaint-developers
> >
> >
>
>
>
>
>
>
______________________________________________________
> Yahoo! for Good
> Watch the Hurricane Katrina Shelter From The Storm
> concert
> http://advision.webevents.yahoo.com/shelter
>
>
>
>
-------------------------------------------------------

> SF.Net email is Sponsored by the Better Software
> Conference & EXPO
> September 19-22, 2005 * San Francisco, CA *
> Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects
> & Teams * Testing & QA
> Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> _______________________________________________
> Cpaint-developers mailing list
> Cpaint-developers@...
>
https://lists.sourceforge.net/lists/listinfo/cpaint-developers
>
>
>
>
>
-------------------------------------------------------

> SF.Net email is Sponsored by the Better Software
> Conference & EXPO
> September 19-22, 2005 * San Francisco, CA *
> Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects
> & Teams * Testing & QA
> Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> _______________________________________________
> Cpaint-developers mailing list
> Cpaint-developers@...
>
https://lists.sourceforge.net/lists/listinfo/cpaint-developers
>





______________________________________________________
Yahoo! for Good
Watch the Hurricane Katrina Shelter From The Storm concert
http://advision.webevents.yahoo.com/shelter



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Cpaint-developers mailing list
Cpaint-developers@...
https://lists.sourceforge.net/lists/listinfo/cpaint-developers




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Cpaint-developers mailing list
Cpaint-developers@...
https://lists.sourceforge.net/lists/listinfo/cpaint-developers

Re: A function name was passed that is not allowed to execute on this server

by Dominique Stender :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Well yeah, sure! We're always open for input so feel
free to build one :).

Thanks in advance,
Dominique

--- "S. Alexandre M. Lemaire" <saeven@...>
wrote:

> I'll build one, and share it if you are interested.
>
> Regards.
> A
>
> ----- Original Message -----
> From: "Dominique Stender" <saloon12yrd@...>
> To: <cpaint-developers@...>
> Sent: Sunday, September 11, 2005 2:52 PM
> Subject: Re: [Cpaint-developers] A function name was
> passed that is not
> allowed to execute on this server
>
>
> Hehe, funny you're asking - I tried that just today.
> Let me say this much: CPAINT v2.0.2 will support
> arrays and objects as arguments to call().
>
> So far however I've been unable to pass a DOM
> element
> to the serializer. It's not a problem of the
> serializer itself: In fact the browsers (Firefox,
> Opera and MSIE in unison) bail out with a 'maximum
> recursion depth' error.
>
> We'll have some deeper looks into this.
> Dominique
>
> --- "S. Alexandre M. Lemaire" <saeven@...>
> wrote:
>
> > No problems, if this works out in the end,
> > documentation is a moot point.
> > One more question, have you perchance built a
> > function that'll serialize an
> > entire form so that I can pass a form object in
> > entirely?
> >
> > Cheers.
> > A
> >
> >
> > ----- Original Message -----
> > From: "Dominique Stender" <saloon12yrd@...>
> > To: <cpaint-developers@...>
> > Sent: Sunday, September 11, 2005 1:28 PM
> > Subject: Re: [Cpaint-developers] A function name
> was
> > passed that is not
> > allowed to execute on this server
> >
> >
> > Hi,
> >
> > sorry for the lacking documentation, we'll imrove
> it
> > with the next release.
> >
> > Every parameter your backend function takes can be
> > appended after the third argument to the JS call()
> > method:
> >
> > var a = '1';
> > var b = '2';
> > cp.call('somepage.php',
> 'someFunc',someFuncCallback,
> > a, b);
> >
> > No matter how many arguments you need in the
> > backend,
> > just keep appending them to call().
> >
> > Regards,
> > Dominique
> >
> > --- "S. Alexandre M. Lemaire" <saeven@...>
> > wrote:
> >
> > > Thanks - I'd done this myself as remedy
> > > simultaneously.
> > >
> > > One more question if you can, how does one pass
> > > multiple values to an AJAX function, ex:
> > >
> > > php function
> > >
> > > function someFunc( $a, $b );
> > >
> > > js function?
> > >
> > > $a = '1';
> > > $b = '2';
> > > cp.call('somepage.php',
> > 'someFunc',someFuncCallback,
> > > ... );
> > >
> > > The frontend documentation doesn't make this
> very
> > > clear :)
> > >
> > > Thanks.
> > > A
> > >
> > >
> > > ----- Original Message -----
> > > From: "Dominique Stender"
> <saloon12yrd@...>
> > > To: <cpaint-developers@...>
> > > Sent: Saturday, September 10, 2005 7:42 AM
> > > Subject: Re: [Cpaint-developers] A function name
> > was
> > > passed that is not allowed to execute on this
> > server
> > >
> > >
> > > Damn, this mail escaped me...
> > >
> > > What I meant was: Change line 152 (not 149) in
> the
> > > cpaint2.inc.php file from
> > >
> > > } else {
> > >
> > > to
> > >
> > > } else if ($user_function != '') {
> > >
> > > Sorry for the confusion and thanks again,
> > > Dominique
> > >
> > >
> > >
> > >
> > >
> >
>
______________________________________________________
> > > Click here to donate to the Hurricane Katrina
> > relief
> > > effort.
> > > http://store.yahoo.com/redcross-donate3/
> > >
> > >
> > >
> >
>
-------------------------------------------------------

> > > SF.Net email is Sponsored by the Better Software
> > > Conference & EXPO
> > > September 19-22, 2005 * San Francisco, CA *
> > > Development Lifecycle Practices
> > > Agile & Plan-Driven Development * Managing
> > Projects
> > > & Teams * Testing & QA
> > > Security * Process Improvement & Measurement *
> > > http://www.sqe.com/bsce5sf
> > > _______________________________________________
> > > Cpaint-developers mailing list
> > > Cpaint-developers@...
> > >
> >
>
https://lists.sourceforge.net/lists/listinfo/cpaint-developers
> > >
> > >
> >
> >
> >
> >
> >
> >
>
______________________________________________________
> > Yahoo! for Good
> > Watch the Hurricane Katrina Shelter From The Storm
> > concert
> > http://advision.webevents.yahoo.com/shelter
> >
> >
> >
> >
>
-------------------------------------------------------

> > SF.Net email is Sponsored by the Better Software
> > Conference & EXPO
> > September 19-22, 2005 * San Francisco, CA *
> > Development Lifecycle Practices
> > Agile & Plan-Driven Development * Managing
> Projects
> > & Teams * Testing & QA
> > Security * Process Improvement & Measurement *
> > http://www.sqe.com/bsce5sf
> > _______________________________________________
> > Cpaint-developers mailing list
> > Cpaint-developers@...
> >
>
https://lists.sourceforge.net/lists/listinfo/cpaint-developers
> >
> >
> >
> >
> >
>
-------------------------------------------------------

> > SF.Net email is Sponsored by the Better Software
> > Conference & EXPO
> > September 19-22, 2005 * San Francisco, CA *
> > Development Lifecycle Practices
> > Agile & Plan-Driven Development * Managing
> Projects
> > & Teams * Testing & QA
> > Security * Process Improvement & Measurement *
> > http://www.sqe.com/bsce5sf
> > _______________________________________________
> > Cpaint-developers mailing list
> > Cpaint-developers@...
> >
>
https://lists.sourceforge.net/lists/listinfo/cpaint-developers
> >
>
>
>
>
>
>
______________________________________________________
> Yahoo! for Good
> Watch the Hurricane Katrina Shelter From The Storm
> concert
> http://advision.webevents.yahoo.com/shelter
>
>
>
>
-------------------------------------------------------

> SF.Net email is Sponsored by the Better Software
> Conference & EXPO
> September 19-22, 2005 * San Francisco, CA *
> Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects
> & Teams * Testing & QA
> Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> _______________________________________________
> Cpaint-developers mailing list
> Cpaint-developers@...
>
https://lists.sourceforge.net/lists/listinfo/cpaint-developers
>
>
>
>
>
-------------------------------------------------------

> SF.Net email is Sponsored by the Better Software
> Conference & EXPO
> September 19-22, 2005 * San Francisco, CA *
> Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects
> & Teams * Testing & QA
> Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> _______________________________________________
> Cpaint-developers mailing list
> Cpaint-developers@...
>
https://lists.sourceforge.net/lists/listinfo/cpaint-developers
>



       
               
______________________________________________________
Yahoo! for Good
Watch the Hurricane Katrina Shelter From The Storm concert
http://advision.webevents.yahoo.com/shelter 



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Cpaint-developers mailing list
Cpaint-developers@...
https://lists.sourceforge.net/lists/listinfo/cpaint-developers