Internal Server Error (HTTP Error 500)


  • Default avatar
    wolfgang2    
     11 days ago
    0

    Hello,

    since some days I get an Internal Server Error (HTTP Error 500) on most backend sites of AwoCoupon Pro. Only this pages are working:

    • /administrator/index.php?option=com_awocoupon&view=dashboard
    • /administrator/index.php?option=com_awocoupon&view=license
    • /administrator/index.php?option=com_awocoupon&view=about
    • /administrator/index.php?option=com_awocoupon&view=liveupdate

    I have a permanent license and I am using version 2.3.2. because I made some customizations and they would probably not work with an update.

    Are there any ideas how to solve the Internal Server Error?

    Thank you and best regards!
    Thomas

  • Your avatar
    seyi    
     11 days ago
    0

    Hello,

    Not really sure, a 500 error is very general.  It could be a file permissions issue.  Or maybe a php error in which case need to look at the error logs to see what is causing it.  If you like I can look at it if you send a private message with temp ftp and admin access.
  • Default avatar
    wolfgang2    
     11 days ago
    0

    Hi!

    thank you for the fast reply. There are no entries regarding this failure in the Joomla error log.

    I found, that there is a problem with AwoCouponController() at the begin of each backend site. The object $controller is

    AwoCouponController Object ( [_acoSection:protected] => [_acoSectionValue:protected] => [basePath:protected] => /home/www/u26/cms1/administrator/components/com_awocoupon [default_view:protected] => awocoupon [doTask:protected] => [message:protected] => [messageType:protected] => message [methods:protected] => Array ( [0] => display [1] => processor [2] => processor_save [3] => processor_cancel [4] => processor_edit [5] => processor_remove [6] => processor_publish [7] => processor_unpublish [8] => savecoupon [9] => applycoupon [10] => cancelcoupon [11] => editcoupon [12] => removecoupon [13] => publishcoupon [14] => unpublishcoupon [15] => duplicatecoupon [16] => generatecouponform [17] => generatecoupons [18] => assetorderupparent [19] => assetorderdownparent [20] => saveimport [21] => cancelimport [22] => viewinstallation [23] => saveinstallation [24] => removeinstallation [25] => saveconfig [26] => cancelconfig [27] => publishplugin [28] => installplugin [29] => g_installplugin [30] => processreport [31] => licenseactivate [32] => licenseupdateexpired [33] => licenseupdatelocalkey [34] => licensedelete [35] => savegiftcertcode [36] => defaultprofile [37] => duplicateprofile [38] => previewprofileedit [39] => previewprofile [40] => removehistorycoupon [41] => removehistorygift [42] => resend_giftcert [43] => ajax_elements [44] => ajax_elements_all [45] => ajax_elements_grid [46] => ajax_tags [47] => ajax_generate_coupon_code [48] => exportreports [49] => couponsautoorderup [50] => couponsautoorderdown [51] => couponsautosaveorder ) [name:protected] => awocoupon [model_prefix:protected] => awocouponModel [paths:protected] => Array ( [view] => Array ( [0] => /home/www/u26/cms1/administrator/components/com_awocoupon/views/ ) ) [redirect:protected] => [task:protected] => [taskMap:protected] => Array ( [display] => display [processor] => processor [processor_save] => processor_save [processor_cancel] => processor_cancel [processor_edit] => processor_edit [processor_remove] => processor_remove [processor_publish] => processor_publish [processor_unpublish] => processor_unpublish [savecoupon] => savecoupon [applycoupon] => applycoupon [cancelcoupon] => cancelcoupon [editcoupon] => editcoupon [removecoupon] => removecoupon [publishcoupon] => publishcoupon [unpublishcoupon] => unpublishcoupon [duplicatecoupon] => duplicatecoupon [generatecouponform] => generatecouponform [generatecoupons] => generatecoupons [assetorderupparent] => assetorderupparent [assetorderdownparent] => assetorderdownparent [saveimport] => saveimport [cancelimport] => cancelimport [viewinstallation] => viewinstallation [saveinstallation] => saveinstallation [removeinstallation] => removeinstallation [saveconfig] => saveconfig [cancelconfig] => cancelconfig [publishplugin] => publishplugin [installplugin] => installplugin [g_installplugin] => g_installplugin [processreport] => processreport [licenseactivate] => licenseactivate [licenseupdateexpired] => licenseupdateexpired [licenseupdatelocalkey] => licenseupdatelocalkey [licensedelete] => licensedelete [savegiftcertcode] => savegiftcertcode [defaultprofile] => defaultprofile [duplicateprofile] => duplicateprofile [previewprofileedit] => previewprofileEdit [previewprofile] => previewprofile [removehistorycoupon] => removehistorycoupon [removehistorygift] => removehistorygift [resend_giftcert] => resend_giftcert [ajax_elements] => ajax_elements [ajax_elements_all] => ajax_elements_all [ajax_elements_grid] => ajax_elements_grid [ajax_tags] => ajax_tags [ajax_generate_coupon_code] => ajax_generate_coupon_code [exportreports] => exportreports [couponsautoorderup] => couponsautoorderup [couponsautoorderdown] => couponsautoorderdown [couponsautosaveorder] => couponsautosaveorder [__default] => processor [addcoupon] => editcoupon [applyconfig] => saveconfig ) [_errors:protected] => Array ( ) )


    The result of the next line $model=$controller->getModel('license'); is $model==""
    and the next line $myawo=$model->getlocalkey(); brings the internal server error.


    Do you have any idea what I could do?


    Best regards
    Thomas



  • Your avatar
    seyi    
     11 days ago
    0

    Does the file www/administrator/components/com_awocoupon/models/license.php exist?
  • Default avatar
    wolfgang2    
     10 days ago
    0

    Hello!

    Thanks for your support. I restored the license. php file from a backup and everything works fine again.

    The FTP server contains the license.php_disabled file, which was not yet present in the backup. This was probably renamed automatically - do you have an explanation for this?

    Best regards,
    Thomas


  • Your avatar
    seyi    
     9 days ago
    0

    Glad it is solved.  No, AwoCoupon does not do that, that was either manually done or some script on the server did that.