Error Messages in Logs & Emails delivered with no subject.. & Can't Setup/Config error

Discussion in 'Troubleshooting' started by vacc_webmaster, May 30, 2018.

Thread Status:
Not open for further replies.
  1. vacc_webmaster

    vacc_webmaster Member

    Joined:
    Jan 24, 2007
    Messages:
    51
    Hi,

    I think the problems have occurred for a month or longer (Still waiting to determine her error).
    She complained of problem checking out with credit card and a few in Pending status exist for within the last several months for those that used "stripen" payment option. Logged in merchant account and it appears OK.

    Also from amember/admin when I click Setup/Configuration or Make Click edit to make change to Products
    It displays
    Log messages displayed for each time I clicked the link. "Store folder [/home/xxx/public_html/amember/data] is not writable"

    Also, starting on 5/14/18 Mail Queue shows an empty subject line and its delivered as (no subject)
    It sent with subjects on and prior to 5/11/18

    Most of the logs display "/data is not writeable."

    This snippet I believe showed in the logs after I tested to add a manual payment to existing subscription.

    Code:
    05/30/18, 12:44 AM   
    …s/addpayment/user_id/1051
    70.160.XX.XX    Store folder [/home/XXX/public_html/amember/data] is not writable   
    Click to Expand
    Exception Am_Exception_InternalError
    Am_Upload->setStoreFolder [ library/Am/Upload.php : 18 ]
    Am_Upload->__construct [ library/Am/Mail/Template.php : 127 ]
    Am_Mail_Template->parseAttachments [ library/Am/Mail/Template.php : 116 ]
    Am_Mail_Template->parse [ library/Am/Mail/Template.php : 202 ]
    Am_Mail_Template->_send [ library/Am/Mail/Template.php : 159 ]
    Am_Mail_Template->send [ application/default/models/EmailTemplate.php : 531 ]
    EmailTemplateTable::onPaymentWithAccessAfterInsert [ library/Am/Event.php : 837 ]
    Am_Event->call [ library/Am/Event.php : 860 ]
    Am_Event->handle [ library/Am/Hook.php : 204 ]
    Am_Hook->call [ application/default/models/Invoice.php : 1354 ]
    Invoice->addPayment [ application/default/controllers/AdminUserPaymentsController.php : 929 ]
    AdminUserPaymentsController->addpaymentAction [ library/Am/Mvc/Controller.php : 128 ]
    Am_Mvc_Controller->_runAction [ library/Am/Mvc/Controller.php : 105 ]
    Am_Mvc_Controller->dispatch [ library/Zend/Controller/Dispatcher/Standard.php : 307 ]
    Zend_Controller_Dispatcher_Standard->dispatch [ library/Zend/Controller/Front.php : 956 ]
    Zend_Controller_Front->dispatch [ library/Am/App.php : 2052 ]
    Am_App->run [ index.php : 98 ]

    So the meantime, I have rebuilt the core, invoice and Wordpress DB. All kicked off successfully. After checking CHMOD on /data and the folders/files within.

    DATA was set NOT set as 0775, so I changed it accordingly to results on this site. .htaccess is 770.
    /data/Cache - is 770
    /data/new-rewrite - is 775
    /data/public - is 777
    /data/upload - is 770
    File contents of
    /data/
    are .htaccess and index.php
    and other random files beginning with .email but they are many years old.

    other /data subfolders do not have much of anything. Few zend_cache is cache folder file changed 5/1/18.


    Code:
    05/27/18, 12:00 AM    /amember/cron    xxx.250.124.218    Store folder [/home/xxx/public_html/amember/data] is not writable   
    Click to Expand
    Exception Am_Exception_InternalError
    Am_Upload->setStoreFolder [ library/Am/Upload.php : 18 ]
    Am_Upload->__construct [ library/Am/Mail/Template.php : 123 ]
    Am_Mail_Template->parseAttachments [ library/Am/Mail/Template.php : 116 ]
    Am_Mail_Template->parse [ library/Am/Mail/Template.php : 202 ]
    Am_Mail_Template->_send [ library/Am/Mail/Template.php : 159 ]
    Am_Mail_Template->send [ application/default/models/EmailTemplate.php : 855 ]
    EmailTemplateTable->_sendCronPayments [ application/default/models/EmailTemplate.php : 792 ]
    EmailTemplateTable->sendCronPayments [ library/Am/App.php : 2152 ]
    Am_App->onDaily [ library/Am/Event.php : 837 ]
    Am_Event->call [ library/Am/Event.php : 860 ]
    Am_Event->handle [ library/Am/Hook.php : 204 ]
    Am_Hook->call [ library/Am/App.php : 1052 ]
    Am_Cron::checkCron [ application/default/controllers/CronController.php : 30 ]
    CronController->indexAction [ library/Am/Mvc/Controller.php : 128 ]
    Am_Mvc_Controller->_runAction [ library/Am/Mvc/Controller.php : 105 ]
    Am_Mvc_Controller->dispatch [ library/Zend/Controller/Dispatcher/Standard.php : 307 ]
    Zend_Controller_Dispatcher_Standard->dispatch [ library/Zend/Controller/Front.php : 956 ]
    Zend_Controller_Front->dispatch [ library/Am/App.php : 2052 ]
    Am_App->run [ index.php : 98 ]
    A lot of in logs

    Code:
    05/25/18, 08:44 PM   
    …rectory/Therapist-Finder/
    xxx.76.15.137    Argument 2 passed to Am_View_Helper_DirectoryFieldHeaderSort::__construct() must be an instance of Am_Request, instance of Am_Mvc_Request given, called in /home/xxx/public_html/amember/application/directory/controllers/IndexController.php on line 33   
    Click to Expand
    Exception TypeError
    Am_View_Helper_DirectoryFieldHeaderSort->__construct [ application/directory/controllers/IndexController.php : 33 ]
    Directory_IndexController->preDispatch [ library/Am/Mvc/Controller.php : 87 ]
    Am_Mvc_Controller->dispatch [ library/Zend/Controller/Dispatcher/Standard.php : 307 ]
    Zend_Controller_Dispatcher_Standard->dispatch [ library/Zend/Controller/Front.php : 956 ]
    Zend_Controller_Front->dispatch [ library/Am/App.php : 2052 ]
    Am_App->run [ index.php : 98 ]

    aMember5.1.7
    Zend Framework1.12.4
    PHP7.1.17 (litespeed)
    Modulescart (4.2.14.3b7ee0a)
    directory (4.7.2)
    helpdesk (5.1.7)
    newsletter (4.2.14.3b7ee0a)
    cc (4.2.14.3b7ee0a)
    Pluginsoffline (5.1.7 - )
    paypal (5.1.7 - )
    stripe (5.1.7 - $Date$)
    stripen (5.1.7 - $Date$)
    free (5.1.7 - )
    new-rewrite (5.1.7 - )
    wordpress (5.1.7 - )

    Any assistance you may provide would be awesome! thank you!
  2. vacc_webmaster

    vacc_webmaster Member

    Joined:
    Jan 24, 2007
    Messages:
    51
    Thanks you soo much for the fix via support ticket and the extra assistance!!!

    **Resolved**
    5/30/18
    caesar likes this.
Thread Status:
Not open for further replies.

Share This Page