[symfony-users] Re: Zend et Symfony

2010-04-28 Thread James Cauwelier
Do you have the Zend_Pdf classes in your path?  In other word, when
you only downloaded the pieces of the framework you need, there is a
good chance that you forgot to download the Zend_Pdf component.

Sometimes the most obvious things gives us the most trouble.

James

On Apr 26, 3:38 pm, Omar El Mazny omar.elma...@gmail.com wrote:
 Hello,

 I integrated Zend with symfony the search feature is working really
 good but when it comes to the pdf class i keep getting this error
 message
 Fatal error: Class 'Zend_Pdf' not found in \module\actions
 \actions.class.php on line 227

 do you know why or how to resolve the issue !!! despite the fact that
 Zend search is working fine with searching  indexing.
 thanks

 --
 If you want to report a vulnerability issue on symfony, please send it to 
 security at symfony-project.com

 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
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group 
 athttp://groups.google.com/group/symfony-users?hl=en

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Re: Zend et Symfony

2010-04-28 Thread Omar El Mazny
I thought of that problem thought i downloaded all the framework
didn't delete anything so i looked through the folders i found the Pdf
folder.

Omar

On Apr 28, 9:59 am, James Cauwelier james.cauwel...@gmail.com wrote:
 Do you have the Zend_Pdf classes in your path?  In other word, when
 you only downloaded the pieces of the framework you need, there is a
 good chance that you forgot to download the Zend_Pdf component.

 Sometimes the most obvious things gives us the most trouble.

 James

 On Apr 26, 3:38 pm, Omar El Mazny omar.elma...@gmail.com wrote:



  Hello,

  I integrated Zend with symfony the search feature is working really
  good but when it comes to the pdf class i keep getting this error
  message
  Fatal error: Class 'Zend_Pdf' not found in \module\actions
  \actions.class.php on line 227

  do you know why or how to resolve the issue !!! despite the fact that
  Zend search is working fine with searching  indexing.
  thanks

  --
  If you want to report a vulnerability issue on symfony, please send it to 
  security at symfony-project.com

  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
  symfony-users+unsubscr...@googlegroups.com
  For more options, visit this group 
  athttp://groups.google.com/group/symfony-users?hl=en

 --
 If you want to report a vulnerability issue on symfony, please send it to 
 security at symfony-project.com

 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
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group 
 athttp://groups.google.com/group/symfony-users?hl=en

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: Zend et Symfony

2010-04-27 Thread khalid
hello,

show if you have a good path on
sfConfig::get('sf_lib_dir').'/vendor'.PATH_SEPARATOR.get_include_path().

But i think is good but i don't no why he doesn't work

2010/4/26 Omar El Mazny omar.elma...@gmail.com

 i added
 static protected $zendLoaded = false;

  static public function registerZend()
  {
if (self::$zendLoaded)
{
  return;
}

set_include_path(sfConfig::get('sf_lib_dir').'/
 vendor'.PATH_SEPARATOR.get_include_path());
require_once sfConfig::get('sf_lib_dir').'/vendor/Zend/Loader/
 Autoloader.php';
Zend_Loader_Autoloader::getInstance();
self::$zendLoaded = true;
  }
 in the project configuration.class.php after that the Zend Lucene was
 working fine but when i tried the pdf it's not

 On Apr 26, 4:56 pm, khalid abdel.kha...@gmail.com wrote:
  hello,
 
  Your probleme come to the autoload of symfony. how you are integrated
 zend ?
 
  2010/4/26 Omar El Mazny omar.elma...@gmail.com
 
 
 
   Hello,
 
   I integrated Zend with symfony the search feature is working really
   good but when it comes to the pdf class i keep getting this error
   message
   Fatal error: Class 'Zend_Pdf' not found in \module\actions
   \actions.class.php on line 227
 
   do you know why or how to resolve the issue !!! despite the fact that
   Zend search is working fine with searching  indexing.
   thanks
 
   --
   If you want to report a vulnerability issue on symfony, please send it
 to
   security at symfony-project.com
 
   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
   symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 symfony-users%2bunsubscr...@googlegroups.comsymfony-users%252bunsubscr...@googlegroups.com
 
   For more options, visit this group at
  http://groups.google.com/group/symfony-users?hl=en
 
  --
  If you want to report a vulnerability issue on symfony, please send it to
 security at symfony-project.com
 
  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
  symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
  For more options, visit this group athttp://
 groups.google.com/group/symfony-users?hl=en

 --
 If you want to report a vulnerability issue on symfony, please send it to
 security at symfony-project.com

 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
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en


-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Re: Zend et Symfony

2010-04-26 Thread Omar El Mazny
i added
static protected $zendLoaded = false;

  static public function registerZend()
  {
if (self::$zendLoaded)
{
  return;
}

set_include_path(sfConfig::get('sf_lib_dir').'/
vendor'.PATH_SEPARATOR.get_include_path());
require_once sfConfig::get('sf_lib_dir').'/vendor/Zend/Loader/
Autoloader.php';
Zend_Loader_Autoloader::getInstance();
self::$zendLoaded = true;
  }
in the project configuration.class.php after that the Zend Lucene was
working fine but when i tried the pdf it's not

On Apr 26, 4:56 pm, khalid abdel.kha...@gmail.com wrote:
 hello,

 Your probleme come to the autoload of symfony. how you are integrated zend ?

 2010/4/26 Omar El Mazny omar.elma...@gmail.com



  Hello,

  I integrated Zend with symfony the search feature is working really
  good but when it comes to the pdf class i keep getting this error
  message
  Fatal error: Class 'Zend_Pdf' not found in \module\actions
  \actions.class.php on line 227

  do you know why or how to resolve the issue !!! despite the fact that
  Zend search is working fine with searching  indexing.
  thanks

  --
  If you want to report a vulnerability issue on symfony, please send it to
  security at symfony-project.com

  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
  symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

 --
 If you want to report a vulnerability issue on symfony, please send it to 
 security at symfony-project.com

 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
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group 
 athttp://groups.google.com/group/symfony-users?hl=en

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en