I found in Documentation/Book that pake task can be run from website 
according to source below:

<?php
 
// as we are in the web/ dir, we need to go up one level to get to the 
project root
chdir(dirname(__FILE__).DIRECTORY_SEPARATOR.'..');
 
include_once('/lib/symfony/pake/bin/pake.php');
 
$pake = pakeApp::get_instance();
try
{
  $ret = $pake->run('/data/symfony/bin/pakefile.php', 'clear-cache');
}
catch (pakeException $e)
{
  print "<strong>ERROR</strong>: ".$e->getMessage();
}
 
?>


obviously i am getting
*Warning*: include_once(/lib/symfony/pake/bin/pake.php) 
[function.include-once 
<http://dev.biuletyn.net2000.pl/function.include-once>]: failed to open 
stream: No such file or directory*...*

*Warning*: include_once() [function.include 
<http://dev.biuletyn.net2000.pl/function.include>]: Failed opening 
'/lib/symfony/pake/bin/pake.php' for inclusion 
(include_path='.:/usr/share/php:/usr/share/pear') in*....*

*Fatal error*: Class 'pakeApp' not found in *....


How can i run pake tasks from website?? symfony 1.0.8 ?

*

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to