Here is the code that produces the message you see:
if($name[$i]=="")
{
$errors=1;
$error.="<li>[Field No: ".($i+1)."] The 'Field Name' for field no. ".($i+1)." was left blank.";
}
It's simply looking for an empty entry. I know you say "it is not empty" but code is code. The only way you would get this message is if either the field is empty or the code is not running properly on your host. My best suggestion is to contact your host. If they can not solve your problem, then please come back and post again.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is a virtual private server so ISP doesn't provide much in the way of support.
I've checked php settings and re-read the installation directions...
One thing - in the install directions is the following:
PHP version X or greater
PHP is a web server module that allows you to create applications using an embedded scripting language. If you don't yet have a web host and are looking for one, check their site to see what their features and software include. If you don't see PHP listed, write and ask if they support PHP (while you are at it, make sure they run it with OFF).
Something has to be OFF...but "what" isn't shown.
The server I'm working on has:
PhpCore settings:
Allow_call_time_pass_reference = Off
register_globals = Off
safe_mode = On
Any direction or comments would be appreciated.
Thanks,
BobP
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm afraid I don't have much experience with php server settings. My host works, my local test environment (Uniserver3.2) works. The test environment uses all the default installation options and worked right "out of the box".
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Have installed package on server and set all permissions for all files.
Each time I try to create a form I receive the following error:
[Field No: 1] The 'Field Name' for field no. 1 was left blank
But the Field Name "is not blank".
Any help or direction appreciated.
Here is the code that produces the message you see:
if($name[$i]=="")
{
$errors=1;
$error.="<li>[Field No: ".($i+1)."] The 'Field Name' for field no. ".($i+1)." was left blank.";
}
It's simply looking for an empty entry. I know you say "it is not empty" but code is code. The only way you would get this message is if either the field is empty or the code is not running properly on your host. My best suggestion is to contact your host. If they can not solve your problem, then please come back and post again.
Yes..
The field isn't blank, but it's probably not being Posted.
Just tried same setup on a local server and works fine.
Will check the PHP setup on the server in question.
Thanks,
bobp
Hi:
This is a virtual private server so ISP doesn't provide much in the way of support.
I've checked php settings and re-read the installation directions...
One thing - in the install directions is the following:
PHP version X or greater
PHP is a web server module that allows you to create applications using an embedded scripting language. If you don't yet have a web host and are looking for one, check their site to see what their features and software include. If you don't see PHP listed, write and ask if they support PHP (while you are at it, make sure they run it with OFF).
Something has to be OFF...but "what" isn't shown.
The server I'm working on has:
PhpCore settings:
Allow_call_time_pass_reference = Off
register_globals = Off
safe_mode = On
Any direction or comments would be appreciated.
Thanks,
BobP
I'll leave this on my site for a bit.
http://www.tnteverett.com/phpenv.php
Tis will show you all the options for my server.
I'm afraid I don't have much experience with php server settings. My host works, my local test environment (Uniserver3.2) works. The test environment uses all the default installation options and worked right "out of the box".
Thanks very much .. there are a couple of differences in the settings between yours and the server I'm working on.... (made a quick copy of the page.)
I'll try resetting to match yours one at a time and see what occurs...
Will post back here if/when I come up with something.
Thanks again.
Bob P.