You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Hello
When I add a new product and I click submit, it gives me an error "You did not complete all of the required fields before submitting this form. Fields missing data are highlighted. Please try again". The field missing is "Long Product Description", I have inserted text on it but it gives me the same error.
Offline
unet wrote:
Hello
When I add a new product and I click submit, it gives me an error "You did not complete all of the required fields before submitting this form. Fields missing data are highlighted. Please try again". The field missing is "Long Product Description", I have inserted text on it but it gives me the same error.
Hello
When I paste the content to the "Long Product Description" it gives me the error, but when I type it, it only save a limited number of words.
Offline
webmaster wrote:
How much text? Over 16000 characters? Does your server have anything running limiting PHP max input size? Or security controls limiting post size?
It only inputs 255 characters (with spaces). I will ask the people from my hosting company about PHP max input size and security controls limiting post size and I will get back at you.
Offline
On my hosting company I was told: "You can configure PHP settings in cPanel --> Select PHP Version --> Switch to PHP Options. I have increased "post_max_size" option for you. Additionally, you can change most of PHP settings yourself by using php_flag values in .htaccess file and ini_set(), ini_alter() PHP functions. "
I didn't solve the problem.
Last edited by unet (03-28-2017 03:55:09)
Offline
hello
The support of my hosting company restarted apache and I still have the same problem.
Last edited by unet (03-29-2017 08:57:01)
Offline
You'll need to ask your hosting company for help here. This is not an issue with the store software, rather an issue with PHP, Apache or some security modules. Whatever is running is manipulating the form data prior to it reaching the software.
Offline
webmaster wrote:
You'll need to ask your hosting company for help here. This is not an issue with the store software, rather an issue with PHP, Apache or some security modules. Whatever is running is manipulating the form data prior to it reaching the software.
The hosting company that I use asked me to ask you what PHP settings you recommend. And I was thinking maybe I need to change something on the database, but I don't know table to check.
Offline
Check to be sure the ecom_prod.desclong column is a TEXT column. That will allow it to support 16,000+ characters.
If it is, your host has to configure PHP properly. All the variables that need to be adjusted are in the PHP.ini file for the server. I have no idea what their settings are now, but they want to remove any controls related to POST max size, POST field limit, request size, etc.
Offline
webmaster wrote:
Check to be sure the ecom_prod.desclong column is a TEXT column. That will allow it to support 16,000+ characters.
If it is, your host has to configure PHP properly. All the variables that need to be adjusted are in the PHP.ini file for the server. I have no idea what their settings are now, but they want to remove any controls related to POST max size, POST field limit, request size, etc.
The column was on mediumtext and I changed to text and the problem got fixed.
Last edited by unet (04-06-2017 09:01:58)
Offline
webmaster wrote:
Check the rest of your database for that. There should only be VARCHAR(n), INTEGER(n) and TEXT columns in use.
Hello
Thanks for your help. I will check the rest of the database. The is a new problem, it saves fine but chrome gives me the message "Chrome detected unusual code on this page and blocked it to protect your personal information (for example, passwords, phone numbers, and credit cards)."
Offline
unet wrote:
Hello
When I add a new product and I click submit, it gives me an error "You did not complete all of the required fields before submitting this form. Fields missing data are highlighted. Please try again". The field missing is "Long Product Description", I have inserted text on it but it gives me the same error.
I came across the problem again but I found a solution. When I copy text from word gives me the issue, it changes the code, I copied from a txt file and the problem was solved.
Last edited by unet (07-12-2017 07:28:53)
Offline
Depending on what you type into Word, it will generate Windows characters in place of standard characters which some servers and server security software have issues with. It's best to avoid Word for typing anything that's not going to remain in Word.
Offline
webmaster wrote:
Depending on what you type into Word, it will generate Windows characters in place of standard characters which some servers and server security software have issues with. It's best to avoid Word for typing anything that's not going to remain in Word.
Thanks for your help
Offline