Unexpected Exception: Invalid controller specified

Discussion in 'PHP' started by levani, Mar 4, 2010.

  1. #1
    I have a site written using zend framework and want to install the same script on subdomain for testing purposes. I copied all the files and database as well but when I enter the subdomain I get this error:

    Can anyone please tell what am I doing wrong?

    Thanks in advance
     
    levani, Mar 4, 2010 IP
  2. HivelocityDD

    HivelocityDD Peon

    Messages:
    179
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It looks like your zend configuration is not correct. If you are working locally try setting up the document root to the subdomain. By default the zend frame work identifies a url as follows

    example.com/controllername/actionname/var1/var1value/...

    So in the subdomain this will be checking for a controller which in your case I assume to be the subdomain name. Which makes this error


    Hope this helps
     
    HivelocityDD, Mar 4, 2010 IP