Jump to content

Edit History

finlander208

finlander208

5 hours ago, endriu107 said:

Probably if you switch whole ContactController.php file from newest 1.6 version like 1.6.1.24 it should work.

@endriu107 thanks, I tried that, it didn't work.  I also replaced the class Mail.php with the newer Mail.php class from 1.6.1.24, because the problem seems to be within the Send function of the Mail class.  That also did not work.  So, there must be a variable or syntax or function call or something within the Send function (in the Mail.php class) that is not compatible with PHP 5.6.

Update: the problem is certainly with the Send function in the Mail.php class.  I went to Back Office > Advanced Parameters > Test Email Config > Send Test Email .. that feature also would not execute.  No message was returned on screen .. the "spinner" just kept spinning and spinning.

PHP on the server is not recording any PHP errors in the file "error_log" in any directories.  Is there a Prestashop log that might be recording the error?

I have been looking at the differences between PHP 5.4 and PHP 5.6 in this article (https://help.fasthosts.co.uk/app/answers/detail/a_id/2996/~/migrating-to-php-5.6-from-php-5.4), but have not discovered the incompatibility.  Other Classes and Tools are called from the Send function in the Mail.php class, so a deprecated syntax or method or something may exist in one of those other Classes or Tools.

finlander208

finlander208

5 hours ago, endriu107 said:

Probably if you switch whole ContactController.php file from newest 1.6 version like 1.6.1.24 it should work.

@endriu107 thanks, I tried that, it didn't work.  I also replaced the class Mail.php with the newer Mail.php class from 1.6.1.24, because the problem seems to be within the Send function of the Mail class.  That also did not work.  So, there must be a variable or syntax or function call or something within the Send function (in the Mail.php class) that is not compatible with PHP 5.6.

Update: the problem is certainly with the Send function in the Mail.php class.  I went to Back Office > Advanced Parameters > Test Email Config > Send Test Email .. that feature also would not execute.  No message was returned on screen .. the "spinner" just kept spinning and spinning.

PHP on the server is not recording any PHP errors in the file "error_log" in any directories.  Is there a Prestashop log that might be recording the error?

finlander208

finlander208

5 hours ago, endriu107 said:

Probably if you switch whole ContactController.php file from newest 1.6 version like 1.6.1.24 it should work.

@endriu107 thanks, I tried that, it didn't work.  I also replaced the class Mail.php with the newer Mail.php class from 1.6.1.24, because the problem seems to be within the Send function of the Mail class.  That also did not work.  So, there must be a variable or syntax or function call or something within the Send function (in the Mail.php class) that is not compatible with PHP 5.6.

finlander208

finlander208

5 hours ago, endriu107 said:

Probably if you switch whole ContactController.php file from newest 1.6 version like 1.6.1.24 it should work.

@endriu107 thanks, I tried that, it didn't work.  I also replaced the class Mail.php with the newer Mail.php class from 1.6.1.24, because the problem seems to be within the Send function of the Mail class.  That also did not work.  So, there must be a variable or syntax or function call or something within the Send function (in the Mail.php class) that is not compatible with PHP 5.6.

×
×
  • Create New...