The [indexphp] plugin is disabled

Discussion in 'aMember Pro v.4' started by linguaspectrum, Jan 7, 2013.

  1. linguaspectrum

    linguaspectrum Online English Teacher

    Joined:
    Apr 25, 2009
    Messages:
    47
    What does the following error mean? I am getting this error recorded in the log continuously.

    Exception Am_Exception_InputError
    DirectController->__call [ library/Am/Controller.php : 118 ]
    Am_Controller->dispatch [ library/Zend/Controller/Dispatcher/Standard.php : 295 ]
    Zend_Controller_Dispatcher_Standard->dispatch [ library/Zend/Controller/Front.php : 954 ]
    Zend_Controller_Front->dispatch [ library/Am/App.php : 1681 ]
    Am_App->run [ index.php : 43 ]
  2. linguaspectrum

    linguaspectrum Online English Teacher

    Joined:
    Apr 25, 2009
    Messages:
    47
    Any thoughts?
  3. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    What error message you see in amember CP -> Logs -> Errors for this back trace?
  4. linguaspectrum

    linguaspectrum Online English Teacher

    Joined:
    Apr 25, 2009
    Messages:
    47
    URL: /amember/protect/index.php
    MESSAGE: The [indexphp] plugin is disabled
    TRACE: Exception Am_Exception_InputError
    DirectController->__call [ library/Am/Controller.php : 118 ]
    Am_Controller->dispatch [ library/Zend/Controller/Dispatcher/Standard.php : 295 ]
    Zend_Controller_Dispatcher_Standard->dispatch [ library/Zend/Controller/Front.php : 954 ]
    Zend_Controller_Front->dispatch [ library/Am/App.php : 1681 ]
    Am_App->run [ index.php : 43 ]
  5. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Richard,
    You have incorrect link hardcoded somewhere on your site.
    /amember/protect/index.php that is not a default URL which amember could handle, so it generate an error.
  6. linguaspectrum

    linguaspectrum Online English Teacher

    Joined:
    Apr 25, 2009
    Messages:
    47
    Aha! Thank you for that. I will find the link and change it.
  7. linguaspectrum

    linguaspectrum Online English Teacher

    Joined:
    Apr 25, 2009
    Messages:
    47
    If there are no links from within the site, perhaps the links are coming from other sites? Perhaps because the old site used V3?
    If this is the case, is there any way to create a redirect for these old links (/amember/protect/index.php)?
  8. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    There was no such url in aMember v3. Try to create such file within amember folder(just empty file, or even better make redirect to /amember/index.php)
  9. linguaspectrum

    linguaspectrum Online English Teacher

    Joined:
    Apr 25, 2009
    Messages:
    47
  10. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Sorry, my mistakle.
    Add this like to /amember/.htaccess file before any aMember's rewrite rules:
    Code:
    Redirect  /amember/protect/index.php /amember/
    
  11. linguaspectrum

    linguaspectrum Online English Teacher

    Joined:
    Apr 25, 2009
    Messages:
    47
    Thanks, that did the trick.

Share This Page