Error with helpdesk model & newsletter module

Discussion in 'Troubleshooting' started by tanaris, Aug 5, 2017.

  1. tanaris

    tanaris New Member

    Joined:
    Jun 30, 2013
    Messages:
    3
    Hello,

    we are using amember version 4.2.19. After moving to a new server, using a fresh installation of amember, I tried the two plugins "newsletter" and "helpdesk" ( we didn't use both before). But both plugins are throwing errors, saying the relating .phtml doesn't exist. Here the two error logs:

    Code:
    script 'helpdesk/ticket.phtml' not found in path (/path/to/my/installation/application/default/plugins/protect/wordpress/default/:/path/to/my/installation/application/helpdesk/views/:/path/to/my/installation/application/default/views/)
    
    Exception Zend_View_Exception
    Zend_View_Abstract->_script [ library/Zend/View/Abstract.php : 884 ]
    Zend_View_Abstract->render [ application/helpdesk/library/Am/Helpdesk/Controller.php : 122 ]
    Am_Helpdesk_Controller->viewAction [ library/Am/Controller.php : 139 ]
    Am_Controller->_runAction [ library/Am/Controller.php : 116 ]
    Am_Controller->dispatch [ library/Zend/Controller/Action.php : 568 ]
    Zend_Controller_Action->run [ library/Am/Controller/Pages.php : 124 ]
    Am_Controller_Pages->renderPage [ library/Am/Controller/Pages.php : 73 ]
    Am_Controller_Pages->__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 : 1694 ]
    Am_App->run [ index.php : 43 ]
    Code:
    script 'blocks/member-main-newsletter.phtml' not found in path (/path/to/my/installation/application/default/plugins/protect/wordpress/default/:/path/to/my/installation/application/newsletter/views/:/path/to/my/installation/application/helpdesk/views/:/path/to/my/installation/application/default/views/)
    
    Exception Zend_View_Exception
    Zend_View_Abstract->_script [ library/Zend/View/Abstract.php : 884 ]
    Zend_View_Abstract->render [ library/Am/App.php : 680 ]
    Am_Block->render [ library/Am/App.php : 776 ]
    Am_Blocks->get [ library/Am/View.php : 735 ]
    Am_View_Helper_Blocks->render [ library/Am/View.php : 743 ]
    Am_View_Helper_Blocks->blocks
    call_user_func_array [ library/Zend/View/Abstract.php : 350 ]
    Zend_View_Abstract->__call [ application/default/views/member/main.phtml : 2 ]
    Am_View->blocks [ application/default/views/member/main.phtml : 2 ]
    include [ library/Am/View.php : 391 ]
    Am_View->_run [ library/Zend/View/Abstract.php : 888 ]
    Zend_View_Abstract->render [ library/Am/View.php : 373 ]
    Am_View->display [ application/default/controllers/MemberController.php : 118 ]
    MemberController->indexAction [ library/Am/Controller.php : 139 ]
    Am_Controller->_runAction [ library/Am/Controller.php : 116 ]
    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 : 1694 ]
    Am_App->run [ index.php : 43 ]
    Both files, 'helpdesk/ticket.phtml' and 'blocks/member-main-newsletter.phtml', are at the mentioned location. Any idea, how to fix this?

    I am running member on a nginx installation and I have the following setup in my .conf file:
    Code:
                location ~* ^/members/.*\.(js|ico|gif|jpg|png|css|swf|csv)$ {}
                location ~* ^/members/setup/index.php$ { try_files not-existing-file @php; }
                location ~* ^/members/js.php { try_files not-exiting-file @php; }
                location ~* ^/members/index.php$ { try_files not-existing-file @php; }
                location ~* ^/members/public.php$ { try_files not-existing-file @php; }
    
                location ~* ^/members/public { rewrite ^.*$ /members/public.php; }
                location ~* ^/members/setup { rewrite ^.*$ /members/setup/index.php; }
                location ~* ^/members { rewrite ^.*$ /members/index.php; }
    
                location @php
                {
                    fastcgi_pass unix:/var/run/php5-fpm.sock;
                    include fastcgi_params;
                }
    Regards,
    Dorina
  2. tanaris

    tanaris New Member

    Joined:
    Jun 30, 2013
    Messages:
    3
    Actually, they do exist in the relating module folder, but they do not exist in the other folders i.e.
    /application/default/plugins/protect/wordpress/default/

    But why is the script actually looking there?
  3. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    2,295
  4. tanaris

    tanaris New Member

    Joined:
    Jun 30, 2013
    Messages:
    3
    Of course, ticket created ;-)

Share This Page