-
Posts
8151 -
Joined
-
Last visited
-
Days Won
39
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by Nabeel
-
-
So far, I'm about 75% through the coding for financials. While this next update won't include the monthly reports (yet, I think, depends, definitely the update afterwards), I've written out (from my docs) some of the innards of how it will go.
Open to comments and suggestions:
-
When you download it, there is a phpvms directory in the zip file, that's just how it's packaged.
Exact everything inside that directory, to where your files are going to be (ie, into public_html)
-
What's your PHP version, MySQL version. There may be an error log, check with your host. That usually means some error is coming up.
Change the debug to true, and the next line, change to:
Config::Set('ERROR_LEVEL', E_ALL);
-
As I'm sure many of you have noticed, phpVMS has been without a logo, due to my lack of artistic skills. I know many of you are creatively skilled... so I though it'd be nice to have a competition going...
Requirements? None really. Just a super high res copy with layers in either Photoshop or Fireworks. It can include the phpVMS text (shown in the header). A modern look, "Web 2.0"-ey (I'm sure you know where to get inspiration). Then we can vote (or I'll decide, depends
). Something orangy/blue, that goes with the theme of the site.
I figure about two weeks is a decent time to run the competition. Winning gets your name in the about for credit, and a free copy of............. phpVMS ;D
Let 'em come...
-
I have METARS on schedule pages, also from geonames.org.
-
Hey Adam,
Welcome!
The function you're looking for is: Auth::LoggedIn(), returns true/false.
If you're adding pages, there is an option in the admin panel to make them public/private
Hope that helps
-
Yup, need some more information,
in core/local.config.php, there are these lines:
Config::Set('DEBUG_MODE', false);
Config::Set('ERROR_LEVEL', E_ALL ^ E_NOTICE);
Change DEBUG_MODE to true, and see if any errors show.
-
Works just fine here and for the others who have done it. What's going on?
-
Do you have access to server logs? That's the only way to really tell what the error is.
-
Well, redownload the ini file from your site and compare, the CompanyICAO will be blanked out, don't remove it but set it blank so the line reads:
CompanyICAO=
And for your pilot ID, include the airline numbers
-
There's a video tutorial up now, that'll explain stuff pretty well
-
Doh!
writedebug($data); print_r($data);
Didn't remove the print_r()... heh. I changed that on my side so it'll be corrected... Thanks! I end up leaving something, funny thing is, the writedebug() was so I didn't have to do print_r(). Sorry about that...
Also, don't remove the XLR before the numbers in the pilot ID, just remove it from the CompanyICAO. It's the way I need the complete ID and code of the pilot, while I can change that going forward, it'll take a few places to change it so it accepts both (I've changed other code so now I can take only the ID number).
-
Good you caught it now before an update
-
Your PilotID is doubling - in youre config file, set CompanyICAO to blank (CompanyICAO=)
As for debug mode, I haven't found a way. I use that log to debug as well.
What you can do is, the top line:
pilot=XLRXLR0003&date=2009/01/04&time=23:22:00&callsign=®=F-TACB&origin=LFLL...
Put it in your URL as:
yoursite.com/action.php/acars/fsacars/pirep/?pilot=XLRXLR0003&date=2009/01/04&time=23:22:00&callsign=®=F-TACB&origin=LFLL...
And you can see the system response (should be "OK")
-
I wouldn't use SVN, while it is fixed there, many other things are broken. I took the SVN link down.
-
You can post your log file from the engine, just in app.config.php, set ACARS_DEBUG to true (if the entry is in your local.config, set it there), then just attach the /core/modules/acars/log.txt file in a post here, and I'll take a look
-
Whatever you're going to edit, put in your skin folder, and then edit. Otherwise, yes, it will get overwritten on an update. The engine looks for the template in the skin folder before it looks in core/template.
http://phpvms.net/docs/skinning
At the very bottom, "Editing templates".
-
I've been looking for this, I haven't found anything to use as a web-service API. geonames.org has some information (which is what I use in the backend to get lat/long/name). What are you looking for?
-
A new section has been added with tutorials, more will be added as they are created:
http://www.phpvms.net/tutorials
If you can create video tutorials, I will post them up, especially if you understand some aspect of the system
Roger is working on skinning, I'll do a skinning tutorial as well, and also a tutorial on how some aspects of the systems work.
-
Nah, I'm not making a separate panel.
I'll see what I can do, it'll most likely be groups based.
-
I also notice when they get sent in with fsacars on the website under the pilots page if you click on a pilot it doesn't show a prep at the bottom as if you were to fill one out on the website. I didn't know if this is in the matter of being fixed but i just thought i would let you know.
Do you see it in the admin panel, under that pilot?
-
Are his cookies enabled? He's not being logged in, most likely because of cookies.
-
Yup this is a known bug:
http://www.phpvms.net/forum/index.php/topic,198.0.html
The last post, I posted a quick fix; it's fixed for the next update as well.
-
It does see the OK message (I'm assuming), I send out an OK either way. I don't always get the error. I can't really ask the FSACARS people either about it, since they seemingly closed shop.
It usually shows up when you click "Send Log", but when you accept the PIREP, it should send the PIREP right then. I haven't had the time to really diagnose it in too much detail.
Blank Page on Install
in Support Forum
Posted
Do you know what the problem was?