Anyone? :( Or does any body has deployed cake php on a godaddy hosting? Any steps to follow? Things to check? Thanks again.
On Fri, May 16, 2008 at 9:48 AM, Marcos Aruj <[EMAIL PROTECTED]> wrote: > Thanks fot the suggestion. With no slash ( > http://www.mysite.com/index.php?url=surveys/index) I get this: > CakePHP Rapid Development > Missing controller > > You are seeing this error because controller *Controller* could not be > found. > > *Notice:* If you want to customize this error message, create > app/views/errors/missing_controller.thtml. > > *Fatal*: Create the class below in file : app/controllers/controller.php > <?php > class Controller extends AppController { > var $name = ''; > } > ?> > > ********** > It's not parsing the controller name at all.. :( > Any other suggestion? Thanks for helping ;) > > On Fri, May 16, 2008 at 5:14 AM, Esoteric <[EMAIL PROTECTED]> > wrote: > >> >> Try: >> www.mysite.com/index.php?url=controller/action (no slash before >> controller) >> >> Let us know. >> -Erik >> >> On May 15, 6:44 pm, Markitusss <[EMAIL PROTECTED]> wrote: >> > Hi all, >> > >> > I've been trying to run cake on a godaddy hosting service. mod_rewrite >> > is not available, so I set up cake to use its Pretty URLs, by >> > uncommenting the line inside core.php and by deleting .htaccess files. >> > I got the index page to perfectly, with CSS styling and connection to >> > the database, but I can't access controllers/actions. I get a 404 not >> > found. I tried >> > >> > >> www.mysite.com/index.php/controller/actionandwww.mysite.com/index.php?url=/controller/actionwithno >> success. >> > >> > On my computer, everything works fine with mod_rewrite, but I can' >> > make it to work on the server. Is it something special with godaddy, >> > or am I missing some other settings. Please help. >> > >> > I also tried this fix:https://trac.cakephp.org/ticket/812 >> > >> > 1. The URL's need to contain the extra '?'. In app/config/core.php >> > [line 42] you will have uncommented this line for no mod_rewrite. >> > Change it to: >> > >> > define('BASE_URL',env('SCRIPT_NAME') . '?'); >> > >> > 2. Need to extract the controller/view differently. Index.php (line >> > 68) currently reads: >> > >> > $uri = setUri(); >> > >> > Change this line to: >> > >> > $uri = env('PHP_SELF') . env('QUERY_STRING'); >> > >> > but no luck... >> > >> > Thanks in advance, >> > >> > Best regards, >> > >> > Marcos >> >> >> > > > -- > Marcos Aruj Alvarez > Ingeniero de Software > ------------------------------- > [EMAIL PROTECTED] > ----- -- Marcos Aruj Alvarez Ingeniero de Software ------------------------------- [EMAIL PROTECTED] ----- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
