Steve Bartlett Posted June 3, 2014 Report Share Posted June 3, 2014 My url should be usvcg.org but the only way I can see the website is through usvcg.org/phpvms. Is there anyway to get rid of the phpvms part? Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted June 3, 2014 Moderators Report Share Posted June 3, 2014 Move the website files from the phpvms folder to the main folder. Also, open your local.config.php file and edit the website url (called as SITE_URL). Quote Link to comment Share on other sites More sharing options...
Steve Bartlett Posted June 3, 2014 Author Report Share Posted June 3, 2014 Okay, sorry I am kind of new to this. What is the best way to move them? Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted June 3, 2014 Moderators Report Share Posted June 3, 2014 How did you uploaded them? Quote Link to comment Share on other sites More sharing options...
Steve Bartlett Posted June 3, 2014 Author Report Share Posted June 3, 2014 via the install php in my web browser Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted June 3, 2014 Moderators Report Share Posted June 3, 2014 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... Quote Link to comment Share on other sites More sharing options...
Steve Bartlett Posted June 3, 2014 Author Report Share Posted June 3, 2014 Okay so, do I download them first on to my desktop? Yes I am using Filezilla, says I can't transfer between different instances of Filezilla has not been implemented yet. Quote Link to comment Share on other sites More sharing options...
Steve Bartlett Posted June 3, 2014 Author Report Share Posted June 3, 2014 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) Quote Link to comment Share on other sites More sharing options...
Steve Bartlett Posted June 3, 2014 Author Report Share Posted June 3, 2014 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? Quote Link to comment Share on other sites More sharing options...
StartVM Posted June 4, 2014 Report Share Posted June 4, 2014 Go into /public_html/core/local.config.php and make sure to update the url of your phpVMS installation Quote Link to comment Share on other sites More sharing options...
StartVM Posted June 4, 2014 Report Share Posted June 4, 2014 I may just be me, but I went to your website and the registration for displays this http://i.gyazo.com/b89aa62912abbadde516e55787669a19.png Did you edit it at all? If so, upload the following code to registration_mainform.tpl http://pastebin.com/gpryGgnT Quote Link to comment Share on other sites More sharing options...
Steve Bartlett Posted June 4, 2014 Author Report Share Posted June 4, 2014 It's working now. I had accidently modified the airline field in the registration_main.tpl instead of the hub field like I wanted. Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted June 4, 2014 Moderators Report Share Posted June 4, 2014 There was not need to create a new topic for the same problem. Topic merged Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.