Newbies Chris Dossman Posted October 31, 2013 Newbies Posted October 31, 2013 Hello everyone, I'm a noob at PHP web publishing and I have been trying to get some records to display from my database. Everything was going fine hosting the site and getting the database set up in till I tried to call the layout in question. I get the error PHP Warning: urlencode() expects parameter 1 to be string, object given in C:Program FilesFileMakerFileMaker ServerWeb Publishingpublishing-enginephpFileMakerImplementationFileMakerImpl.php on line 339 From this code $findCommand =& $fm->newFindAllCommand("organizationsPHPs"); $result = $findCommand->execute(); I'm not sure what is going on and I need help debugging it.
Newbies Chris Dossman Posted October 31, 2013 Author Newbies Posted October 31, 2013 I have tried that before but it has no effect, the error still persists.
webko Posted October 31, 2013 Posted October 31, 2013 Also... is that ampersand meant to be there? My reference looks like: $request = $fm->newFindAllCommand('LayoutName'); $result = $request->execute();
Newbies Chris Dossman Posted November 1, 2013 Author Newbies Posted November 1, 2013 I have tried to remove that before and that does not actually fix the problem. I'm still given the weird error. Could it maybe be the data from the data base that is giving the error. Is there any specific options that must be checked for the field I want to call?
Recommended Posts
This topic is 4296 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 accountSign in
Already have an account? Sign in here.
Sign In Now