August 15, 200718 yr Hi, I've created a php site with the php site assistant from FileMaker 9.0 advanced. Whatever what type of site we make, the file fmview required Date.php, which is not created in the process and does not exist, so the site displays an error at the beginning... Anyone knows something about this Date.php file?? Thanks!
August 15, 200718 yr i'm not familiar with the php site assistant but, based on your error it could be that the file exists but not in the place that php is looking for it. If you can verify that it does exist somewhere, then it is just a matter of getting it into the php include path or adding its location to the include path. If it does not exist anywhere... well, this post is not helping you. see here http://us3.php.net/manual/en/function.include.php for a discussion that might help if you need to fix that path. Don
August 15, 200718 yr Open up fmview.php and see where the Date.php file is trying to be included or required from.
September 7, 200718 yr Author Hi, I still get the problem. The code generated by php assistant require Date.php but is not created. Could anyone can try to generate a site with the assistant and see if you get the Date.php....? And if it works, maybe post the file so I could dowload it... It would be greatly appreciated!! Thanks
September 7, 200718 yr Author I've removed the "require_once Date.php" line and everything seems to work correctly. One other thing to look at is the hostspec, wich is the IP address of the server hosting the database (if it's the case) because the assistant take for granted that the database is on localhost. And also the layout name was missing...
Create an account or sign in to comment