madcorp / zfdatagrid

Automatically exported from code.google.com/p/zfdatagrid
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Fatal error: Cannot redeclare class Bvb_Grid_Deploy_Csv in D:\Program Files (x86)\Zend\Apache2\htdocs\bcom\library\Bvb\Grid\Deploy\Csv.php on line 21 #882

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

We have been working for over a year with ZFDataGrid, with great pleasure.
We have 3 applications, one on a iSeries, and 2 on UBUNTU.
Unfortunately, from one of the UBUNTU applications we have not been able to 
generate a CSV file.
The strange thing is that the 2 applications share the models, so there is no 
problem with the method BuildDataGrid in the model. They also share the BVB 
library, so the same version of ZFDataGrid is used…

When clicking the CSV link in the datagrid, a new tab is created but the 
following error appears :

Fatal error: Cannot redeclare class Bvb_Grid_Deploy_Csv in D:\Program Files 
(x86)\Zend\Apache2\htdocs\bcom\library\Bvb\Grid\Deploy\Csv.php on line 21

Any idea?

Thanx,
Kris

Additional info :

What steps will reproduce the problem?
1. Create a CSV file

What is the expected output? 
Download a CSV file.

What do you see instead?
Fatal error: Cannot redeclare class Bvb_Grid_Deploy_Csv in D:\Program Files 
(x86)\Zend\Apache2\htdocs\bcom\library\Bvb\Grid\Deploy\Csv.php on line 21

Please insert the appropriate values;
                    Zend Framework version: 1.11 & 1.12
ZFDatgrid Version (Bvb_Grid::getVersion()): 0.7
                          Operating system: Windows
                               PHP Version: 5.3
               Database Server and version: MySQL 

Original issue reported on code.google.com by krisl...@telenet.Be on 15 Oct 2012 at 1:40

GoogleCodeExporter commented 9 years ago
Hello,

I found the problem.  My abstract "action" function called a model that already 
defined ZFDataGrid... 

Greetings, 
Kris 

Original comment by krisl...@telenet.Be on 29 Oct 2012 at 7:09

GoogleCodeExporter commented 9 years ago

Original comment by ivomonte...@gmail.com on 2 Dec 2012 at 1:59