Re: Components and Helpers route wrong

2008-09-06 Thread surf5502

All my routes just route my static pages to the Pages controller.
There is no issue with the Routing.admin (it is admin as it should be
to route my admin area).

Is there not some setting for the Router that decides to include or
not include the app folder name in the URL?

To clarify, /iny/ is my /app/ folder.


On Sep 4, 7:35 pm, Jaime <[EMAIL PROTECTED]> wrote:
> Try disabling all your routes in /config/routes.php. Also, check the
> value of 'Routing.admin' in /config/core.php.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Components and Helpers route wrong

2008-09-04 Thread surf5502

All of my components and helpers route to /iny/* not /* as intended.
For example the login form tries to go to /iny/users/login while it
should just go to /users/login. The whole router object seems to be
configured wrong... Why would this happen? It worked fine in my
staging environment but the live environment it adds the /iny.

Thanks in advance

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



cake connect problem

2008-06-21 Thread surf5502

so i am trying to use the bakery in terminal. i have os x 10.5.2 and i
run MAMP (www.mamp.info) for my development environment. i had the
bakery working before and was able to bake one model fine, and then
when i tried to bake another model it couldnt find a table or
something and gave me all kinds of errors. i decided to start a new
project folder and just restart to see what would happen. i created a
project in the bakery in '/dev/iny' (cake console is in '/dev/cake/
cake/console'). got the thing working when i browse to http://localhost
i get that cake is able to connect the the database, but when i go
back to the bakery and execute 'cake bake model' while in '/dev/iny' i
get an error that it 'Can't connect to local MySQL server through
socket'. then it gives me a couple more warnings, claims 'Error: Your
database doesn't have any tables.' and it stops the script.

this is going on 2 days i hasnt worked and has been driving me crazy.
thanks in advance

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Bake Connect Problem

2008-06-20 Thread surf5502

still not working even after adding to the path and trying to modify
the .bat and .php files to point to the MAMP copy of PHP.

On Jun 20, 6:17 pm, surf5502 <[EMAIL PROTECTED]> wrote:
> I just got CakePHP installed (after deciding to try this before RoR)
> and I trying to figure out how to use the code generator. I have a
> MacBook Pro running MAMP (http://www.mamp.info). The server is set up
> fine and when I browse tohttp://localhost/everything comes up green
> and good to go (it connects to the database just fine). When I go to
> my shell and run 'cake bake' in my 'app' folder I get the warning
> 'Cannot connect to local MySQL server through socket...cake/libs/model/
> datasources/dbo/dbo_mysql.php on line 111' and then there's the
> obvious couple of resource errors after it on lines 116 and 144.
> Finally it claims my database has no tables but they are there and all
> named properly and I can browse them just fine in phpMyAdmin. Any help
> with why my bakery is so messed up?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Bake Connect Problem

2008-06-20 Thread surf5502

I just got CakePHP installed (after deciding to try this before RoR)
and I trying to figure out how to use the code generator. I have a
MacBook Pro running MAMP (http://www.mamp.info). The server is set up
fine and when I browse to http://localhost/ everything comes up green
and good to go (it connects to the database just fine). When I go to
my shell and run 'cake bake' in my 'app' folder I get the warning
'Cannot connect to local MySQL server through socket...cake/libs/model/
datasources/dbo/dbo_mysql.php on line 111' and then there's the
obvious couple of resource errors after it on lines 116 and 144.
Finally it claims my database has no tables but they are there and all
named properly and I can browse them just fine in phpMyAdmin. Any help
with why my bakery is so messed up?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---