October 31, 201312 yr Newbies 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.
October 31, 201312 yr Author Newbies I have tried that before but it has no effect, the error still persists.
October 31, 201312 yr Also... is that ampersand meant to be there? My reference looks like: $request = $fm->newFindAllCommand('LayoutName'); $result = $request->execute();
November 1, 201312 yr Author Newbies 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?
Create an account or sign in to comment