actioncontroller problem

View: New views
3 Messages — Rating Filter:   Alert me  

actioncontroller problem

by Me2resh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear All,
 my application can't recognize any controller except the indexController
when i go to a link to other controller i get this :
http://cha-international.org/cha/html/Countries
while http://cha-international.org/cha/html/
works fine
mod_rewrite is enabled
and my .htaccess file is as follows :

RewriteEngine on
RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php

can anyone help please ??



--
"What matters more than any individual is the kind of environment that brings in the people who shine. One of the things I believe ACES has succeeded really well at, is to let people shine."

Ahmed Abdel-Aliem
Ministry of Planning - National Planning Institute (Solaris Instructor)
CHA International (Director of IT)
www.cha-international.com
ACES Alumni Board (Member)
www.acesegypt.com
010-110-8551
MacBook Pro with Mac OSX Leopard
registered Linux user number 382789

Re: actioncontroller problem

by Amr Mostafa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi Ahmed,

What is the error you get? I will assume it's a 404 Not Found but if it's something else then you must let us know.

Here is what would be my own personal checklist for this problem:

1. Place some garbage in .htaccess. Refresh and see if you get a 500 Internal Server Error. If you didn't get an error then .htaccess is not enabled.
2. Place some garbage inside the <IfModule mod_rewrite.c> section, if no 500 then mod_rewrite isn't enabled.
3. What does the following give you? It will mess baseUrl up but the page will show up at least: http://cha-international.org/cha/html/index.php/Countries

BTW, Glad to see yet another local using ZF ;-)

Best,
- Amr


On 5/15/08, Ahmed Abdel-Aliem <me2resh@...> wrote:
Dear All,
 my application can't recognize any controller except the indexController
when i go to a link to other controller i get this :
http://cha-international.org/cha/html/Countries
while http://cha-international.org/cha/html/
works fine
mod_rewrite is enabled
and my .htaccess file is as follows :

RewriteEngine on
RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php

can anyone help please ??



--
"What matters more than any individual is the kind of environment that brings in the people who shine. One of the things I believe ACES has succeeded really well at, is to let people shine."

Ahmed Abdel-Aliem
Ministry of Planning - National Planning Institute (Solaris Instructor)
CHA International (Director of IT)
www.cha-international.com
ACES Alumni Board (Member)
www.acesegypt.com
010-110-8551
MacBook Pro with Mac OSX Leopard
registered Linux user number 382789



--
Amr Mostafa, Head of Software Development, IT Synergy
amr@...    http://itsyn.com
+(2012)1700502  +(202)35371020

Re: actioncontroller problem

by Me2resh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Mr Amr,

item one worked for me
the htaccess itself wasnt enabled
i enabled it and now all fine.


On Thu, May 15, 2008 at 2:35 PM, Amr Mostafa <amr.mostafa@...> wrote:
Hi Ahmed,

What is the error you get? I will assume it's a 404 Not Found but if it's something else then you must let us know.

Here is what would be my own personal checklist for this problem:

1. Place some garbage in .htaccess. Refresh and see if you get a 500 Internal Server Error. If you didn't get an error then .htaccess is not enabled.
2. Place some garbage inside the <IfModule mod_rewrite.c> section, if no 500 then mod_rewrite isn't enabled.
3. What does the following give you? It will mess baseUrl up but the page will show up at least: http://cha-international.org/cha/html/index.php/Countries

BTW, Glad to see yet another local using ZF ;-)

Best,
- Amr



On 5/15/08, Ahmed Abdel-Aliem <me2resh@...> wrote:
Dear All,
 my application can't recognize any controller except the indexController
when i go to a link to other controller i get this :
http://cha-international.org/cha/html/Countries
while http://cha-international.org/cha/html/
works fine
mod_rewrite is enabled
and my .htaccess file is as follows :

RewriteEngine on
RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php

can anyone help please ??



--
"What matters more than any individual is the kind of environment that brings in the people who shine. One of the things I believe ACES has succeeded really well at, is to let people shine."

Ahmed Abdel-Aliem
Ministry of Planning - National Planning Institute (Solaris Instructor)
CHA International (Director of IT)
www.cha-international.com
ACES Alumni Board (Member)
www.acesegypt.com
010-110-8551
MacBook Pro with Mac OSX Leopard
registered Linux user number 382789



--
Amr Mostafa, Head of Software Development, IT Synergy
amr@...    http://itsyn.com
+(2012)1700502  +(202)35371020



--
"What matters more than any individual is the kind of environment that brings in the people who shine. One of the things I believe ACES has succeeded really well at, is to let people shine."

Ahmed Abdel-Aliem
Ministry of Planning - National Planning Institute (Solaris Instructor)
CHA International (Director of IT)
www.cha-international.com
ACES Alumni Board (Member)
www.acesegypt.com
010-110-8551
MacBook Pro with Mac OSX Leopard
registered Linux user number 382789