Kryptronic Software Support Forum

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.

#1 03-21-2017 05:26:05

unet
Member
Registered: 10-24-2013
Posts: 104

Error adding product

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

 

#2 03-21-2017 06:01:32

unet
Member
Registered: 10-24-2013
Posts: 104

Re: Error adding product

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

 

#3 03-22-2017 09:29:36

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19943
Website

Re: Error adding product

How much text?  Over 16000 characters?  Does your server have anything running limiting PHP max input size?  Or security controls limiting post size?


Nick Hendler

Offline

 

#4 03-22-2017 09:50:28

unet
Member
Registered: 10-24-2013
Posts: 104

Re: Error adding product

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

 

#5 03-22-2017 09:57:12

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19943
Website

Re: Error adding product

At 16k you're running into the max limit for the database's TEXT column size.  Anything below that, there's something server-size limiting post size.


Nick Hendler

Offline

 

#6 03-28-2017 03:54:37

unet
Member
Registered: 10-24-2013
Posts: 104

Re: Error adding product

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

 

#7 03-28-2017 07:34:20

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19943
Website

Re: Error adding product

Typically Apache would need to be restarted to recognize such changes.  Was the webserver daemon restarted?


Nick Hendler

Offline

 

#8 03-28-2017 11:50:32

unet
Member
Registered: 10-24-2013
Posts: 104

Re: Error adding product

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

 

#9 03-31-2017 06:47:01

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19943
Website

Re: Error adding product

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.


Nick Hendler

Offline

 

#10 04-06-2017 04:28:02

unet
Member
Registered: 10-24-2013
Posts: 104

Re: Error adding product

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

 

#11 04-06-2017 07:49:39

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19943
Website

Re: Error adding product

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.


Nick Hendler

Offline

 

#12 04-06-2017 08:55:04

unet
Member
Registered: 10-24-2013
Posts: 104

Re: Error adding product

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

 

#13 04-07-2017 07:47:09

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19943
Website

Re: Error adding product

Check the rest of your database for that.  There should only be VARCHAR(n), INTEGER(n) and TEXT columns in use.


Nick Hendler

Offline

 

#14 04-10-2017 03:50:11

unet
Member
Registered: 10-24-2013
Posts: 104

Re: Error adding product

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

 

#15 04-10-2017 07:45:06

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19943
Website

Re: Error adding product

Never heard of that one.


Nick Hendler

Offline

 

#16 07-11-2017 08:23:23

unet
Member
Registered: 10-24-2013
Posts: 104

Re: Error adding product

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

 

#17 07-12-2017 07:16:26

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19943
Website

Re: Error adding product

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.


Nick Hendler

Offline

 

#18 07-12-2017 07:29:20

unet
Member
Registered: 10-24-2013
Posts: 104

Re: Error adding product

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

 

#19 10-02-2017 09:35:18

Alberto90
Member
From: London
Registered: 10-02-2017
Posts: 1
Website

Re: Error adding product

I had the same problem hmm

Offline

 

Board footer