{"id":3218,"date":"2022-05-24T11:59:31","date_gmt":"2022-05-24T13:42:11","guid":{"rendered":"https:\/\/opencart.ir\/blog\/?p=3218"},"modified":"2024-12-21T14:30:34","modified_gmt":"2024-12-21T11:00:34","slug":"common-opencart-errors-issues-and-how-to-solve","status":"publish","type":"post","link":"https:\/\/opencart.ir\/blog\/common-opencart-errors-issues-and-how-to-solve\/","title":{"rendered":"\u062e\u0637\u0627\u0647\u0627\u06cc \u0631\u0627\u06cc\u062c \u0627\u067e\u0646 \u06a9\u0627\u0631\u062a \u0648 \u0646\u062d\u0648\u0647 \u062d\u0644 \u0622\u0646\u0647\u0627"},"content":{"rendered":"<div style=\"text-align: justify;\">\u062f\u0631 \u0627\u067e\u0646 \u06a9\u0627\u0631\u062a \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0647\u0646\u06af\u0627\u0645 \u0646\u0635\u0628 \u06cc\u0627 \u0628\u0631\u0627\u06cc \u0645\u062b\u0627\u0644 \u06af\u0631\u0641\u062a\u0646 \u062e\u0631\u0648\u062c\u06cc \u0645\u062d\u0635\u0648\u0644\u0627\u062a \u0628\u0627 \u062e\u0637\u0627\u0647\u0627\u06cc \u0627\u067e\u0646 \u06a9\u0627\u0631\u062a \u0645\u0648\u0627\u062c\u0647 \u0634\u0648\u06cc\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634\u060c \u0631\u0627\u06cc\u062c\u200c \u062a\u0631\u06cc\u0646 \u062e\u0637\u0627\u0647\u0627\u06cc \u0627\u067e\u0646 \u06a9\u0627\u0631\u062a \u0631\u0627 \u06a9\u0647 \u062f\u0631 \u062d\u06cc\u0646 \u062a\u0648\u0633\u0639\u0647 \u0628\u0627 \u0622\u0646\u0647\u0627 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0645\u0648\u0627\u062c\u0647 \u0634\u0648\u06cc\u062f \u0631\u0627 \u062c\u0645\u0639\u200c \u0622\u0648\u0631\u06cc \u06a9\u0631\u062f\u06cc\u0645 \u0648 \u0631\u0627\u0647\u200c \u062d\u0644\u200c \u0647\u0627\u06cc\u06cc \u0628\u0631\u0627\u06cc \u062e\u0637\u0627\u0647\u0627\u06cc \u0627\u067e\u0646 \u06a9\u0627\u0631\u062a \u0627\u0631\u0627\u0626\u0647 \u062f\u0627\u062f\u0647 \u0627\u06cc\u0645. \u0627\u0645\u062a\u062d\u0627\u0646 \u06a9\u0646\u06cc\u062f \u0648 \u0627\u0645\u06cc\u062f\u0648\u0627\u0631\u06cc\u0645 \u0628\u062a\u0648\u0627\u0646\u06cc\u062f \u0645\u0634\u06a9\u0644\u0627\u062a \u0631\u0627 \u062d\u0644 \u06a9\u0646\u06cc\u062f.<\/div>\n<div><\/div>\n<div style=\"text-align: justify;\">\n<h2>\u0635\u0641\u062d\u0627\u062a \u0633\u0641\u06cc\u062f \u062e\u0627\u0644\u06cc \u06cc\u0627 \u062e\u0637\u0627\u06cc 500 \u0633\u0631\u0648\u0631 \u062f\u0627\u062e\u0644\u06cc<\/h2>\n<p>\u0635\u0641\u062d\u0627\u062a \u0633\u0641\u06cc\u062f \u062e\u0627\u0644\u06cc \u06cc\u06a9 \u062e\u0637\u0627\u00a0 PHP \u0647\u0633\u062a\u0646\u062f \u06a9\u0647 \u0628\u0647 \u062f\u0644\u0627\u06cc\u0644\u06cc \u067e\u06cc\u0627\u0645 \u0647\u0627\u06cc \u062e\u0637\u0627 \u0631\u0627 \u0646\u0645\u0627\u06cc\u0634 \u0646\u0645\u06cc \u062f\u0647\u062f \u0648 \u062f\u0644\u06cc\u0644 \u0639\u062f\u0645 \u0646\u0645\u0627\u06cc\u0634 \u062e\u0637\u0627 \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0633\u0631\u0648\u0631 \u0634\u0645\u0627 \u0628\u0631\u0627\u06cc \u0646\u0645\u0627\u06cc\u0634 \u062e\u0637\u0627\u0647\u0627 \u062a\u0646\u0638\u06cc\u0645 \u0646\u0634\u062f\u0647 \u0627\u0633\u062a.<br \/>\n\u0628\u0647 \u0642\u0633\u0645\u062a \u067e\u0646\u0644 \u0645\u062f\u06cc\u0631\u06cc\u062a&gt;&gt; \u0633\u06cc\u0633\u062a\u0645&gt;&gt; \u062a\u0646\u0638\u06cc\u0645\u0627\u062a&gt;&gt; \u0648\u06cc\u0631\u0627\u06cc\u0634 \u0641\u0631\u0648\u0634\u06af\u0627\u0647 &gt;&gt; \u062a\u0628 \u0633\u0631\u0648\u0631 \u0628\u0631\u0648\u06cc\u062f \u0648 \u062f\u0631 \u0627\u0646\u062a\u0647\u0627\u06cc \u062c\u0627\u06cc\u06cc \u06a9\u0647 &#8220;\u0645\u062f\u06cc\u0631\u06cc\u062a \u062e\u0637\u0627\u0647\u0627&#8221; \u0631\u0627 \u0645\u0634\u0627\u0647\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u062f\u060c &#8220;\u0628\u0644\u0647&#8221; \u0631\u0627 \u0628\u0631\u0627\u06cc \u201c\u0646\u0645\u0627\u06cc\u0634 \u062e\u0637\u0627\u0647\u0627\u201d \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f.<br \/>\n\u0627\u06af\u0631 \u0628\u0627\u0632 \u0647\u0645 \u062e\u0637\u0627 \u0631\u0627 \u0645\u0634\u0627\u0647\u062f\u0647 \u0646\u06a9\u0631\u062f\u06cc\u062f\u060c \u0641\u0627\u06cc\u0644 php.ini \u0631\u0627 \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f \u0648 \u06a9\u062f \u0632\u06cc\u0631 \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre dir=\"ltr\"> display_errors = 1; error_reporting = E_ALL; log_errors = 1 ;<\/pre>\n<p>\u0627\u06af\u0631 \u0628\u0627\u0632 \u0647\u0645 \u062e\u0637\u0627 \u0631\u0627 \u0645\u0634\u0627\u0647\u062f\u0647 \u0646\u06a9\u0631\u062f\u06cc\u062f\u060c \u0641\u0627\u06cc\u0644 index.php \u0631\u0627 \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f \u0648 \u06a9\u062f \u0632\u06cc\u0631 \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f (\u062e\u0637 2):<\/p>\n<pre dir=\"ltr\">ini_set('display_errors', 1); ini_set('log_errors', 1); error_reporting (E_ALL);<\/pre>\n<p>\u0647\u0645\u0686\u0646\u0627\u0646 \u062e\u0637\u0627 \u0631\u0627 \u0645\u0634\u0627\u0647\u062f\u0647 \u0646\u0645\u06cc \u06a9\u0646\u06cc\u062f\u060c \u0633\u067e\u0633 &#8220;\u0633\u0637\u062d \u0641\u0634\u0631\u062f\u0647 \u0633\u0627\u0632\u06cc \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc \u062e\u0631\u0648\u062c\u06cc&#8221; \u062e\u0648\u062f \u0631\u0627 \u062f\u0631 \u062a\u0628 \u0633\u06cc\u0633\u062a\u0645&gt; \u062a\u0646\u0638\u06cc\u0645\u0627\u062a&gt; \u0633\u0631\u0648\u0631 \u0631\u0648\u06cc 0 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f.<\/p>\n<p>\u0627\u06af\u0631 \u062e\u0637\u0627 \u0631\u0627 \u0645\u0634\u0627\u0647\u062f\u0647 \u06a9\u0631\u062f\u06cc\u062f\u060c \u0645\u0634\u06a9\u0644\u0627\u062a \u0631\u0627 \u062d\u0644 \u06a9\u0646\u06cc\u062f\u060c \u0627\u0645\u0627 \u0627\u06af\u0631 \u062e\u0637\u0627\u0647\u0627 \u0631\u0627 \u0645\u0634\u0627\u0647\u062f\u0647 \u0646\u06a9\u0631\u062f\u06cc\u062f\u060c \u0628\u0647 \u0627\u062d\u062a\u0645\u0627\u0644 \u0632\u06cc\u0627\u062f \u062e\u0637\u0627\u06cc \u0633\u0631\u0648\u0631 \u0627\u0633\u062a.<\/p>\n<p>\u0647\u0645\u0686\u0646\u06cc\u0646 \u0627\u06af\u0631 \u0622\u0646 \u0631\u0627 \u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0647 \u0628\u0627\u0634\u06cc\u062f\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u06af\u0632\u0627\u0631\u0634 \u062e\u0637\u0627\u0647\u0627 \u0631\u0627 \u062f\u0631 \u0641\u0627\u06cc\u0644 error.log \u0645\u0634\u0627\u0647\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3230 size-full\" src=\"https:\/\/opencart.ir\/blog\/wp-content\/uploads\/opencart-learning\/profesional-tutorials\/blank-screen-issues.jpg\" alt=\"blank-screen-issues\" width=\"400\" height=\"150\" srcset=\"https:\/\/opencart.ir\/blog\/wp-content\/uploads\/opencart-learning\/profesional-tutorials\/blank-screen-issues.jpg 400w, https:\/\/opencart.ir\/blog\/wp-content\/uploads\/opencart-learning\/profesional-tutorials\/blank-screen-issues-300x113.jpg 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/p>\n<p>\u0639\u0645\u062f\u062a\u0627 \u0627\u06cc\u0646 \u062e\u0637\u0627 \u0628\u0627 \u0631\u0627\u0647 \u062d\u0644 \u0647\u0627\u06cc \u0628\u0627\u0644\u0627 \u0628\u0631\u0637\u0631\u0641 \u0645\u06cc \u0634\u0648\u062f \u0648 \u062e\u0637\u0627\u06cc \u0633\u0631\u0648\u0631 \u062f\u0627\u062e\u0644\u06cc 500 \u0631\u0627 \u0646\u06cc\u0632 \u0645\u06cc \u062a\u0648\u0627\u0646 \u0628\u0627 \u0631\u0648\u06cc\u06a9\u0631\u062f\u06cc \u0645\u0634\u0627\u0628\u0647 \u062d\u0644 \u06a9\u0631\u062f.<\/p>\n<p>&nbsp;<\/p>\n<h2>Variable \/ Index (\u0645\u062a\u063a\u06cc\u0631) \u062a\u0639\u0631\u06cc\u0641 \u0646\u0634\u062f\u0647<\/h2>\n<p>\u06cc\u06a9 \u0645\u062a\u063a\u06cc\u0631 \u062a\u0639\u0631\u06cc\u0641 \u0646\u0634\u062f\u0647 (undefined variable) \u062f\u0631 \u0633\u0648\u0631\u0633 \u06a9\u062f \u0628\u0631\u0646\u0627\u0645\u0647\u060c \u0645\u062a\u063a\u06cc\u0631\u06cc \u0627\u0633\u062a \u06a9\u0647 \u062f\u0631 \u06a9\u062f \u0628\u0647 \u0622\u0646 \u0627\u0631\u062c\u0627\u0639 \u062f\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f \u0627\u0645\u0627 \u0642\u0628\u0644\u0627 \u062f\u0631 \u0622\u0646 \u06a9\u062f \u062a\u0639\u0631\u06cc\u0641 \u0646\u0634\u062f\u0647 \u0627\u0633\u062a. \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u0627\u0632 &#8220;()isset\u201d \u0628\u0631\u0627\u06cc \u0628\u0631\u0631\u0633\u06cc \u0627\u06cc\u0646\u06a9\u0647 \u0622\u06cc\u0627 \u0645\u062a\u063a\u06cc\u0631 \u062a\u0646\u0638\u06cc\u0645 \u0634\u062f\u0647 \u0648 \u0645\u0634\u06a9\u0644 \u0631\u0627 \u062d\u0644 \u0645\u06cc \u06a9\u0646\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n<p>\u0646\u0648\u0639 \u062e\u0637\u0627:<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">Notice: Undefined index: filter in <strong>\/Applications\/XAMPP\/xamppfiles\/htdocs\/opencart303\/catalog\/controller\/product\/category.php<\/strong> on line<\/p>\n<p>\u0631\u0627\u0647 \u062d\u0644<\/p>\n<pre dir=\"ltr\">\/\/$filter = $this-&gt;request-&gt;get['filter'];\r\n\r\nif (isset($this-&gt;request-&gt;get['filter'])) {\r\n$filter = $this-&gt;request-&gt;get['filter'];\r\n} else {\r\n$filter = '';\r\n}<\/pre>\n<p>\u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f<\/p>\n<pre dir=\"ltr\"> $filter = $this-&gt;request-&gt;get['filter'];<\/pre>\n<p>\u0648 \u0628\u0631\u0631\u0633\u06cc \u0628\u0627 isset \u06cc\u06a9\u06cc \u0627\u0632 \u0631\u0627\u0647 \u062d\u0644 \u0647\u0627\u06cc \u0622\u0646 \u0627\u0633\u062a.<br \/>\n\u0627\u06af\u0631 \u0647\u0646\u06af\u0627\u0645 \u0646\u0635\u0628 \u0645\u0627\u0698\u0648\u0644 \u0647\u0627 \u06cc\u0627 \u0627\u0641\u0632\u0648\u0646\u0647 \u0647\u0627 \u0628\u0627 \u0645\u0634\u06a9\u0644 \u0645\u0648\u0627\u062c\u0647 \u0634\u062f\u06cc\u062f\u060c \u0628\u0627\u06cc\u062f \u06a9\u062f \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f \u06cc\u0627 \u0628\u0627 \u062a\u0648\u0633\u0639\u0647 \u062f\u0647\u0646\u062f\u0647 \u062a\u0645\u0627\u0633 \u0628\u06af\u06cc\u0631\u06cc\u062f \u062a\u0627 \u0645\u0634\u06a9\u0644 \u0631\u0627 \u0628\u0631\u0627\u06cc \u0634\u0645\u0627 \u0628\u0631\u0637\u0631\u0641 \u0633\u0627\u0632\u062f.<\/p>\n<p>&nbsp;<\/p>\n<h2>\u062a\u0648\u0627\u0628\u0639\/ \u0645\u062a\u062f\u0647\u0627\u06cc \u062a\u0639\u0631\u06cc\u0641 \u0646\u0634\u062f\u0647<\/h2>\n<p>\u062e\u0637\u0627\u0647\u0627\u06cc \u062a\u0639\u0631\u06cc\u0641 \u0646\u0634\u062f\u0647 \u062a\u0627\u0628\u0639\/ \u0645\u062a\u062f \u0632\u0645\u0627\u0646\u06cc \u062f\u06cc\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f \u06a9\u0647 \u0622\u0646 \u062a\u0627\u0628\u0639 \u06cc\u0627 \u0645\u062a\u062f \u0631\u0627 \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u0645\u06cc \u06a9\u0646\u06cc\u062f \u0648\u0644\u06cc \u062a\u0639\u0631\u06cc\u0641 \u0646\u0634\u062f\u0647 \u0648 \u06cc\u0627\u0641\u062a \u0646\u0645\u06cc \u0634\u0648\u0646\u062f. IE_ERROR: \u06cc\u06a9 \u062e\u0637\u0627\u06cc Fatal \u06a9\u0647 \u0628\u0627\u0639\u062b \u062e\u0627\u062a\u0645\u0647 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0645\u06cc \u0634\u0648\u062f &#8220;Fatal error: Call to undefined function&#8221; \u06cc\u0627 &#8220;Fatal error: Call to undefined method&#8221;. \u0627\u06af\u0631 \u0641\u0627\u06cc\u0644\u200c \u0647\u0627 \u067e\u06cc\u062f\u0627 \u0646\u0634\u0648\u0646\u062f \u06cc\u0627 \u067e\u0633\u0648\u0646\u062f\u0647\u0627 \u0628\u0627 \u0646\u0633\u062e\u0647 \u0627\u067e\u0646 \u06a9\u0627\u0631\u062a \u0634\u0645\u0627 \u0633\u0627\u0632\u06af\u0627\u0631 \u0646\u0628\u0627\u0634\u0646\u062f\u060c \u0627\u06cc\u0646 \u0627\u062a\u0641\u0627\u0642 \u0645\u06cc\u200c \u0627\u0641\u062a\u062f. \u0631\u0627\u0647 \u062d\u0644 \u0647\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u062f\u0631 \u0632\u06cc\u0631 \u0628\u0627\u0634\u062f:<\/p>\n<p>\u0646\u0648\u0639 \u062e\u0637\u0627: \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc \u0627\u0635\u0644\u06cc \u0627\u067e\u0646 \u06a9\u0627\u0631\u062a<\/p>\n<ul>\n<li dir=\"ltr\" style=\"text-align: left;\"><strong>Fatal error:<\/strong> Uncaught Error: Call to undefined method DB\\MySQLi::query()<\/li>\n<li dir=\"ltr\" style=\"text-align: left;\"><strong>Fatal error:<\/strong> Uncaught Error: Call to undefined method Cart\\Cart::getProducts()<\/li>\n<li dir=\"ltr\" style=\"text-align: left;\"><strong>Fatal error:<\/strong> Uncaught Error: Call to undefined method ControllerAccountLogin::validate() in \u2026\/catalog\/controller\/account\/login.php:54<\/li>\n<\/ul>\n<p>\u0628\u0647 \u0641\u0627\u06cc\u0644 \u0628\u0631\u0648\u06cc\u062f \u0648 \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0622\u06cc\u0627 \u0641\u0627\u0646\u06a9\u0634\u0646 \u0647\u0627 \u06cc\u0627 \u0645\u062a\u062f\u0647\u0627 \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u0627\u0646\u062f \u06cc\u0627 \u062e\u06cc\u0631.<\/p>\n<p>&nbsp;<\/p>\n<h2>\u0647\u062f\u0631 \u0627\u0632 \u0642\u0628\u0644 \u0627\u0631\u0633\u0627\u0644 \u0634\u062f\u0647 \/Headers Already Sent<\/h2>\n<p>\u0646\u0648\u0639 \u062e\u0637\u0627:<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">Warning: <strong>Cannot modify header information \u2013 headers already sent <\/strong>by (output started at \/public_html\/config.php:31) in \/path\/public_html\/index.php on line.<\/p>\n<p>\u0631\u0627\u0647 \u062d\u0644:<br \/>\n\u0641\u0627\u0635\u0644\u0647 \u0647\u0627\u06cc \u0627\u0628\u062a\u062f\u0627 \u0648 \u0627\u0646\u062a\u0647\u0627\u06cc \u0641\u0627\u06cc\u0644 \u0630\u06a9\u0631 \u0634\u062f\u0647 \u0631\u0627 \u062d\u0630\u0641 \u06a9\u0646\u06cc\u062f. \u0645\u0627\u0646\u0646\u062f \u062e\u0637\u0627\u06cc \u0628\u0627\u0644\u0627 \u0628\u0627 config.php \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f.<\/p>\n<p>&nbsp;<\/p>\n<h2>\u062e\u0637\u0627\u0647\u0627\u06cc \u0646\u0634\u0633\u062a (Session)<\/h2>\n<p>\u0627\u0632 \u0627\u062f\u0645\u06cc\u0646 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0645\u06cc \u0634\u0648\u062f \u0628\u0647 \u0633\u06cc\u0633\u062a\u0645 \u0648\u0627\u0631\u062f \u0634\u0648\u062f \u0648 \u067e\u06cc\u0627\u0645 &#8220;Invalid token session. Please login again&#8221; \u062f\u0631\u06cc\u0627\u0641\u062a \u0645\u06cc \u0634\u0648\u062f<\/p>\n<p>\u0646\u0648\u0639 \u062e\u0637\u0627:<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">Warning: <strong>session_start ()<\/strong> [function.session-start]: open (\/tmp\/\u2026, O_RDWR) <strong>failed: No such file or directory (2)<\/strong> in \/path\/public_html\/system \/library \/session.php on line<\/p>\n<p>\u0631\u0627\u0647 \u062d\u0644:<\/p>\n<p><strong>\u0647\u06cc\u0686 \u0645\u0634\u06a9\u0644\u06cc \u0628\u0631\u0627\u06cc \u0641\u0627\u06cc\u0644 \u06cc\u0627 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0648\u062c\u0648\u062f \u0646\u062f\u0627\u0631\u062f<\/strong><\/p>\n<p>php.ini \u0631\u0627 \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f \u0648 \u06a9\u062f \u0632\u06cc\u0631 \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre dir=\"ltr\">session.save_path = \/tmp;<\/pre>\n<p>\u0627\u06af\u0631 \u0631\u0627\u0647 \u062d\u0644 \u0628\u0627\u0644\u0627 \u062c\u0648\u0627\u0628 \u0646\u062f\u0627\u062f\u060c \u0628\u0627 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0647\u0627\u0633\u062a \u062e\u0648\u062f \u062a\u0645\u0627\u0633 \u0628\u06af\u06cc\u0631\u06cc\u062f \u0648 \u0627\u0632 \u0622\u0646\u0647\u0627 \u0628\u067e\u0631\u0633\u06cc\u062f \u06a9\u0647 \u0686\u06af\u0648\u0646\u0647 \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f session.save_path \u0631\u0627 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f.<\/p>\n<p>&nbsp;<\/p>\n<h2>\u0627\u0646\u062f\u0627\u0632\u0647 \u062d\u0627\u0641\u0638\u0647 \u0645\u062c\u0627\u0632 \u062a\u0645\u0627\u0645 \u0634\u062f\u0647 \u0627\u0633\u062a<\/h2>\n<p>\u0627\u06cc\u0646 \u062e\u0637\u0627 \u0628\u0647 \u0627\u06cc\u0646 \u062f\u0644\u06cc\u0644 \u0631\u062e \u0645\u06cc \u062f\u0647\u062f \u06a9\u0647 \u062d\u0627\u0641\u0638\u0647 \u0647\u0627\u0633\u062a \u0634\u0645\u0627 \u0628\u0631\u0627\u06cc \u0627\u062c\u0631\u0627\u06cc \u06a9\u062f PHP \u06a9\u0627\u0641\u06cc \u0646\u06cc\u0633\u062a (\u0622\u067e\u0644\u0648\u062f \u06a9\u0631\u062f\u0646 \u062a\u0635\u0648\u06cc\u0631 \u0628\u0632\u0631\u06af\u060c \u067e\u0631\u0634\u062f\u0646 \u0633\u0637\u0644 \u0632\u0628\u0627\u0644\u0647 \u062f\u0631 \u0627\u062b\u0631 \u062d\u0630\u0641 \u0628\u0633\u06cc\u0627\u0631\u06cc \u0627\u0632 \u0645\u062d\u0635\u0648\u0644\u0627\u062a\u060c \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644 \u0647\u0627\u06cc \u0627\u0646\u0628\u0648\u0647 \u0648 \u063a\u06cc\u0631\u0647). \u0627\u0641\u0632\u0627\u06cc\u0634 \u062d\u0627\u0641\u0638\u0647 \u0627\u062e\u062a\u0635\u0627\u0635 \u062f\u0627\u062f\u0647 \u0634\u062f\u0647 \u0628\u0631\u0627\u06cc PHP \u0645\u0634\u06a9\u0644 \u0631\u0627 \u062d\u0644 \u0645\u06cc \u06a9\u0646\u062f.<\/p>\n<p>\u0646\u0648\u0639 \u062e\u0637\u0627:<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">Fatal error: the<strong> Allowed memory size<\/strong> of 1111 bytes <strong>exhausted<\/strong> (tried to allocate 1111 bytes) in \/path\/public_html\/system\/library\/image.php on line<\/p>\n<p>\u0631\u0627\u0647 \u062d\u0644:<\/p>\n<p>php.ini \u0631\u0627 \u0648\u06cc\u0631\u0627\u06cc\u0634 \u06a9\u0646\u06cc\u062f \u0648 memory_limit = 128M \u0631\u0627 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f.<\/p>\n<p>\u06cc\u0627 \u06a9\u062f \u0632\u06cc\u0631 \u0631\u0627 \u0628\u0631\u0627\u06cc htaccess php_value memory_limit 128M. \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f<\/p>\n<p style=\"direction: rtl;\">\u0627\u06af\u0631 \u0645\u0648\u0627\u0631\u062f \u0641\u0648\u0642 \u062c\u0648\u0627\u0628 \u0646\u062f\u0627\u062f\u060c \u0628\u0627 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0647\u0627\u0633\u062a \u062a\u0645\u0627\u0633 \u0628\u06af\u06cc\u0631\u06cc\u062f \u0648 \u0627\u0632 \u0622\u0646\u0647\u0627 \u0628\u062e\u0648\u0627\u0647\u06cc\u062f \u062d\u062c\u0645 \u0627\u062e\u062a\u0635\u0627\u0635 \u062f\u0627\u062f\u0647 \u0634\u062f\u0647 \u0628\u0631\u0627\u06cc PHP \u0631\u0627 \u0627\u0641\u0632\u0627\u06cc\u0634 \u062f\u0647\u0646\u062f.<\/p>\n<p>\u0647\u0634\u062f\u0627\u0631:<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\"><strong>Warning: Use of undefined constant DIR_STORAGE \u2013 assumed \u2018DIR_STORAGE\u2019 (this will throw an Error in a future version of PHP) in \u2026\/config.php on line<\/strong><\/p>\n<p>\u0628\u0631\u062e\u06cc \u0627\u0632 \u062e\u0637\u0627\u0647\u0627\u06cc \u062f\u06cc\u06af\u0631\u06cc \u06a9\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u0622\u0646\u0647\u0627 \u0631\u0648 \u0628\u0647 \u0631\u0648 \u0634\u0648\u06cc\u062f \u0628\u0647 \u0634\u0631\u062d \u0632\u06cc\u0631 \u0627\u0633\u062a:<\/p>\n<p dir=\"ltr\"><strong>Error: Calls to magic methods are not allowed!<\/strong><\/p>\n<pre dir=\"ltr\">\/\/ Stop any magical methods being called\r\nif (substr($this-&gt;method, 0, 2) == '__') {\r\nreturn new \\Exception('Error: Calls to magic methods are not allowed!');\r\n}\r\n\r\n<\/pre>\n<p dir=\"ltr\"><strong>Error: Could not call product\/category<\/strong><\/p>\n<pre dir=\"ltr\">\/\/ Initialize the class\r\nif (is_file($file)) {\r\ninclude_once($file);\r\n\r\n$controller = new $class($registry);\r\n} else {\r\nreturn new \\Exception('Error: Could not call ' . $this-&gt;route . '\/' . $this-&gt;method . '!');\r\n}<\/pre>\n<p dir=\"ltr\"><strong>Error: Could not load model<\/strong><\/p>\n<pre dir=\"ltr\">if (!$this-&gt;registry-&gt;has('model_' . str_replace('\/', '_', $route))) {\r\n$file = DIR_APPLICATION . 'model\/' . $route . '.php';\r\n$class = 'Model' . preg_replace('\/[^a-zA-Z0-9]\/', '', $route);\r\n\r\nif (is_file($file)) {\r\ninclude_once($file);\r\n$proxy = new Proxy();\r\n\/\/ Overriding models is a little harder so we have to use \r\n\/\/ PHP's magic methods\r\n\/\/ In future version we can use runkit\r\nforeach (get_class_methods($class) as $method) {\r\n$proxy-&gt;{$method} = $this-&gt;callback($this-&gt;registry, $route . '\/' . $method);\r\n}\r\n\r\n$this-&gt;registry-&gt;set('model_' . str_replace('\/', '_', (string)$route), $proxy);\r\n} else {\r\nthrow new \\Exception('Error: Could not load model ' . $route . '!');\r\n}\r\n}<\/pre>\n<p dir=\"ltr\"><strong>Error: Could not load library<\/strong><\/p>\n<p dir=\"ltr\"><strong>Error: Could not load helper<\/strong><\/p>\n<p dir=\"ltr\"><strong>Error: Could not load cache adaptor Memcache\/Redis\/APC cache!<\/strong><\/p>\n<pre dir=\"ltr\">$class = 'Cache\\\\' . $adaptor;\r\nif (class_exists($class)) {\r\n$this-&gt;adaptor = new $class($expire);\r\n} else {\r\nthrow new \\Exception('Error: Could not load cache adaptor ' . $adaptor . ' cache!');\r\n}<\/pre>\n<p dir=\"ltr\"><strong>Error: Could not load database adaptor mpdo\/mssql\/mysql\/mysqli\/postgre !<\/strong><\/p>\n<pre dir=\"ltr\">$class = 'DB\\\\' . $adaptor;\r\nif (class_exists($class)) {\r\n$this-&gt;adaptor = new $class($hostname, $username, $password, $database, $port);\r\n} else {\r\nthrow new \\Exception('Error: Could not load database adaptor ' . $adaptor . '!');\r\n}<\/pre>\n<p dir=\"ltr\"><strong>Error: Could not make a database connection using this username and password<\/strong><\/p>\n<p dir=\"ltr\"><strong>Error: Could not connect to database opencart<\/strong><\/p>\n<p dir=\"ltr\"><strong>Error: PHP GD is not installed!<\/strong><\/p>\n<pre dir=\"ltr\">if (!extension_loaded('gd')) {\r\nexit('Error: PHP GD is not installed!');\r\n}<\/pre>\n<p dir=\"ltr\" style=\"text-align: left;\"><strong>Error: Could not load image filename!<\/strong><\/p>\n<p dir=\"ltr\" style=\"text-align: left;\"><strong>Error: Invalid session ID!<\/strong><\/p>\n<p dir=\"ltr\" style=\"text-align: left;\"><strong>Warning: Install folder still exists and should be deleted for security reasons!<\/strong><\/p>\n<h2>\u0627\u0641\u0632\u0648\u0646\u0647 \u0628\u062f \u0646\u0635\u0628 \u0634\u062f\u0647\u060c \u062f\u06a9\u0645\u0647 \u0628\u0647 \u0631\u0648\u0632 \u0631\u0633\u0627\u0646\u06cc \u0631\u0627 \u062f\u0631 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0648 \u0627\u0635\u0644\u0627\u062d\u0627\u062a \u0632\u062f\u0647 \u0634\u062f\u0647 \u0648 \u067e\u0646\u0644 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0648 \u0633\u0627\u06cc\u062a \u0627\u0632 \u062f\u0633\u062a\u0631\u0633 \u062e\u0627\u0631\u062c \u0634\u062f\u0647 \u0627\u0633\u062a<\/h2>\n<p>\u0627\u0641\u0632\u0648\u0646\u0647 \u0631\u0627 \u0627\u0632 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u062d\u0630\u0641 \u06a9\u0646\u06cc\u062f\u060c \u0633\u067e\u0633 config.php \u0631\u0627 \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f \u0648 \u0645\u0642\u062f\u0627\u0631 \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u0628\u0631\u0627\u06cc \u0630\u062e\u06cc\u0631\u0647 \u0633\u0627\u0632\u06cc \u0631\u0627 \u067e\u06cc\u062f\u0627 \u06a9\u0646\u06cc\u062f. \u0628\u0647 \u067e\u0648\u0634\u0647 Storage\/ \u0628\u0631\u0648\u06cc\u062f\u060c \u0633\u067e\u0633 \u0628\u0647 modification \u0628\u0631\u0648\u06cc\u062f \u0648 \u067e\u0648\u0634\u0647 \u0647\u0627 \u0631\u0627 \u062d\u0630\u0641 \u06a9\u0646\u06cc\u062f\u060c \u0628\u0647 \u0637\u0648\u0631 \u0645\u0634\u0627\u0628\u0647 \u0628\u0647 \u067e\u0648\u0634\u0647 upload\/ \u0628\u0631\u0648\u06cc\u062f \u0648 \u0628\u0628\u06cc\u0646\u06cc\u062f \u0627\u06af\u0631 \u067e\u0648\u0634\u0647 \u0647\u0627\u06cc\u06cc \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f\u060c \u0622\u0646\u0647\u0627 \u0631\u0627 \u0646\u06cc\u0632 \u062d\u0630\u0641 \u06a9\u0646\u06cc\u062f. \u0628\u0627 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0641\u0627\u06cc\u0644 \u0647\u0627 \u0648 \u067e\u0648\u0634\u0647 \u0647\u0627\u06cc \u06a9\u0634 \u0634\u062f\u0647 \u0631\u0627 \u062d\u0630\u0641 \u0645\u06cc \u06a9\u0646\u062f. \u0633\u067e\u0633\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u062f\u0648\u0628\u0627\u0631\u0647 \u0628\u0647 \u0627\u062f\u0645\u06cc\u0646 \u062e\u0648\u062f \u062f\u0633\u062a\u0631\u0633\u06cc \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f.<\/p>\n<p>&nbsp;<\/p>\n<h2>\u062e\u0637\u0627\u06cc Fatal error uncaught exception<\/h2>\n<p dir=\"ltr\"><em><strong>Fatal error:<\/strong> Uncaught Exception: Error: Table \u2018\u2026.oc_session\u2019 doesn\u2019t exist in engine&lt;br \/&gt;Error No: 1932&lt;br \/&gt;SELECT `data` FROM `oc_session` WHERE session_id = \u2018\u2026.\u2019 AND expire &gt; 1548638620 in \u2026\/system\/library\/db\/mysqli.php:40 Stack trace: #0 \u2026\/system\/library\/db.php(45): DB\\MySQLi-&gt;query(\u2018SELECT `data` F\u2026\u2019) #1 <\/em><\/p>\n<p>\u0627\u06cc\u062c\u0627\u062f \u062c\u062f\u0648\u0644 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647\u060c \u0628\u0633\u06cc\u0627\u0631\u06cc \u0627\u0632 \u0627\u06cc\u0646 \u0646\u0648\u0639 \u062e\u0637\u0627\u0647\u0627 \u0631\u0627 \u062d\u0644 \u062e\u0648\u0627\u0647\u062f \u06a9\u0631\u062f<\/p>\n<p dir=\"ltr\"><strong>Fatal error<\/strong>: Uncaught Exception: Error: Could not load database adaptor DB_DRIVER!<\/p>\n<p>\u067e\u0648\u0634\u0647 <strong>system\/library\/DB<\/strong> \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0622\u06cc\u0627 \u0641\u0627\u06cc\u0644 \u062f\u0631\u0627\u06cc\u0648\u0631 \u0645\u0648\u0631\u062f \u0646\u06cc\u0627\u0632 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u06cc\u0627 \u062e\u06cc\u0631.<\/p>\n<p>&nbsp;<\/p>\n<h2>\u062e\u0637\u0627\u0647\u0627\u06cc \u0627\u067e\u0646 \u06a9\u0627\u0631\u062a: \u0633\u062e\u0646 \u0622\u062e\u0631<\/h2>\n<p>\u0627\u0645\u06cc\u062f\u0648\u0627\u0631\u0645 \u0627\u06cc\u0646 \u062a\u0648\u0636\u06cc\u062d\u0627\u062a \u0645\u0634\u06a9\u0644\u0627\u062a \u0648 \u062e\u0637\u0627\u0647\u0627\u06cc \u0627\u067e\u0646 \u06a9\u0627\u0631\u062a \u06a9\u0647 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u06af\u0627\u0647\u0627 \u0628\u0627 \u0622\u0646 \u0645\u0648\u0627\u062c\u0647 \u0634\u0648\u06cc\u062f \u0631\u0627 \u062d\u0644 \u06a9\u0646\u062f\u060c \u0686\u0646\u0627\u0646\u0686\u0647 \u0645\u0634\u06a9\u0644 \u062c\u062f\u06cc\u062f\u06cc \u067e\u06cc\u062f\u0627 \u06a9\u0631\u062f\u06cc\u062f \u0628\u0647 \u0645\u0627 \u0627\u0637\u0644\u0627\u0639 \u062f\u0647\u06cc\u062f\u060c \u0633\u0639\u06cc \u0645\u06cc \u06a9\u0646\u06cc\u0645 \u0631\u0627\u0647 \u062d\u0644 \u0647\u0627\u06cc \u0622\u0646 \u0631\u0627 \u0627\u0631\u0627\u0626\u0647 \u062f\u0647\u06cc\u0645.<\/p>\n<p>** \u0686\u0646\u0627\u0646\u0686\u0647 \u0628\u0627 \u062e\u0637\u0627\u0647\u0627\u06cc \u0627\u067e\u0646 \u06a9\u0627\u0631\u062a \u0631\u0648 \u0628\u0647 \u0631\u0648 \u0634\u062f\u06cc\u062f \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u0634\u0631\u06a9\u062a \u0645\u0647\u0646\u062f\u0633\u06cc \u062f\u0627\u062f\u0647 \u067e\u0631\u062f\u0627\u0632\u0627\u0646 \u0633\u067e\u0646\u062a\u0627\u0645\u0647\u0631 \u062a\u0645\u0627\u0633 \u0628\u06af\u06cc\u0631\u06cc\u062f**<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u062f\u0631 \u0627\u067e\u0646 \u06a9\u0627\u0631\u062a \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0647\u0646\u06af\u0627\u0645 \u0646\u0635\u0628 \u06cc\u0627 \u0628\u0631\u0627\u06cc \u0645\u062b\u0627\u0644 \u06af\u0631\u0641\u062a\u0646 \u062e\u0631\u0648\u062c\u06cc \u0645\u062d\u0635\u0648\u0644\u0627\u062a \u0628\u0627 \u062e\u0637\u0627\u0647\u0627\u06cc \u0627\u067e\u0646&hellip;<\/p>\n","protected":false},"author":2,"featured_media":3231,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"no","_lmt_disable":"","footnotes":""},"categories":[45,19],"tags":[],"class_list":["post-3218","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-specialized-opencart-tutorial","category-opencart-tutorial"],"_links":{"self":[{"href":"https:\/\/opencart.ir\/blog\/wp-json\/wp\/v2\/posts\/3218","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/opencart.ir\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/opencart.ir\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/opencart.ir\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/opencart.ir\/blog\/wp-json\/wp\/v2\/comments?post=3218"}],"version-history":[{"count":0,"href":"https:\/\/opencart.ir\/blog\/wp-json\/wp\/v2\/posts\/3218\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/opencart.ir\/blog\/wp-json\/wp\/v2\/media\/3231"}],"wp:attachment":[{"href":"https:\/\/opencart.ir\/blog\/wp-json\/wp\/v2\/media?parent=3218"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/opencart.ir\/blog\/wp-json\/wp\/v2\/categories?post=3218"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/opencart.ir\/blog\/wp-json\/wp\/v2\/tags?post=3218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}