Jump to content

Server response errors with add_prep method


CXA001

Recommended Posts

Hi all,

In the process of setting up our web site to automatically send a pirep, when a pilot submits his flight on our web site.

For the most part, it seems to be working as I do receive a 200SuccessUpdated 1 of 1 message however, I am also getting the following:

An Error Was Encountered

Error Triggered: [2] fwrite() expects parameter 1 to be resource, boolean given

Line 80 in file /var/www/phpvms/api/core/functions.php

An Error Was Encountered

Error Triggered: [2] mysql_fetch_object(): supplied argument is not a valid MySQL result resource

Line 237 in file /var/www/phpvms/api/models/update_model.php

An Error Was Encountered

Error Triggered: [2] mysql_num_rows() expects parameter 1 to be resource, boolean given

Line 266 in file /var/www/phpvms/api/models/update_model.php

Any idea on what these error messages mean?

Thanks in advance,

Link to comment
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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Loading...
×
×
  • Create New...