Re: Adding info to order alert mail
Step 4 (verifying that the data is made available in the model). In the controller (the file from step 3) I can see that the getOrder function is called in line 359: You have to pass that data to the view. ex: $data['telephone'] = $order_info['telephone']; Then you can access your variable in the v...
Jump to post- Thu Jun 09, 2022 2:44 pm
- Replies 7
- Views 1884
Re: OpenCart does not send email to reset admin password
This problem of not sending the password does not allow me to enter the OpenCart system, and therefore, I don't have access to the platform's error log . You don’t need to be logged in to view the log file. You can locate the error log manually via FTP in your storage/logs folder. Further you want ...
Jump to post- Thu May 19, 2022 2:47 pm
- Replies 17
- Views 1231
Re: Contact form submission page blank on success [3.6.0.6]
This is an old bug, surprised it wasn't fixed in 3.0.3.6. In catalog/language/en-gb/information/contact.php You can backup and quickly try changing. $_['text_success'] = '<p>Your enquiry has been successfully sent to the store owner!</p>'; to $_['text_message'] = '<p>Your enquiry has been successful...
Jump to post- Sun May 08, 2022 2:35 pm
- Replies 3
- Views 408
Re: Duplicate Region / State values showing on checkout page
Interesting. Have you have modified Oklahoma in the past, was this an upgrade from an older OC? Any "Zone" extensions being used?
Jump to post- Sat May 07, 2022 3:11 am
- Replies 5
- Views 304
Re: Duplicate Region / State values showing on checkout page
Can you also confirm the duplicate from the Database?
Jump to post- Sat May 07, 2022 2:56 am
- Replies 5
- Views 304
Re: [SOLVED]Fatal error: Uncaught Error: Call to a member function write() on null in
I culdnt understand why? I will check this file manualy next time . Since you renamed the error log filename in store settings, I am guessing what’s happening is when used outside the catalog, $config is falling back to the log configuration found in system/config/default.php and not using the conf...
Jump to post- Thu May 05, 2022 3:21 pm
- Replies 26
- Views 4859
Re: [SOLVED]Fatal error: Uncaught Error: Call to a member function write() on null in
Strange ... Try newing up the class directly.
Code: Select all
$this->log = new \Log('test.log');
$this->log->write('LOG TEST');
If that still doesn't work, attach your storage/modification/system/library/cart/cart.php file Jump to post
- Thu May 05, 2022 11:30 am
- Replies 26
- Views 4859
Re: [SOLVED]Fatal error: Uncaught Error: Call to a member function write() on null in
Are you sure you are not using in a conditional statement? Quickly test it by writing from the __construct method. In system/library/cart/cart.php or if you are using ocmod try editing the cache file direct via storage/modification/system/library/cart/cart.php In the __construct method Below $this->...
Jump to post- Thu May 05, 2022 11:01 am
- Replies 26
- Views 4859
Re: PHP permission issues / storage folder
cd /home/adminuser then ls -al check your permissions on the actual storage folder.
Jump to post- Thu Apr 28, 2022 9:15 am
- Replies 23
- Views 3874
Re: PHP permission issues / storage folder
For the 500 errors are you looking at your server error log or the opencart error log? For 500 errors you need to look at your server error logs not the opencart error log.
Jump to post- Thu Apr 28, 2022 9:09 am
- Replies 23
- Views 3874
Re: Parse error: syntax error / account.php on line 104
You can look for catalog/controller/account/account.php from the storage/modification directory and see if any modification exists to that file.
It may lead you to the extension or cause of the problem.
--
- Wed Apr 27, 2022 2:42 am
- Replies 13
- Views 849
Re: How can Admin get the same email messages as the Affiliate
For the admin alert order email, you would want to look at the "alert" method in. catalog/controller/mail/order.php Further the corresponding twig template in ... catalog/view/theme/default/template/mail/order_alert.twig If you are not seeing changes then you need to clear your theme and m...
Jump to post- Mon Apr 25, 2022 2:41 pm
- Replies 11
- Views 606
Re: Left Menu disappears in mobile
That is the default functionality of OpenCarts theme, the left column is hidden on small devices. You can see by the line below in catalog/view/theme/default/template/common/column_left.twig <aside id="column-left" class="col-sm-3 hidden-xs"> You could remove hidden-xs, however k...
Jump to post- Sun Apr 24, 2022 4:57 am
- Replies 7
- Views 1030
Re: Missing Order OC-3.0.3.2
If you are not seeing the notifiy URL in your access logs then the callback may be blocked or not configured correct. (as mentioned above) index.php?route=extension/payment/firstdata/notify Do you see anything with that in your access logs? Keep in mind there are sometimes two access logs, one for h...
Jump to post- Sat Apr 23, 2022 1:24 am
- Replies 33
- Views 58344
Re: [SOLVED] Text formatting issue after moving to new server
What PHP version?
If you are on PHP 7.4 prior to OC 3.0.3.6 there is a twig spacing issue that can also cause emails to not honor newlines, etc.
- Tue Apr 19, 2022 2:45 pm
- Replies 6
- Views 542
Re: Modifications Refresh - Error
Did you try writing the fix as a modification?
-
- Sat Apr 16, 2022 1:56 am
- Replies 7
- Views 1227
Re: Failed opening required '/system/startup.php'
So I have a follow-up question. Do you suppose I could reinstall OpenCart directly onto the live site, but leave the existing database there (I can access the DB just fine). Would all of my products, etc still be there intact? If you run through the installer again and use your same database you wi...
Jump to post- Sat Apr 16, 2022 1:04 am
- Replies 15
- Views 24970
Re: Failed opening required '/system/startup.php'
Depends on your server setup, but sometimes with multi-PHP, the handler is done via .htaccess. There are occasions that the .htaccess file doesn’t always get updated with the current PHP version and you get stuck on a different version then what’s being reported. Running a simple phpinfo() would be ...
Jump to post- Fri Apr 15, 2022 4:56 am
- Replies 15
- Views 24970
Re: when changed order status the system sent a greeting email instead of order update email
Are you editing the order in the admin or updating the order status from the admin order info page?
Jump to post- Bug Reports
- when changed order status the system sent a greeting email instead of order update email
- Fri Apr 15, 2022 4:16 am
- Replies 18
- Views 4815
Re: Failed opening required '/system/startup.php'
I would have your host re-check your PHP version. The errors you are posting above are similar to PHP 8.x errors.
Jump to post- Fri Apr 15, 2022 4:06 am
- Replies 15
- Views 24970