Jump to content

Installing PHPVMS on Existing Virtual Airline


perryfincher

Recommended Posts

Hello;

I currently have a virtual airline called "Pan American Virtual" on the web located at http://www.panamericanva.com.

Currently we use VAFS as our management and acars system and wanted to add PHPVMS to our site.

On the hosting server, inside the ftp account I use, the public_htm folder, has all the files for our website.

I followed the instructions to install PHPVMS.  Got all the initial install done.  On the last setup screen, you get a link to go to front page and another to login into the admin panel.

When I click on "front page", it goes to my sites home page.  When I click on "admin panel", it gives an error stating you must be login first.

I am very new to al these things and would like to know if I am missing something or did something wrong.

Any help of where to go or start would be greatly appreciated!!

Am thinking I should remove my entire VA site from the public_htm folder, install PHPVMS, then place my site back into that folder, however, not sure that will work either.

 

Thanks

Perry Fincher

Link to comment
Share on other sites

  • Administrators

phpVMS should be installed into its own sub directory.... public_html\phpvms - as an example.

Your VAFS should probably be installed into its own sub directory also... public_html\vafs - as an example.

Having each program in its own sub directory (folder) will help keep the conflicts to a minimum and helps keep everything better organized. You can also install forum software in its own sub directory. 

What version of phpVMS are you wanting to install? What PHP version are you using?

Link to comment
Share on other sites

Hello ProAvia;

Thank you for getting back to me.

I am trying to install phpVMS 5.0 Classic

My host server states the PHP version is 5.4.45

Attached is a screenshot of my File Manager which shows the public_htm folder.  In that folder, it contains my VA website.

Should I create another folder inside the home directory as "public_htm/phpvms and install phpvms there?

Thanks

Perry Fincher

File Manager Setup.zip

Link to comment
Share on other sites

  • Administrators

Create a folder inside public_html called phpvms and install it there - public_html\phpvms

You can install phpVMS 5.0 (classic - called v2 also) - https://github.com/nabeelio/phpvms_v2 or phpVMS 5.5.2 (Simpilot version) - https://github.com/DavidJClark/phpvms_5.5.x . There are some differences between the two. Personally, for a totally new install, I would go with the 5.5.2 version. 

Long term, you should consider having your VAFS in it's own folder too - public_html\vafs.

Don't create any folders inside of the \home directory - all folders get created in public_html. All that should be in the \home directory is what your host put there.

Edited by ProAvia
Link to comment
Share on other sites

Well, I setup a folder inside my "public_html" called "phpvms".

Using FileZilla, transferred all the files.

I tried both versions that you mentioned.

When I went to my domain http://www.panamericanva.com followed by /install/install.php, I would get Error HTTP 404 not found.

Not sure if I did something wrong.

Attached shows the phpvms folder created under public_html folder and content of the phpvms folder.

Thanks

Perry Fincher

public_html folder.zip phpvms folder.zip

Link to comment
Share on other sites

46 minutes ago, ProAvia said:

I apologize for bothering you again.

While in the admin center, on the left and second from bottom "View Your Site", when I click on it, the next page is "phpvms admin" instead of going to my website at www.panamericanva.com.

Looking at the properties, the url is http://www.panamericanva.com/phpvms/index.php instead of http://www.panamericanva.com/ or http://www.panamericanva.com/index.html.

Is there a way to change it?

Afterwards, plan to set everything up and start working on installing the various pages and modules into the pages on my website.

Thanks again for your help, ProAvia.

Perry Fincher

Link to comment
Share on other sites

  • Administrators

Since you are running phpVMS and VAFS, you can't access both from http://www.panamericava.com or http://www.panamericava.com/index.html - that's where the conflict occurred initially when you tried installing phpVMS in the public_html directory.

While you certainly can run phpVMS and VAFS concurrently, I don't believe they will share data - as each uses a different database and database structure. I am not familiar with VAFS.

As I said earlier - to keep order, each program should be in their own directory in public_html. If you were only running one or the other, there is a way to have the program in its own directory and have an index file in public_html to initially load it from there. But with running the two programs, I don't think that's possible..... hence the need to have the sub directory name as part of the URL to reach phpVMS.

Edited by ProAvia
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...