Jump to content
Server Maintenance This Week. ×

Adding fields in PHP file


This topic is 4687 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

Hello all,

I've been really frustrated in finding a way to push a field from the backend.

When I first created the site, using the PHP wizard, I did not add all the fields I would need. Now whenever I try to add a field in the PHP file (addrecord.php) I receive error 102.

The field name is exactly the same as in the specified layout.

Is there a way to make this work? Or will I have to remake this wizard to give access to the new fields that were added to the layout?

any help would be great, thanks!

Link to comment
Share on other sites

Hello all,

I've been really frustrated in finding a way to push a field from the backend.

When I first created the site, using the PHP wizard, I did not add all the fields I would need. Now whenever I try to add a field in the PHP file (addrecord.php) I receive error 102.

The field name is exactly the same as in the specified layout.

Is there a way to make this work? Or will I have to remake this wizard to give access to the new fields that were added to the layout?

any help would be great, thanks!

Error 102 usually means that either the field is not on the layout you specified in the addrecords.php.

It's been a while since I used the PHP site assistant to create a site, but if my memory serves me, somewhere near the top of the addrecords.php there should be a variable called $layoutName = "<someLayout>"

In your database, navigate to the layout specified in that variable and make sure that the field that you are trying to add in the PHP file(addrecords.php) is on that layout.

Hope that helps.

~Mark

Link to comment
Share on other sites

This topic is 4687 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.