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

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
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>
×

Important Information

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