Hi,
I have OC3031 and currently get the following erros:
How can I fix them?
PHP Notice: Undefined index: name in .../catalog/controller/information/contact.php on line 145
PHP Notice: Undefined index: email in .../catalog/controller/information/contact.php on line 149
PHP Notice: Undefined index: enquiry in .../catalog/controller/information/contact.php on line 153
PHP Notice: Undefined index: password in .../catalog/controller/account/login.php on line 174
PHP Notice: Undefined index: email in .../catalog/controller/account/login.php on line 160, 167, 174, 177
PHP Notice: Undefined index: firstname in .../catalog/controller/account/register.php on line 221
PHP Notice: Undefined index: lastname in .../catalog/controller/account/register.php on line 225
PHP Notice: Undefined index: email in .../catalog/controller/account/register.php on line 229, 233
PHP Notice: Undefined index: telephone in .../catalog/controller/account/register.php on line 237
PHP Notice: Undefined index: password in .../catalog/controller/account/register.php on line 263, 267
PHP Notice: Undefined index: confirm in .../catalog/controller/account/register.php on line 267
Regards,
Morty
in contact put in the required fields:
name, email, enquiry
before pressing the submit button
in login put in the required fields:
password, email
before pressing the submit button
in register put in the required fields
firstname, lastname, email, telephone, password, confirm
before pressing the submit button
name, email, enquiry
before pressing the submit button
in login put in the required fields:
password, email
before pressing the submit button
in register put in the required fields
firstname, lastname, email, telephone, password, confirm
before pressing the submit button
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
Thanks, customers and bots do whatever they like and it's out of our control. Is there a way to prevent this in the first place by imporving the code?by mona wrote: ↑Tue Mar 28, 2023 12:27 amin contact put in the required fields:
name, email, enquiry
before pressing the submit button
in login put in the required fields:
password, email
before pressing the submit button
in register put in the required fields
firstname, lastname, email, telephone, password, confirm
before pressing the submit button
As long as you have a proper web theme for the information/contact.twig, these fields should always be submitted anyway, even if some of them are empty, in which case the validation would notice and generate regular error messages in its response, and not as PHP Notice messages!
The only way you can get these strange PHP Notice errors is from spambots. Try our SpamBot Buster to stop them.
The only way you can get these strange PHP Notice errors is from spambots. Try our SpamBot Buster to stop them.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Who is online
Users browsing this forum: No registered users and 2 guests