WebSite X5Help Center

 
V. Boros
V. Boros
User

Eshop does not send emails  en

Autor: V. Boros
Visitado 1084, Followers 1, Compartido 0  

ESHOP does not send emails:


Please help - the e-shop does not send e-mails either to the customer or to us.
The attached image shows an error...
The php file is also included in the attachment.

Publicado en
11 RESPUESTAS - 3 úTIL
V. Boros
V. Boros
User
Autor

a file from:    admin/index.php

Leer más
Publicado en de V. Boros
Franz-Josef H.
Franz-Josef H.
Moderator

Which email address is in step 5 "Export", selection "Export the website to the Internet" when you click on 'Parameters' at the bottom right and then select the 'Email' area? The desired sender email address belongs here. Change that and check again...

Leer más
Publicado en de Franz-Josef H.
Franz-Josef H.
Franz-Josef H.
Moderator

You should also check the php version at the provider and upgrade to the latest supported php version if necessary. with the latest WebsiteX5 you can use php 8.2.

Leer más
Publicado en de Franz-Josef H.
V. Boros
V. Boros
User
Autor

Always...

Warning: Undefined array key "html" in /www/doc/www.zahradnictvocaklov.sk/www/res/emailtemplates/order.html.template.php on line 245

Leer más
Publicado en de V. Boros
V. Boros
V. Boros
User
Autor

Please help

I created new empty database for my eshop and uploaded eshop to the new folder, but when I am trying to create order I am always getting the following error after I click on button send order now. (image 1)

I receive an email with the order but it contains following error (image 2)

This is the row that show an error in the email  (image 3)

I also can’t see created order in eshop administration.

Where can be a problem, how can I solve this?  (Images are in attachment...)

Leer más
Publicado en de V. Boros
V. Boros
V. Boros
User
Autor

We were finally able to solve the problem only by completely uninstalling the latest updated version of the Website X5 Pro v2023.1.4 program and reinstalling an older version v2022.3.7. Additionally, we had to change the settings on our web hosting from PHP 8.2.4 - first to PHP 8.1.7 (which did not help) and finally we set PHP to v7.4.33 - and everything immediately started working properly again.

Therefore, the problem is with the latest updated version of the Website X5 Pro program, which does not cooperate correctly with newer versions of PHP (when it comes to writing data from the e-shop to the database).

The solution is therefore on the developers of the program, to ensure that the latest version of Website X5 Pro can also work correctly with the latest versions of PHP 8.x.x. We have been trying to resolve this compatibility issue for 5 days...

The latest version of the Website X5 Pro program also cannot save data from the e-shop to the database on the web hosting server. We purchased the Herbal Drugstore template and this e-shop has the same problem.

Your customer...

Leer más
Publicado en de V. Boros
Incomedia
Stefano G.
Incomedia

Hello Boros

Judging by your description of the problem, the issue is not PHP 8 itself.

The problem is that together with the upgrade, your hosting enabled a PHP parameter called "display_errors" which caused issues.

Simply ask your hosting provider to disable this option and it should work fine

Thank you

Stefano

Leer más
Publicado en de Stefano G.
V. Boros
V. Boros
User
Autor

Thank you for the information...


I communicated with a web hosting support and they informed me that my request to disable the PHP command "display_errors" can be configured in the ".htaccess" file. The current text of this file is:

=====
# WebSite X5 - Start Code [do not edit]

ErrorDocument 404 /strana-404.html
<IfModule mod_deflate.c>
SetOutputFilter DEFLATE
</IfModule>

# WebSite X5 - End Code
# před nastavením jakýchkoli pravidel je třeba rewrite zapnout
RewriteEngine On
# přesměrování domény neco.domena.cz do adresáře domena.cz/adresar (podsložka www/adresar/ v FTP)
RewriteCond %{HTTP_HOST} ^subdomena\.domeny\.cz [NC]
RewriteCond %{REQUEST_URI} !^/adresar/
RewriteRule ^(.*)$ /adresar/$1 [L,QSA]
=====

(File is in attachment...)

If it is necessary to use the latest version of PHP for the proper functioning of the Website X5 Pro e-shop software, please modify the ".htaccess" file (attached) so that I can use the newest updates for Website X5 Pro.

Your customer...

Leer más
Publicado en de V. Boros
Daniel W.
Daniel W.
User
Usuario del mes EN

I'm not an htaccess expert, I found this code on the internet.

php_flag display_errors Off

Add this code to the end of the .htaccess file and test it.

If it doesn't work, then wait for the htaccess experts.

Leer más
Publicado en de Daniel W.
Franz-Josef H.
Franz-Josef H.
Moderator

That depends on the provider. Normally “php_flag” cannot be used in .htaccess file. The message “Internal Server Error” may appear.

Another way to get the same effect is to modify the php.ini file. This is flexible and allows many PHP settings to be entered in contrast to .htaccess files. If there is no php.ini, create a new one with the above entry.

Leer más
Publicado en de Franz-Josef H.
V. Boros
V. Boros
User
Autor

Thanks for the tips, I'll try, test...
I remind you that the main problem of the e-shop not working with the latest version of the program is that it does not send any mail...

Leer más
Publicado en de V. Boros