[SOLVED] HELP WITH MY VA (I'M NOOB USING PHPVMS)

Hi, my english isn’t very good, I’m trying to do my best.

Well, I have 2 principal problems with my VA:

First:

What I have to do to put “VID IVAO” in the register form and what I have to modify in the “core/modules/registration/registration.php” that this field adds to de database in “phpvms_pilots” table and show this field in profile?

Second:

When I click “Register!” or “save” in edit profile appears this error:

Warning: imagefontheight() expects parameter 1 to be long, string given in /home/wondair/public_html/web/core/common/PilotData.class.php on line 1035

Warning: imagefontwidth() expects parameter 1 to be long, string given in /home/wondair/public_html/web/core/common/PilotData.class.php on line 1036

Warning: imagestring() expects parameter 2 to be long, string given in /home/wondair/public_html/web/core/common/PilotData.class.php on line 1054

Warning: imagestring() expects parameter 2 to be long, string given in /home/wondair/public_html/web/core/common/PilotData.class.php on line 1054

Warning: imagestring() expects parameter 2 to be long, string given in /home/wondair/public_html/web/core/common/PilotData.class.php on line 1054

Warning: imagestring() expects parameter 2 to be long, string given in /home/wondair/public_html/web/core/common/PilotData.class.php on line 1054

Warning: imagestring() expects parameter 2 to be long, string given in /home/wondair/public_html/web/core/common/PilotData.class.php on line 1054

Sometimes the line change (I think, I’m not sure)

My king regards,

Pablo Garcia

You don’t have to modify anything in the registration.php. You can add custom fields through the admin panel.

The second error, can you paste the output from running:

install/checkinstall.php

install/checkdb.php

The result of checkdb is all OK. And the result of check install is this checkinstall:

phpVMS Virtual Airline Administration Software

Install Check

phpVMS Build Number: 934

Checking PHP version

[OK] PHP version is 5.3.2.x

ASP Tags

[OK] ASP-style tags are disabled

Checking connectivity…

[OK] Can contact outside servers

Checking for SimpleXML module…

[OK] SimpleXML module exists!

Checking file hashes for corrupt or mismatched files

[Checksum failed] /core/templates/frontpage_main.tpl did not match, possibly corrupt or out of date

[Checksum failed] /core/templates/pilot_public_profile.tpl did not match, possibly corrupt or out of date

[Checksum failed] /core/modules/Profile/Profile.php did not match, possibly corrupt or out of date

[Error] ../core/modules/kACARS_Free/kACARS_Free.php doesn’t exist

[Checksum failed] /core/modules/Frontpage/Frontpage.php did not match, possibly corrupt or out of date

– Checked 183 files, found 5 errors

About using ADMIN panel for the field I use it but the IVAO VID doesn’t save in DB and in the profile it disappears. And when I go to edit profile in ADMIN panel the field is white, there is nothing inside.

Thanks!

You have some corrupted files there, try re-uploading those.

Are you on a free host?

open_basedir restriction in effect

Your host has the open_basedir protection tweak in effect. Is this shared hosting maybe? You will have to have that disabled by your host to get rid of the error. They can exclude certain users from it so they do not have to open it to everyone on the server if that is their excuse for not doing it.

It will solve your PIREP issue, and probably some others you have not seen yet. The admin issue of the module not existing is the url you are using.

It should be

http://www.yoursite.com/admin/index.php

If you are the pilot that installed the system you should see an admin link in the menu after you login that will take you the admin panel.

Check the database and see if you have a permission set for pilot 1 group 1. It is odd, you should have been set as an admin when you created the database and site configuration. It has not been an issue in the past.

i had the same but i looged out and in again and it worked seems as you choose the link after install to go back to the mainpage you get the error

Check the database and see if you have a permission set for pilot 1 group 1. How can I do this ?

PIREPS solved by Disabling - open_basedir setting if enabled,

After I want to finish Install.php and hit the last button to create airline with code I get Save file: Install.php in firefox.. why is that?

Maybe I can delete it all and give link to someone who is experienced to do the web Install ?

Getting a save-file means your host hasn’t installed PHP and/or Apache correctly

There is something going on with the server you are on, even trying to check the whois of the domain comes up with an error. Have you contacted the host about the problems, will any other php application (forum, cms, etc) run on the server?

If you want to pm me your ftp and database info I will take a look and try to get it installed for you. I can not get the site to do anything at this point.