Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/25/22 in all areas

  1. Thanks to @DisposableHero Github master file has been changed to accommodate IPv6 IP addresses. New installs after the date/time of this post will be set up for IPv4 and IPv6 IP addresses. https://github.com/ProAviaAZ/phpvms_5.5.2.72 Previous installs can update to allow IPv6 addresses by running the SQL queries below. Both are needed. 25 chars will not be enough to store v6 addresses. It should be at least 45 chars to avoid errors. So during install, setting ip related column length as varchar(45) may solve future issues with new members using ipv6. Also for current users of your release, running simple sql queries may help to solve this little problem. This is for the pilots table: ALTER TABLE phpvms_pilots CHANGE lastip lastip VARCHAR(45) https://github.com/ProAviaAZ/phpvms_5.5.2.72/blob/master/install/sql/install.sql#L336 Same logic applies to the sessions table too; https://github.com/ProAviaAZ/phpvms_5.5.2.72/blob/master/install/sql/install.sql#L471 ALTER TABLE phpvms_sessions CHANGE ipaddress ipaddress VARCHAR(45) Direct manipulation via phpMyAdmin on the above two items is also possible. Additionally, any Modules that list an IP address will need their associated table changed. For example, kACARSII has a sessions table (kacars_sessions) that includes ipaddress. So, varchar for ipaddress needs to be changed from 25 to 45 there also. As always - BACK UP the database first. Only you are responsible if the above doesn't work for any reason.
    1 point
  2. Yeah, if you are on a newer latest dev build, you may try installing Disposable Theme v3 directly. At least you will have something working in your hands, of course it will not reflect your va colors or logo images etc but we will be sure that the core theme files are intact and ok. Then you can slowly work on it, by following duplicating procedure (explained in the readme and here at the forum), you can have your own copy of DT v3, edit only the pages you need, have your own stylesheet for coloring etc. All this may be hard on a live server while your pilots are flying on it, but at least it will be better than having lots of errors around. Hope you figure this out, maybe you can send an email to all your pilots or a discord notification to stop flights for one/two hours while you are doing the update, installation of new theme and module pack etc. At least your logs will be clear, server will not be dealing with getting pirep updates / accepting them etc. Or you need to find a good time, maybe when all your pilots are sleeping You will be awake and working on the update. It is still not good to do all these on a live server but looks like you have no choice at the moment. If I were in your situation I would probably; 1. Stop all flights 2. Switch to default theme 3. Make a database backup 4. Clean cache manually (explained in docs, update section) 5. Update to latest dev build 6. Test if it is ok (with default theme, check every single page it offers) 7. Install Disposable Theme v3 (latest release) 8. Switch to it, check if it is working ok too 9. Have a duplicated theme based on DT v3 (explained in readme and here at forum) 10. Switch to it, check if it is ok too (no edits at this stage) 11. Install Disposable Basic Module v3 (latest release) and test 12. If all is ok, let pilots fly again, slowly work on the duplicated theme to have your va colors, background image etc back, one step at a time.
    1 point
  3. Yeah the latest dev file is always named like that http://downloads.phpvms.net/phpvms-7.0.0-dev.zip or http://downloads.phpvms.net/phpvms-7.0.0-dev.tar.gz Both are same, always give you the latest development build. Hope you figure out the problems, and if you are suspecting illegal/unauthorized access to your files or server, control panel etc. first thing is to do is changing all your passwords (hosting control panel, ftp access, database passwords all together at the same time). And be sure only one person knows the latest ones (preferably you), do the updates, see everything working, take a backup from hosting control panel if possible. Then you can consider expanding the access to other users/admins if needed.
    1 point
×
×
  • Create New...