Problems with migration from version 3 of aMember to the latest version

Discussion in 'Troubleshooting' started by fernando_realestatetools, Aug 4, 2016.

  1. fernando_realestatetools

    fernando_realestatetools aMember Pro Customer

    Joined:
    Jun 18, 2016
    Messages:
    2
    Good afternoon,

    We are in the middle of migrating our site from version 3 of aMember to the latest version.

    Since we embarked on this project we have encountered enormous difficulties getting aMember to work properly. Our impression is that session management between PHP and Zend is not working properly. The issue emerges when we attempt to navigate to the “Setup/Configuration” section within aMember. The page doesn't load properly, we just get the background. The errors we see on our infrastructure through PHP and Apache are as follows:

    Fatal error: require_once(): Failed opening required 'Am/Form/Brick/Newsletter.php' (include_path='/var/www/propertytracker/propertytracker/member/library:/var/www/propertytracker/propertytracker/member/application/default/models:/var/www/propertytracker/propertytracker/member/library/pear:/var/www/propertytracker/propertytracker/member/library/sf:.:/usr/share/pear:/usr/share/php:/var/www/propertytracker/propertytracker/member/application/newsletter/library/:/var/www/propertytracker/propertytracker/member/application/helpdesk/library/') in /var/www/propertytracker/propertytracker/member/application/newsletter/Bootstrap.php on line 40

    [03-Aug-2016 16:01:27 America/Bogota] PHP Fatal error: require_once(): Failed opening required 'Am/Form/Brick/Newsletter.php' (include_path='/var/www/propertytracker/propertytracker/member/library:/var/www/propertytracker/propertytracker/member/application/default/models:/var/www/propertytracker/propertytracker/member/library/pear:/var/www/propertytracker/propertytracker/member/library/sf:.:/usr/share/pear:/usr/share/php:/var/www/propertytracker/propertytracker/member/application/newsletter/library/:/var/www/propertytracker/propertytracker/member/application/helpdesk/library/') in /var/www/propertytracker/propertytracker/member/application/newsletter/Bootstrap.php on line 40

    Our test environment has the following configuration:

    Server version: Apache/2.4.6 (CentOS)
    PHP 5.4.16 (cli) (built: May 12 2016 13:45:17)
    Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies

    We also tested using Nginx (nginx version: nginx/1.6.3) and found the same issues.

    One of the things we’ve noticed is that aMember requieres the apache mod_speling module.

    We activated it on the server using the following configuration:
    <IfModule mod_speling.c>
    CheckCaseOnly on
    CheckSpelling on
    </IfModule>

    We also added this configuration to the various .htaccess files used by the App and we keep having issues related to case sensitivity.

    We need your help on this urgently as we have been unable to continue development on our solution.

    Also we have this errors on the console log of aMember:

    Hidden elements cannot have validation errors

    Exception HTML_QuickForm2_InvalidArgumentException
    HTML_QuickForm2_Rule->setMessage [ /usr/share/pear/HTML/QuickForm2/Rule.php : 131 ]
    HTML_QuickForm2_Rule->__construct [ /usr/share/pear/HTML/QuickForm2/Factory.php : 239 ]
    HTML_QuickForm2_Factory::createRule [ /usr/share/pear/HTML/QuickForm2/Node.php : 555 ]
    HTML_QuickForm2_Node->addRule [ library/Am/Form.php : 1477 ]
    Am_Form_Element_Csrf->__construct [ library/Am/Form.php : 78 ]
    Am_Form->addCsrf [ library/Am/Form/Admin.php : 19 ]
    Am_Form_Admin->__construct [ library/Am/Report.php : 189 ]
    Am_Report_Abstract->createForm [ library/Am/Report.php : 67 ]
    Am_Report_Abstract->getForm [ application/default/controllers/AdminReportsController.php : 117 ]
    AdminReportsController_Index->getformAction [ library/Am/Mvc/Controller.php : 128 ]
    Am_Mvc_Controller->_runAction [ library/Am/Mvc/Controller.php : 105 ]
    Am_Mvc_Controller->dispatch [ /usr/share/php/Zend/Controller/Action.php : 568 ]
    Zend_Controller_Action->run [ library/Am/Mvc/Controller/Pages.php : 124 ]
    Am_Mvc_Controller_Pages->renderPage [ library/Am/Mvc/Controller/Pages.php : 73 ]
    Am_Mvc_Controller_Pages->__call [ library/Am/Mvc/Controller.php : 107 ]
    Am_Mvc_Controller->dispatch [ /usr/share/php/Zend/Controller/Dispatcher/Standard.php : 308 ]
    Zend_Controller_Dispatcher_Standard->dispatch [ /usr/share/php/Zend/Controller/Front.php : 954 ]
    Zend_Controller_Front->dispatch [ library/Am/App.php : 2048 ]
    Am_App->run [ index.php : 94 ]

    Could not loadGet([standard])

    Exception Am_Exception_InternalError
    Am_Plugins->loadGet [ application/default/controllers/AdminUpgradeController.php : 749 ]
    AdminUpgradeController->loadUpgradesList [ application/default/controllers/AdminUpgradeController.php : 323 ]
    AdminUpgradeController->checkAction [ library/Am/Mvc/Controller.php : 128 ]
    Am_Mvc_Controller->_runAction [ library/Am/Mvc/Controller.php : 105 ]
    Am_Mvc_Controller->dispatch [ /usr/share/php/Zend/Controller/Dispatcher/Standard.php : 308 ]
    Zend_Controller_Dispatcher_Standard->dispatch [ /usr/share/php/Zend/Controller/Front.php : 954 ]
    Zend_Controller_Front->dispatch [ library/Am/App.php : 2048 ]
    Am_App->run [ index.php : 94 ]
  2. thehpmc

    thehpmc Member

    Joined:
    Aug 24, 2006
    Messages:
    901
    Why not submit a ticket and get aMember support to look at this problem?
  3. fernando_realestatetools

    fernando_realestatetools aMember Pro Customer

    Joined:
    Jun 18, 2016
    Messages:
    2
    I do it. But don't have any answer yet.

Share This Page