saseow
Posts: 744
|
Posted: 05/29/2015, 7:59 PM |
|
This is causing a real problem on the live server (GoDaddy shared) which gives an "Invalid Address" error. It does not happen when used locally with XAMPP. It happens when submitting a form. If I remove the parameter in the validate event the error does not happen but obviously the validation checks do not happen either.
The page has two record forms and one grid form.
There are some posts here from a few years ago which suggest that the PHP version be changed but I am hoping that someone has found a fix to this that is less drastic.
Any ideas or help would really be appreciated.
|
|
|
saseow
Posts: 744
|
Posted: 05/30/2015, 2:46 AM |
|
I have also submitted a support ticket but no reply as yet:
"I have looked through the forum and tried everything that was suggested with no luck. On my own local system when I submit a form the ccsForm parameter appears and does not cause any problems. On the live site (GoDaddy) this parameter causes an 'Invalid Address' error. The live site is running native php ver 5.4.
Please can you help and let me know if there is anything I can do to fix this."
|
|
|
DataDoIT
|
Posted: 05/30/2015, 7:00 PM |
|
Make sure your form names are unique across your entire project. For
hoo-ha's change the name of the forms on the page in question to
something that you'll know will not be duplicated elsewhere in your
project. Make certain the form ID's are also updated accordingly.
|
|
|
saseow
Posts: 744
|
Posted: 05/30/2015, 9:29 PM |
|
Thank you for the reply DataDoIT! I checked everything and no names were duplicated at all.
I eventually changed the PHP version running on the site and it has fixed this problem. The ccsForm parameter still appears but it does not give an 'Invalid Addess' error.
Thanks again and much relief!
|
|
|
DataDoIT
|
Posted: 05/31/2015, 6:14 AM |
|
To clarify, did you change the PHP version on the site at GoDaddy and/or
did you change the PHP version as specified in CCS project settings?
|
|
|
saseow
Posts: 744
|
Posted: 05/31/2015, 6:51 AM |
|
I changed the PHP version on GoDaddy from the Native 5.4.37 to non-native which was 5.4.39.
It must be some standard env. var. that they have set for everyone on a shared server and is set differently when you specify a non-standard PHP version.
It works as I said but I would still be every interested in knowing what exactly the variable is that causes the invalid address.
|
|
|