R
R
Roman2016-11-14 17:42:23
PHP
Roman, 2016-11-14 17:42:23

Why does a 500 error appear when placing an order?

Hello. Please tell me what the error 500 can be connected with.
Here the site is working fine. To see the error, you need to add the product to the basket and fill in the fields example: clip2net.com/s/3EnRjVB then click the "Submit" button, as a result we get this error clip2net.com/s/3EnRsQI if you refresh this page, it opens. It turns out that nothing about the order is displayed in the admin panel, and the order itself is not processed.
The .htaccess file itself

# For full documentation and other suggested options, please see
# http://rtfm.modx.com/evolution/1.0/administration/friendly-url-solutions
# including for unexpected logouts in multi-server/cloud environments
# and especially for the first three commented out rules

#php_flag register_globals Off
AddDefaultCharset utf-8
#php_value date.timezone Europe/Moscow

#Options +FollowSymlinks
RewriteEngine On
RewriteBase /

# Fix Apache internal dummy connections from breaking [(site_url)] cache
RewriteCond %{HTTP_USER_AGENT} ^.*internal\ dummy\ connection.*$ [NC]
RewriteRule .* - [F,L]

# Rewrite domain.com -> www.domain.com -- used with SEO Strict URLs plugin
#RewriteCond %{HTTP_HOST} !^$
#RewriteCond %{HTTP_HOST} !^www\. [NC]
#RewriteCond %{HTTP_HOST} (.+)$
#RewriteRule ^(.*)$ http://www.%1/$1 [R=permanent,L] . 

# without www
#RewriteCond %{HTTP_HOST} .
#RewriteCond %{HTTP_HOST} !^example\.com [NC]
#RewriteRule (.*) http://example.com/$1 [R=301,L]

# without www  all domian
#RewriteCond %{HTTP_HOST} .
#RewriteCond %{HTTP_HOST} ^www.(.*)$ [NC]
#RewriteRule ^(.*)$ http://%1/$1 [R=301,L]

# Exclude /assets and /manager directories and images from rewrite rules
RewriteRule ^(manager|assets)/.*$ - [L]
RewriteRule \.(jpg|jpeg|png|gif|ico)$ - [L]

# For Friendly URLs
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

# Reduce server overhead by enabling output compression if supported.
#php_flag zlib.output_compression On
#php_value zlib.output_compression_level 5

MODx EVO engine, shopkeeper plugin 1.3.5 seems to be the latest for the EVO version.
Log during shipping and checkout:
terrasnayadoska.ru 91.229.216.11 - admin [14/Nov/2016:18:23:03 +0300] "POST /manager/index.php HTTP/1.1" 200 3 "http://terrasnayadoska.ru/manager/index.php?a=1&f=menu" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36" 0
terrasnayadoska.ru 176.120.117.185 - - [14/Nov/2016:18:23:59 +0300] "GET /ograzhdeniya_holzdorf.html HTTP/1.1" 200 29928 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 YaBrowser/16.9.1.1192 Safari/537.36" 0
terrasnayadoska.ru 91.229.216.11 - admin [14/Nov/2016:18:24:03 +0300] "POST /manager/index.php HTTP/1.1" 200 3 "http://terrasnayadoska.ru/manager/index.php?a=1&f=menu" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36" 0
terrasnayadoska.ru 91.229.216.11 - admin [14/Nov/2016:18:24:20 +0300] "POST /cart.html HTTP/1.1" 302 - "http://terrasnayadoska.ru/cart.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36" 0
terrasnayadoska.ru 91.229.216.11 - admin [14/Nov/2016:18:24:20 +0300] "GET /cart.html HTTP/1.1" 200 30830 "http://terrasnayadoska.ru/cart.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36" 0
terrasnayadoska.ru 91.229.216.11 - admin [14/Nov/2016:18:24:35 +0300] "POST /cart.html HTTP/1.1" 500 - "http://terrasnayadoska.ru/cart.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36" 0

error_log
terrasnayadoska.ru [Mon Nov 14 18:41:58 2016] [error] [client 91.229.216.11] PHP Fatal error:  Call to undefined function populateOrderDate() in /home/s/snegotopru/terrasnayadoska/public_html/assets/snippets/eform/eform.inc.php on line 422, referer: http://terrasnayadoska.ru/cart.html
terrasnayadoska.ru [Mon Nov 14 18:44:30 2016] [error] [client 91.229.216.11] PHP Fatal error:  Call to undefined function populateOrderDate() in /home/s/snegotopru/terrasnayadoska/public_html/assets/snippets/eform/eform.inc.php on line 422, referer: http://terrasnayadoska.ru/cart.html

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sanes, 2016-11-14
@Sanes

See line 422

/home/s/snegotopru/terrasnayadoska/public_html/assets/snippets/eform/eform.inc.php on line 422

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question