function add()
At the very end I look at the json_encode function and it looks correct. But a JSON error pops up with
re{....} which is not valid JSON. I don't know who is putting up the re in front of JSON
$this->response->addHeader('Content-Type: application/json');
$result = json_encode($json);
$this->log->debug('json final result=' . $result);
#$this->response->setOutput(json_encode($json));
$this->response->setOutput($result);
My webpage:
https://test.summitcitybullets.com/45-ACP-200-grain-SWC
I don't know where else to look.
Larene
OC version. Developers Kit > Console and Network Tabs. Server Error Logs.larenewadespitler wrote: ↑Sat Jun 11, 2022 6:35 amcatalog/controller/checkout/cart.php
function add()
At the very end I look at the json_encode function and it looks correct. But a JSON error pops up with
re{....} which is not valid JSON. I don't know who is putting up the re in front of JSON
$this->response->addHeader('Content-Type: application/json');
$result = json_encode($json);
$this->log->debug('json final result=' . $result);
#$this->response->setOutput(json_encode($json));
$this->response->setOutput($result);
My webpage:
https://test.summitcitybullets.com/45-ACP-200-grain-SWC
I don't know where else to look.
Larene
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Well seeing as your site is behind a password, and developers generally aren't telepathic, perhaps you wouldn't mind sharing what the error actually says?
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
User support
Password help4me2022!
I think I missed the Telepathy 101 class also when I earned my BS in Computer Science.
Larene
With some posters here it's a hopeless case. He can't even provide correct login details for his test site.paulfeakins wrote: ↑Mon Jun 13, 2022 6:42 pmWell seeing as your site is behind a password, and developers generally aren't telepathic, perhaps you wouldn't mind sharing what the error actually says?
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
catalog/controller/checkout/cart.php
had the letters "re" in a place they didn't belong.
When they were removed the problem was solved.
It had nothing to do with the Journal Theme.
Larene
It may have not been the case. However, you were first asked to provide your developers kit > console / network tab results as your server error logs which, in this case, if you had, the reported issue could of been solved in a much faster rate. Now that the issue has been solved, please add: [SOLVED] at the beginning of the subject line on your first post.larenewadespitler wrote: ↑Wed Jun 22, 2022 2:47 amThe problem was the file
catalog/controller/checkout/cart.php
had the letters "re" in a place they didn't belong.
When they were removed the problem was solved.
It had nothing to do with the Journal Theme.
Larene
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Hit F12 on your keyboard once you loaded the store.larenewadespitler wrote: ↑Sun Jun 26, 2022 1:20 amI have no idea what
developers kit > console / network tab results
means.
Larene
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: No registered users and 408 guests