Jump to content

[SOLVED] Data Base Issue?


Steve Bartlett

Recommended Posts

  • Moderators

You must have a software you are using in order to upload files on your server. It might be FileZilla. Go to your public_html/phpvms folder get all the files from this folder and put them inside your public_html folder. After that go to public_html/core/local.config.php download this file and edit the website url. Replace it with the one on your server and it will work...

Link to comment
Share on other sites

Okay so, I downloaded an reloaded phpvms under public_html and now I get what looks like database error for pilot registrations. So far everything else looks fine.

Here is the error:

Cannot add or update a child row: a foreign key constraint fails (`phpvms_prefex`.`phpvms_pilots`, CONSTRAINT `phpvms_pilots_ibfk_1` FOREIGN KEY (`code`) REFERENCES `phpvms_airlines` (`code`) ON UPDATE CASCADE)

Link to comment
Share on other sites

I was having a problem with my url having to use mywebsite.org/phpvms. As instructed I moved the phpvmb files out of the phpvms folder and moved them to public_html. Now I have this problem when somebody tries to register as a pilot:

Cannot add or update a child row: a foreign key constraint fails (`phpvms_prefex`.`phpvms_pilots`, CONSTRAINT `phpvms_pilots_ibfk_1` FOREIGN KEY (`code`) REFERENCES `phpvms_airlines` (`code`) ON UPDATE CASCADE)

Any suggestions?

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