Jump to content

ukvirtual

Members
  • Posts

    13
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

ukvirtual's Achievements

Newbie

Newbie (1/14)

  • Collaborator Rare
  • First Post Rare
  • Conversation Starter Rare
  • One Month Later
  • One Year In Rare

Recent Badges

0

Reputation

  1. Ok, realised I hadn't set the DB users up correctly and then deleted them for security, breaking things. I've got everything working now so I can crack on. I still get a document expired page after login but a refresh fixes it so it's either a cache issue (will try clearing browser now) or a cache permissions issue I need to locate and sort.
  2. Right... cracked it after a little permission tweaking and lots of cache clearing to get the installation completed, but now I get a 500 error after authentication. I can navigate the public pages before logging in to the site but when I login, I get a document expired error, and then a refresh redirects me to dashboard but with the 500 error. I'm sure it's a permissions thing so it would be helpful to have a rundown of which folders need which permissions across the board. Not a home server no. I have rented rack space
  3. Ok, I've uploaded the latest Dev version from https://phpvms.cdn.vmslabs.net/phpvms-latest-dev.zip I now get this when trying to setup the DB (dependancy page is all "ok"'s): Couldn't write .env file. (ErrorException: file_put_contents(/var/www/html/mysite/.env): Failed to open stream: Permission denied in /var/www/html/mysite/vendor/nwidart/laravel-modules/src/Support/Stub.php:135 Stack trace: #0 I've set all folders from /www/ to my admin user and chmod 775. Files are 664 for the most part. I had to set bootstrap and storage to 777 to get things to work so I'm not sure how safe that is but still I'm getting the above permission error? As a test, I set every folder and the Stub file in the path above to 777 and I still get the same perms error so I'm clearly missing something?
  4. I'll have a go with PHP 8.2... It's my own webserver so a direct upload..
  5. What do you mean? The installer is the site... If I navigate to my server address (http://myserver/index.php), it redirects to the installer page (http://myserver/index.php/system/install?step=requirements), as it should when you first run it. Problem is, I've completed the installer and it still loads that page. I'm guessing there's supposed to be a flag of some sort (database entry?) that tells the framework to load the index.php page instead of the installer once you've set it up (like I have).. I've installed the latest version 7.0.4, have PHP 8.4.8 installed.
  6. I've managed to hurdle plenty of obstacles to get the installation working, and just when I thought I'd succeeded, I get to the last page of the install process, fill in my superadmin details and hit next, only to be taken back to the "Installer Requirements" page??? If I then run through the process again, when I get to the User and Airline setup page, it wont accept the ICAO or user email as it exists, so I know the setup worked. How to I clear the flag to tell it that the install is complete?
  7. Site is ukvirtual.co.uk but you need an account to get to the schedule page so you wont be able to gleen much from that...
  8. It's not a recaptcha issue I don't think. The issue occured around 1 April (when recaptcha deprecated) and was happening when I tried to run recaptch v2 manually as well. v2 is authenticating as I would expect. I can see the auth tokens passing and accepted. On 1 April, this occurred, and then last night our custom schedule submission option stopped working as well. The "Book your Flight" button just does nothing. We're still using PHP5.6 and our hosting company have been upgrading servers to plug the Meltdown/Spectre exploits so I'm wondering if they've made a change which has broken something... I'm stumped at the moment...
  9. Hi chaps, I followed the Recaptcha v2 guide above and that worked, but when I run a test registration, I get the confirmation and I get the email, but the user is not added to the database?! My last working registration was 31/03, just before Recaptcha was deprecated. Anyone got an initial steer? I changed a few things trying to upgrade to v2 before I spotted the guide, but I reverted all those changes as far as I know (although it's possible I may have missed something...)
  10. Ah, my bad. I was under the impression v7 had been released as you can download the Laravel and classic frameworks versions. So to be clear, I should either work on phpvms v5.5 (latest stable as far as I can see), or wait until v7 is available and then start developing on that? I can only see download for v7 on this site. Where are the previous versions?
  11. I currently have a heavily modified phpvms 2.6 deployment running our VA site. It's been absolutely fine over the years and runs with kacars v1 but I'm wanting to start use kacars v2. Clearly v2 won't run on our phpvms version and because most of the core is heavily modified, upgrading the phpvms version in situ is not possible, so I'll be developing from scratch to replace what we have once I'm ready. I've got v7.0 running on a Xampp dev environment on my local machine and I've run the installer and have the example info pulling in from the local mysql db correctly, so far so good. However, I've imported all the tables from my existing site to the dev DB but none of the info is pulling into the v7.0 front end? Is v7.0 a complete rewrite which uses a whole new set of variables making importing existing DB data impossible, or have I missed something? I can see all the newly generated tables alongside the old so I know I'm using the correct DB. Further to that, I can't seem to find any docs on structure of v7.0? All the tutorials and docs refer to the classic phpvms. Where do you put template files in the Laravel file structure?
  12. Problem solved. We are using the leaderboard addon and it's written fairly poorly in that every hour it truncates the toppilot table. This has obviously grown over time and has now exceeded the server memory limit. I've doubled the server memory and rerun the maintenance script manually so we shouldn't have this issue for some time now.
  13. Our leaderboards have stopped updating, and I can't work out why. Around the time, I added SmartCARS files in a new folder of that name in the Core (as per SmartCARS instruction) to run some tests, and reverted the changes (via Github) when I discovered the problem. TopPilot database table is not updating but the Pireps are filing ok, and all other stats are incrementing. Both PHPVMS and our database servers have been rebooted, and I've run checks on all tables, no errors. Anyone else had this issue and solved? Any ideas?
×
×
  • Create New...