Jump to content

  •  

Photo

FM PHP Server Issue.


  • Please log in to reply
5 replies to this topic

#1 tir  member

tir
  • Members
  • 9 posts
  • FM Application:9 Advance
  • Platform:Cross Platform
  • Time Online: 4h 27m 24s

Posted 05 December 2011 - 02:10 AM

I have a Filemaker and PHP connection set up.When I try to login to the PHP application i get an error with error code 22 and error description as 'Unknown Error'.
The Filemaker version is Filemaker Server 11 and the Client version is Filemaker 9.
Does anybody know about this error and how to resolve it?
  • 0

#2 webko  master

webko
  • Members
  • 313 posts
  • LocationSydney, Australia
  • FM Application:11 Advance
  • Platform:Cross Platform
  • Skill Level:Expert
  • Membership:TechNet, FileMaker Business Alliance
  • Time Online: 24d 22h 58m 11s

Posted 07 December 2011 - 03:20 PM

Why is the client version of relevance?

The PHP page should be on a webserver, that connects to the FMS or FMSA server with the Web Publishing Engine set up on it. Where are you seeing Error 22?
  • 0

#3 fmbug  apprentice

fmbug
  • Members
  • 156 posts
  • FM Application:11 Advance
  • Platform:Cross Platform
  • Skill Level:Expert
  • Time Online: 6d 7h 21m 32s

Posted 08 December 2011 - 12:01 AM

tir, do one thing. Make you connection file like this:

-----

define("FM_HOST","http://192.168.2.4");//your server ip
define("FM_FILE", "Khan");// file name
define("FM_USER", "admin");// database username
define("FM_PASS", "admin");// database password

require_once('fmview.php');
require_once('error.php');
require_once('FileMaker.php');

//connection string
$fm = new FileMaker(FM_FILE, FM_HOST, FM_USER, FM_PASS);
--
  • 0
Always...

fmbug

#4 tir  member

tir
  • Members
  • 9 posts
  • FM Application:9 Advance
  • Platform:Cross Platform
  • Time Online: 4h 27m 24s

Posted 08 December 2011 - 02:59 AM

The PHP pages are stored in "C:\\intelput\www root" folder.

I get the error while accessing the file through the browser.
  • 0

#5 fmbug  apprentice

fmbug
  • Members
  • 156 posts
  • FM Application:11 Advance
  • Platform:Cross Platform
  • Skill Level:Expert
  • Time Online: 6d 7h 21m 32s

Posted 13 December 2011 - 04:42 AM

you should use FileMaker server to put the database file. and according to me you should use Xammp as PHP server. Put your folder in the htdocs folder of Xammp in C drive. Please try explore more about your issues.
  • 0
Always...

fmbug

#6 fmworm  Still learning........

fmworm
  • Members
  • 70 posts
  • FM Application:13 Advance
  • Platform:Mac OS 9
  • Skill Level:Intermediate
  • Membership:FileMaker Business Alliance
  • Time Online: 8d 10h 56m 3s

Posted 13 December 2011 - 09:12 PM

1)check the folder permission.
2) Upload the files again on server, or
3) Reinstall fm server and upload the files again.
  • 0




FMForum Advertisers