Jump to content

Mysterious Pilot

Members
  • Posts

    82
  • Joined

  • Last visited

Everything posted by Mysterious Pilot

  1. My findings indicate that it might be a problem with the AJAX functionality. If I remain in the add airport page to add another airport it simply opens the form/dialog with the data of the last airport I added even though I did not select to EDIT that airport (I used the Add Airport task). I did that several times and the result was the same, last airport being edited, my new data ignored. If however, after adding an airport I go to another page of the administration console and return to the Add Airport page and click on the "Add Airport" task on the left, then the dialog appears empty (as it should) and my new airport data is happily accepted. In the grid that displays the list of airports it would also be useful if you add an icon or so to indicate whether the airport is a hub or just a regular airport. An alternative to the icon is to use boldface for hubs but that may not be too obvious to some users. BTW it would be nice if a City field and probably STate/Province (depends on the country) is added as well. At least City seems important. There should also be a possibility to specify that there is NO FUEL available in an airport/airfield.
  2. I am using the admin section to configure my brand new airline and explore phpVMS. I will post problems as they occur. My first thing to do was to add new airports, so far these problems with Add Airport: a) The dialog that appears only has a "Edit Airport" button, there should be a possibility to have a Cancel button in case the user wants to desist from the change. This pattern appears in several dialogs (Edit or Edit). When you want to add an airport the dialog is always prefilled with the KFJK, IMHO it should just be blank. c) I entered the ICAO code (MPMG) pressed Look Up and it got updated with Lat/Long and airport name (Aeropuerto Marcos A. Gelabert). The problem here is that below there is a Live Price Check that remains in "Waiting for ICAO change..." forever! There is no Cancel button so having completed that I pressed EDIT (the equivalent of OK, add changes) after I got tired of waiting 5 minutes. What happens is that since it never receives a price change (I had left it in 0) then it simply IGNORES all the data the user enters and the airport is NOT added.
  3. Sorry, mistake on my part, my webhost account is running PHP 5.2.5 so that is allright too. And by the way, does every user gets access to /admin??? I was hoping it would ask me to create an administrator account first rather than a pilot account. As an experiment I have modified the login() function of the Login class in the Modules/Login directory by introducing a hard error a statement like xxxx; which should have triggered some syntax error but nothing happened, it just came back happily to the same home page. I think it might be some of that AJAX or javascript stuff (???) I reuploaded the js directory but made no difference. They webhost people can't find anything wrong with the PHP installation either.
  4. I downloaded and performed a clean install twice of the latest version (2.1.934). I am still unable to login. During the first install (the first time I downloaded) I also got that font error, I wonder if perhaps the app. is trying to use a TTF that is not standard in the host (Windows 2003)? otherwise I don't know why it would complain about being unable to load a True Type Font. Also, it is a warning rather than an error. I also set DEBUG to true in the local.config.php but I don't see any debug information being outputted. The host (webhost4life.com) has PHP v4.4. Like I said, in the past I have run forum software as well as PHP software written by myself and never experienced any unusual problem.
  5. To begin with, the (temporary) site is NOT a free host, it is paid. I deleted the previous installation and uploaded ALL files again, created a new database as well. Now the whole install process went ok, only at the end of the install I received these warnings Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in \path\siteVA\core\common\PilotData.class.php on line 1041 Warning: imagettftext() [function.imagettftext]: Could not find/open font in path\siteVA\core\common\PilotData.class.php on line 1059 Your site is all setup! You can login to your site from the front-page, and then procede to the admin panel here Also, don't forget to register at vaCentral, the best place for VA ranks and news. Join the virtual airline world, and pit your virtual airline against the many others. Other than that all ok, checkinstall.php and checkdb.php report no problems. Unfortunately the outcome is just as my previous installation: A front page where one cannot do anything :-( BTW, they are hosted in a regular (not free) webhost where I have hosted various PHP applications in the past. The php vms is hosted in a directory and there are NO .htaccess anywhere in the hierarchy.
  6. To fly my Aerosoft Twin Otter

  7. My host is WebHost4Life running the same control panel shown in the dummies guide. They have a good PHP version and I have hosted PHP sites there before. The error page is from the VA software itself and it simply says that "An error has been encountered. Please login first". And if I click on any of the URLs on the main page or even try to login from there I am just brought back to the home page without any error indication whatsoever. I enabled DEBUG mode but the logs are still empty.
  8. I separated this thread from the other one because the other thread has gone in some other direction. First of all I am not a software newbie, 20 years of experience and I am trying to start my VA but I don't have time to browse through PHP code. So, I use the same control panel (webhost4life?) as in the dummies guide. I did a clean installation as follows: 1. Created subdomain and subdirectory where subdomain points 2. Uploaded all files of phpVMS to the subdirectory of #1 3. Created a MySQL database 5.0.45 and noted its administrative username and set permissions (all as shown in the dummies guide) 4. Ran the /install/install.php script, it showed ALL GREEN, no red issues. This created my main user with ID XXX0001. 5. Ran the /install/checkdb.php and everything was OK there 6. Ran the /install/checkinstall.php and everything was OK there too Since this is a CLEAN install (not an update) I wanted to check things further. 7. The main page shows in the New Users section the same user that was created during #4 8. Went to the admin page /admin/ At this point I got the dreaded "An Error Was Encountered. Please login first". That is sensible, so far so good. I went to log in with the XXX0001 username and the password I gave during installation but after a short time (I see the "transferring data" message on the status bar of the browser) it comes back to the home page, gives no error and does not log me in either!. I tried the login link on the main page instead of the login textboxes at the top right but it just takes me back to the main page. In fact ALL links on the main page just take me back to the home page (something users would find very confusing, there must be some info that is visible to anonymous users. So, I checked the database with MySQL Admin and it shows the user credentials (password is hashed) so the user is there, obviously it can also write to the database. If I attempt to login with the email address instead of the user ID the same problem, no login, no error message, no fun. In FireBug I see it is trying to get the /index.php/registration URL when I click on registration but it redirects back to the home page because nothing happens. I also see it trying to authenticate something with Google APIS (???) It just doesn't do anything.
×
×
  • Create New...