Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

  • Newbies
Posted

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.

Posted

Also... is that ampersand meant to be there? My reference looks like:

 

$request = $fm->newFindAllCommand('LayoutName');
$result = $request->execute();
  • Newbies
Posted

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?

This topic is 4039 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.