opencart2.3

fclose() expects parameter 1 to be resource boolean given in opencart library/log.php opencart

五迷三道 提交于 2021-02-08 11:52:27
问题 I have installed opencart2.3 and it was working fine on my localhost. Now I have uploaded it onto Amazon AWS server and its giving me following error And when I go to modification and make a refresh, this is shown: Warning: unlink(/var/www/html/system/storage/modification/system/library/template/tiwg.php): Permission denied in /var/www/html/diveandfeelalive/controller/extension/modification.php on line 101Warning: unlink(/var/www/html/system/storage/modification/system/library/template/php

access session data of opencart through php file

陌路散爱 提交于 2019-12-24 22:26:19
问题 I am new to opencart. I have my basic php code at http://localhost/testphp and my opencart is installed at http://localhost/opencart . What I want to do is that in testphp , I have a page in which I want to check that if any user is logged in or not at opencart . If it is logged in then I want to perform x function and It not logged in then want to perform y function I have tried to logged in to opencart and tried to print_r($_SESSION) in testphp. It is returning blank. How can I perform this

Dont Send email for customers by email opencart 2.3.0.2 in admin

流过昼夜 提交于 2019-12-12 19:15:00
问题 i want to send email for customers email but show message successful but not send email for yahoo or gmail an other. my opencart is 2.3.0.2 Secure SSL/TLS Settings (Recommended) Username: sales@Max10.com Password: Use the email account’s password. Incoming Server: 23.host.com IMAP Port: 693 POP3 Port: 695 Outgoing Server: 23.host.com SMTP Port: 512 IMAP, POP3, and SMTP require authentication. Non-SSL Settings (NOT Recommended) Username: sales@Max10.com Password: Use the email account’s

Display block HTML only on main page?

谁说胖子不能爱 提交于 2019-12-10 11:15:26
问题 I tried to modify home controller adding new variable: $data["header_home"] = true; Then I try to check this in header.twig tetmplate like as: {% if header_home %} <div>Home</div> {% else %} <div>Not Home</div> {% endif %} When I open home page by index.php or just url address it does not work, I mean I dont see <div>Home</div> . How to fix it, what do wrong? This is home controller: <?php class ControllerCommonHome extends Controller { public function index() { $this->document->setTitle(

Display block HTML only on main page?

旧时模样 提交于 2019-12-06 08:21:33
I tried to modify home controller adding new variable: $data["header_home"] = true; Then I try to check this in header.twig tetmplate like as: {% if header_home %} <div>Home</div> {% else %} <div>Not Home</div> {% endif %} When I open home page by index.php or just url address it does not work, I mean I dont see <div>Home</div> . How to fix it, what do wrong? This is home controller: <?php class ControllerCommonHome extends Controller { public function index() { $this->document->setTitle($this->config->get('config_meta_title')); $this->document->setDescription($this->config->get('config_meta

Why is OpenCart 2.3 custom theme not showing?

帅比萌擦擦* 提交于 2019-11-28 11:35:08
I've read through some guides and watched a YouTube video on how to create a custom theme for OpenCart. After trying various things it still doesn't seem to be working right. If I go to 'Extensions > Themes > Edit Store' I can switch the theme directory but this doesn't seem right. The question bubble there says changing the theme directory here is only for legacy support of older themes. Current themes should be available through 'System > Settings > Edit Store > General Tab (Select Theme Dropdown). Why doesn't this seem to work? The new version is supposed to fall back on the default theme

Why is OpenCart 2.3 custom theme not showing?

亡梦爱人 提交于 2019-11-27 06:22:28
问题 I've read through some guides and watched a YouTube video on how to create a custom theme for OpenCart. After trying various things it still doesn't seem to be working right. If I go to 'Extensions > Themes > Edit Store' I can switch the theme directory but this doesn't seem right. The question bubble there says changing the theme directory here is only for legacy support of older themes. Current themes should be available through 'System > Settings > Edit Store > General Tab (Select Theme