OK, today I'm getting errors every time I try to save a new product. The standard message pops up stating - 'Please check the form carefully for errors!'. I had no problems uploading & saving new products yesterday but today this error keeps popping up? So I can't save any new products now? I can't see any problems with the data that I'm entering, it's no different to what I was doing yesterday, or for any other products, so not sure what's causing the problem?
Is there anything else besides the text that might be causing the problem? Any help would be appreciated, thanks.
Is there anything else besides the text that might be causing the problem? Any help would be appreciated, thanks.
Using OC Version 3.0.3.2
Check both your PHP and OpenCart error logs for errors that could be related. Check your web browser's developer console for errors. Ask your host if they have made any changes.
It could be your max input vars settings, or mod_security, or an extension.ihateusernames wrote: ↑Wed Nov 30, 2022 11:33 amIs there anything else besides the text that might be causing the problem? Any help would be appreciated, thanks.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
You could check what data is being posted to the server by either checking browser tools under network->payload or you can have it printed out in the php error log by adding:
in admin/controller/startup/startup.php
after:
add :
then you can see if all required variables are present and if they have a proper value.
If not, then you can consider why.
in admin/controller/startup/startup.php
after:
Code: Select all
public function index() {
Code: Select all
if (!empty($this->request->post)) {
error_log('ADMIN POST: ' . print_r($this->request->post,true));
}
If not, then you can consider why.
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
I would highly suggest to add the user_token with this troubleshooting process:by mona wrote: ↑Thu Dec 01, 2022 11:00 pmYou could check what data is being posted to the server by either checking browser tools under network->payload or you can have it printed out in the php error log by adding:
in admin/controller/startup/startup.php
after:add :Code: Select all
public function index() {
then you can see if all required variables are present and if they have a proper value.Code: Select all
if (!empty($this->request->post)) { error_log('ADMIN POST: ' . print_r($this->request->post,true)); }
If not, then you can consider why.
Code: Select all
if (isset($this->session->data['user_token']) && !empty($this->request->post)) {
error_log('ADMIN POST: ' . print_r($this->request->post, true));
}
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 311 guests