Jump to content
Sign in to follow this  
windworker

PHPSA generated site gives Error 22 due to missing setProperty ('hostspec','...'

Recommended Posts

Site generated from locally hosted FMS9A PHPSA works like a hose on the machine where it's hosted. That is, the FMP9 database, the FMS9A server, and the PHPSA are all on the very same machine and everything works like a clock.

Take code generated for your site and move it to a different host, and you'll find it's missing the statement, like

$fm->setProperty('hostspec', '02.fmgateway.com');

Share this post


Link to post
Share on other sites

I see this was perpetuated in FMSAPHPSA 10. One must enter the server address to access the layout to the database when generating the site. One should reasonably expect a capability for the setProperty statement to be generated that could access that very same database.

Edited by Guest

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Similar Content

    • By SanderS
      I'm having great success with the PHP site assistant aside from one major issue. I'm not able to display images stored in Supercontainer. The code below will return a broken link. If I take the reference link and paste it into any web browser on any computer on any network, the link works fine. What obvious step am I missing?


      <td rowspan="8" class="field_data">
      <?php echo "<img src='http://74.119.147.179:80/SuperContainer/Files/CKD_Files/PDT/2009/1035/90101463440377643/IMG_6944.jpg' title='Error' alt='Error' />";?>
      </td>
×
×
  • Create New...

Important Information

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