madcorp / zfdatagrid

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

datagrid on the index page controller edit gets 404 #867

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create a datagrid on the index/index controller and add the edit field
2. call the page without calling the controller (http://www.yoursite.com)
3. click on edit of any record, you are sent to 
http://www.yoursite.com/index/index/edit/450 and you get an error 404 page not 
found

What is the expected output? What do you see instead?
instead you should be sent to http://www.yoursite.com/Index/index/edit/450 
(capital I in the Index controller name)

Please insert the appropriate values;
                    Zend Framework version: 1.11
ZFDatgrid Version (Bvb_Grid::getVersion()): 0.8
                          Operating system: UB 11
                               PHP Version: 5.8
               Database Server and version: mysql
Source Adatapter:

Please provide any additional information below.

Original issue reported on code.google.com by jccompag...@gmail.com on 7 Jun 2012 at 11:01

GoogleCodeExporter commented 9 years ago
Hi,

Please make sure mod_rewrite is enabled.

If you don't want to use mod_rewrite please use this code

Bvb_Grid::useModRewrite(false);

Best Regards,
Bento Vilas Boas

Original comment by licentia...@gmail.com on 3 Jul 2012 at 3:44