Could cell_phone be a restricted field name??

By gkornbluth - January 15, 2011 - edited: January 16, 2011

Hi All,

I’m pretty sure it’s not, but here’s the thing.

I’m using the membership plugin and have set up a profile update form.

The form works perfectly, except if I use cell_phone as the field name for a text field in the form.

If I use the field name cell_phone, the page breaks when I submit the form, and none of the information pulled from a second database called common_information table is processed.

Hence, I get all kinds of foreach errors and no images from the common_information table appear.

If I change the filed name in the accounts table and the viewer to other_phone the viewer works perfectly again.

I’ve deleted and recreated the field in the accounts table, and checked and double checked the code and can’t find any reason for this anomaly.

I'm prepared to feel really dumb if someone has the answer.

Thanks,

Jerry
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php
Attachments:

member_profile.php 41K

Re: [gkornbluth] Could cell_phone be a restricted field name??

By Jason - January 17, 2011

Hi Jerry,

cell_phone wouldn't be a restricted name. I took a look at the code and I noticed that you're using the field other_phone. Does this work? When you change other_phone to cell_phone do you get an error? What was the error you get?

Let me know and I'll take a closer look.

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Could cell_phone be a restricted field name??

By gkornbluth - January 17, 2011

Thanks Jason,

I'll double check and let you know

Jerry
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Re: [gkornbluth] Could cell_phone be a restricted field name??

By gkornbluth - January 18, 2011

Well....

Seems there are poltergeists afoot.

I can't repeat the issue, but i know it was there.

Thanks for your help.

Jerry
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php