Re: [symfony-users] help_sfPhpExcelPlugi
Could you get the file in /tmp ? On Tue, Apr 27, 2010 at 4:37 PM, safa boubekri wrote: > hello > > :( the file reports.xsl is not generate change '/var/tmp/ to /tmp > because i have wamp/tmp > thank you > > -- > 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 > -- 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] help_sfPhpExcelPlugi
hello :( the file reports.xslis not generate change '/var/tmp/ to /tmp because i have wamp/tmp thank you -- 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] help_sfPhpExcelPlugi
Are you able to create an instance of the as given in example01. The resulting file with === $objPHPExcel = new sfPhpExcel(); // Set properties $objPHPExcel->getProperties()->setCreator("Maarten Balliauw"); $objPHPExcel->getProperties()->setLastModifiedBy("Maarten Balliauw"); $objPHPExcel->getProperties()->setTitle("Office 2007 XLSX Test Document"); $objPHPExcel->getProperties()->setSubject("Office 2007 XLSX Test Document"); $objPHPExcel->getProperties()->setDescription("Test document for Office 2007 XLSX, generated using PHP classes."); $objPHPExcel->getProperties()->setKeywords("office 2007 openxml php"); $objPHPExcel->getProperties()->setCategory("Test result file"); $objPHPExcel->getActiveSheet()->setTitle('Simple'); // Set active sheet index to the first sheet, so Excel opens this as the first sheet $objPHPExcel->setActiveSheetIndex(0); $objWriter = new PHPExcel_Writer_Excel5($objPHPExcel); $filename = 'Reports'; $filename = $filename.'.xls'; $filename = '/var/tmp/'.$filename; $objWriter->save($filename); NOTE: The /var/tmp directory should be writable by all. -- 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] help_sfPhpExcelPlugi
Try simply creating an empty xls document at first ? Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Mon, Apr 26, 2010 at 1:23 PM, safa boubekri wrote: > > > $objPHPExcel->getProperties()->setCreator("Maarten Balliauw"); > $objPHPExcel->getProperties()->setLastModifiedBy("Maarten Balliauw"); > $objPHPExcel->getProperties()->setTitle("Office 2007 XLSX Test > Document"); > $objPHPExcel->getProperties()->setSubject("Office 2007 XLSX Test > Document"); > $objPHPExcel->getProperties()->setDescription("Test document for Office > 2007 XLSX, generated using PHP classes."); > $objPHPExcel->getProperties()->setKeywords("office 2007 openxml php"); > $objPHPExcel->getProperties()->setCategory("Test result file"); > > because this lines means that we must have office 2007 ( I THINK) > > -- > 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 > -- 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] help_sfPhpExcelPlugi
$objPHPExcel->getProperties()->setCreator("Maarten Balliauw"); $objPHPExcel->getProperties()->setLastModifiedBy("Maarten Balliauw"); $objPHPExcel->getProperties()->setTitle("Office 2007 XLSX Test Document"); $objPHPExcel->getProperties()->setSubject("Office 2007 XLSX Test Document"); $objPHPExcel->getProperties()->setDescription("Test document for Office 2007 XLSX, generated using PHP classes."); $objPHPExcel->getProperties()->setKeywords("office 2007 openxml php"); $objPHPExcel->getProperties()->setCategory("Test result file"); because this lines means that we must have office 2007 ( I THINK) -- 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] help_sfPhpExcelPlugi
Why do you say it doesnt work because you have office 2003 ? Have you seen such a thing somewhere ? Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Mon, Apr 26, 2010 at 1:16 PM, safa boubekri wrote: > hello > > so sir i put this code but i dont get the file xsl i thik because i > have office2003 > > please help me > > -- > 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 > -- 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] help_sfPhpExcelPlugi
hello so sir i put this code but i dont get the file xsl i thik because i have office2003 please help me -- 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] help_sfPhpExcelPlugi
Hi, I think you simply cannot use this plugin outside symfony. This means you cannot instantiate this object outside a symfony action for example (just like what did Deepak). If you don't understand actions, you should consider reading more on symfony ;-) Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Tue, Apr 20, 2010 at 11:55 AM, safa boubekri wrote: > > > thank you but should you explain more > > > -- > 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 > -- 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] help_sfPhpExcelPlugi
thank you but should you explain more -- 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] help_sfPhpExcelPlugi
Hi, I think this plugin needs to be ran inside a symfony "thing" (task or action or whatever 'till sfConfig is loaded). This to say that you can't run it outside a symfony execution scope. >From what you are saying, you have two problems: the php_zip library wich isn't loaded (but declared so php is trying to load it; looks like a path problem in your php.ini) And the second problem which is your misunderstanding of "how to get sfPhpExcel working". sfPhpExcel object looks to be meant to be executed from within a symfony action or task as I said. Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Tue, Apr 20, 2010 at 11:48 AM, safa boubekri wrote: > > so i load the php_zip.dll but i have the same message :php > statup: unable to load dynamic library > C:\wamp\bin\php\php5.3.0\ext\ php_zip > > > when i executed the command > *$>php plugins/sfPhpExcelPlugin/examples_1_2/01simple.php > * > > after Create new PHPExcel object > > Fatal error: Class 'sfConfig' not found in > /home/sfprojects/jobeet/plugins/sfPhpExcelPlugin/lib/sfPhpEx cel.class.php > on line 9 > i m blocket should you help me > > thank you > > -- > 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 > -- 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] help_sfPhpExcelPlugi
so i load the php_zip.dll but i have the same message :php statup: unable to load dynamic library C:\wamp\bin\php\php5.3.0\ext\ php_zip when i executed the command *$>php plugins/sfPhpExcelPlugin/examples_1_2/01simple.php * after Create new PHPExcel object Fatal error: Class 'sfConfig' not found in /home/sfprojects/jobeet/plugins/sfPhpExcelPlugin/lib/sfPhpEx cel.class.php on line 9 i m blocket should you help me thank you -- 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] help_sfPhpExcelPlugi
Hi, I am saying use the code in the action of a module. Please let me know if you understand action of a module. public function executeFiledownload($request) { // Create new PHPExcel object $objPHPExcel = new sfPhpExcel(); // Set active sheet index to the first sheet, so Excel opens this as the first sheet $objPHPExcel->setActiveSheetIndex(0); // Set properties $objPHPExcel->getProperties()->setCreator("Maarten Balliauw"); $objPHPExcel->getProperties()->setLastModifiedBy("Maarten Balliauw"); $objPHPExcel->getProperties()->setTitle("Office 2007 XLSX Test Document"); $objPHPExcel->getProperties()->setSubject("Office 2007 XLSX Test Document"); $objPHPExcel->getProperties()->setDescription("Test document for Office 2007 XLSX, generated using PHP classes."); $objPHPExcel->getProperties()->setKeywords("office 2007 openxml php"); $objPHPExcel->getProperties()->setCategory("Test result file"); // Set default font $objPHPExcel->getActiveSheet()->getDefaultStyle()->getFont()->setName('Arial'); $objPHPExcel->getActiveSheet()->getDefaultStyle()->getFont()->setSize(12); $objPHPExcel->getActiveSheet()->getColumnDimension('A')->setWidth(6); $objPHPExcel->getActiveSheet()->getColumnDimension('B')->setWidth(25); $objPHPExcel->getActiveSheet()->getColumnDimension('C')->setWidth(22); $objPHPExcel->getActiveSheet()->getColumnDimension('D')->setWidth(13); $objPHPExcel->getActiveSheet()->getColumnDimension('E')->setWidth(12); // Save Excel 2007 file $objWriter = new PHPExcel_Writer_Excel5($objPHPExcel); $todaydate = date("d-m-y"); $todaydate = $todaydate.'-'.date("H-i-s"); $filename = 'Reports'; $filename = $filename.'-'.$todaydate; $filename = $filename.'.xls'; $filename = '/var/tmp/'.$filename; $objWriter->save($filename); } On Tue, Apr 20, 2010 at 1:34 AM, safa boubekri wrote: > i do it symfony cc > > but the same msg > > -- > 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 > -- 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] help_sfPhpExcelPlugi
i do it symfony cc but the same msg -- 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] help_sfPhpExcelPlugi
Hi, Use the same example in an action of a module. It will work perfectly. But prior to that do php symfony cc to autoload the sfPhpExcel Plugin. Regards Deepak Bhatia On Mon, Apr 19, 2010 at 5:12 PM, safa boubekri wrote: > hi, > i have installed sfPhpexcel Plugin and set the default properties in > config/phpexcel.yml, i got an error like this when i executed the command > *$>php plugins/sfPhpExcelPlugin/examples_1_2/01simple.php > * > > after Create new PHPExcel object > > Fatal error: Class 'sfConfig' not found in > /home/sfprojects/jobeet/plugins/sfPhpExcelPlugin/lib/sfPhpEx cel.class.php > on line 9 > > > i don't no were i went wrong... help me.. > > -- > 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 > -- 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] help_sfPhpExcelPlugi
yes because i developped projet with symfony1.3.3 i think thak i have problèmwith php_zip.dlland php_xml.dll it is not full i have this messag php statup: unable to load dynamic library C:\wamp\bin\php\php5.3.0\ext\ php_zip because theRequirements to use this plugin is that Requirements - PHP version 5.2 or higher - PHP extension php_zip enabled - PHP extension php_xml enabled -- 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] help_sfPhpExcelPlugi
You're supposed to use it via symfony, not standalone. On Mon, Apr 19, 2010 at 13:42, safa boubekri wrote: > hi, > i have installed sfPhpexcel Plugin and set the default properties in > config/phpexcel.yml, i got an error like this when i executed the command > $>php plugins/sfPhpExcelPlugin/examples_1_2/01simple.php > > > after Create new PHPExcel object > > Fatal error: Class 'sfConfig' not found in > /home/sfprojects/jobeet/plugins/sfPhpExcelPlugin/lib/sfPhpEx cel.class.php > on line 9 > > > i don't no were i went wrong... help me.. > > -- > 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 > -- 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