N730AN Posted February 1 Report Posted February 1 Hi everyone! I am new to phpVMS and website creation, so please excuse me, but this is completely stumping me. I have added EGLL and KIAD in the airports section, but when I try to create new flights, I cannot find these airports in the dropdowns. I already checked that my .env APP_URL is correct for the mySQL databse, but I'm not sure what else could be causing this. Does anyone have any ideas? Your help is much appreciated. Quote
DisposableHero Posted February 1 Report Posted February 1 13 hours ago, N730AN said: Hi everyone! I am new to phpVMS and website creation, so please excuse me, but this is completely stumping me. I have added EGLL and KIAD in the airports section, but when I try to create new flights, I cannot find these airports in the dropdowns. I already checked that my .env APP_URL is correct for the mySQL databse, but I'm not sure what else could be causing this. Does anyone have any ideas? Your help is much appreciated. Did you read this post ? It explains the possible causes and solutions. I bet it is just a CORS issue on your end. Good luck Quote
DisposableHero Posted February 1 Report Posted February 1 Specially this post and forward, last post also helps Quote
N730AN Posted February 1 Author Report Posted February 1 26 minutes ago, DisposableHero said: Specially this post and forward, last post also helps Hi, I already looked at both of these posts and haven't been able to fix the error still. Something I've noticed is that in their screenshots the dropdown says "Searching..." but for me the dropdown says Searching for a little bit and then just says The results could not be loaded. I already verified that my APP_URL says https and then the URL of my website. Could there be any other possible CORS issue? Should the APP_URL be <website URL>/phpvms instead of <website URL>? Thank you so much for your help. I am using disposable theme and it looks splendid! Quote
DisposableHero Posted February 1 Report Posted February 1 You can check your browser console for CORS errors, if it is there you need to be sure the url you are using. As an example, if your site is using https://... in your .env file, then you should be visiting your https:// site (or vice versa). Best way to understand this is the browser console (press F12 when the error occurs). APP_URL should point where your v7 root is, if it is installed under a folder called /phpvms then of course your APP_URL should point that folder. If you share your url we can check too. https://www.yoursite.com/phpvms => APP_URL = 'https://www.yoursite.com/phpvms' https://crew.yoursite.com => APP_URL = 'https://crew.yoursite.com' That simple is the logic. Hope this helps Quote
N730AN Posted February 1 Author Report Posted February 1 1 hour ago, DisposableHero said: You can check your browser console for CORS errors, if it is there you need to be sure the url you are using. As an example, if your site is using https://... in your .env file, then you should be visiting your https:// site (or vice versa). Best way to understand this is the browser console (press F12 when the error occurs). APP_URL should point where your v7 root is, if it is installed under a folder called /phpvms then of course your APP_URL should point that folder. If you share your url we can check too. https://www.yoursite.com/phpvms => APP_URL = 'https://www.yoursite.com/phpvms' https://crew.yoursite.com => APP_URL = 'https://crew.yoursite.com' That simple is the logic. Hope this helps I solved the problem by opening the console - there was an extra + in the airport_search.blade.php file. Thank you so much for your help!! 1 Quote
jonbeckett Posted February 16 Report Posted February 16 Do you ever get max_connections issues with your template? I've just been digging through laravel to see how it arranges mysql connections - to see if they're pooling their connections or not - still digging lol Quote
DisposableHero Posted February 16 Report Posted February 16 6 hours ago, jonbeckett said: Do you ever get max_connections issues with your template? I've just been digging through laravel to see how it arranges mysql connections - to see if they're pooling their connections or not - still digging lol No I don't, never got one. And honestly, I think this should be in a separate topic, not something under another problem. Quote
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.