Jump to content

mischka

Members
  • Posts

    287
  • Joined

  • Last visited

Everything posted by mischka

  1. Today I'm trying to install some acars for my airline.. As I already had xacars installed I tried that first: I Created the tables in the db as per instructions on the xacars website (xacars.net) Then I downloaded the php files for it, but there is absolutely no documentation about where to put these? I downloaded the xacars,ini file and put it in the xacars folder, that seems all fine but it doesnt write anything to my tables. On the contrary: when I click on "start acars" it just sits there ... until I click "stop acars" and then it crashes *thumbsdown* WTH? ps I noticed that when I download some file from my site it ads some counter code to it. I can remove these from the acars ini files, but might it be an issue with the acars system?
  2. I just noticed: the contact form doesn't work either: it creates the same problem. nobody else has an idea?
  3. I dont buy this stuff with the free hosting: I know at least one more website that runs phpvms on host1free.com without problems! There got to be a "normal" solution for this. Somehow one registration went through, by the way, but without firstname/lastname. odd! my initial thought that the form data are not transferred well seems to be false: if I redirect the form to another page I can get all the form data.
  4. European Virtual Airlines registration This is fixed now, anyway
  5. Hello I got some real urgent issue: when somebody tries to register with my airline they get a blank page after they click "register". No error messages, nothing, not even with "debug" on. When I hit a wrong captcha it will come back to the regform though, so that part works. But apart of it, nothing shows and the registration is not processed. I looked on the forums here and couldnt find anyone with the same problem. Its a brand new site, the registration page is not modified. What could this be? I'm not fluent in php and really in a dump now because of this.
  6. Right, I solved it myself after all! Here is what I did, and how I came to the solution: I noticed that the pilot brief page also worked with the route id, and this worked. The diference was that the link to the pilot brief page was coded like this: <a href="<?php echo url('/schedules/brief/'.$route->id);?>">Pilot Brief</a><br /> and the addbidd link was coded like this: <a id="<?php echo $route->id; ?>" class="addbid" href="<?php echo actionurl('/schedules/addbid');?>">Add to Bid</a> What happened was that on the 2nd piece of code the route-id wasn't passed, so obviosly I got the wellknown error message. So, what I did was change it to the following: <a href="<?php echo url('/schedules/addbid/'.$route->id);?>">Add to bid (new)</a><br /> This neatly passed my route-id to the addbidd procedure, but that needs to be changed to "understand" the new input, so here it is: public function addbid($routeid = '') { if(!Auth::LoggedIn()) return; /* $routeid = $this->get->id; */ I simply added the $routeid="" to the header, which passes the route. Note how I commented out the red section: if you don't do this it will overwrite the routeid variable again. This works perfectly for me now! Got to do the same thing for removing a bidd - might post that later if anyone is interested. If anyone has reasons why this should not be done like this I'm happy to hear!
  7. thank you, but unfortunately this is not the solution to my problem. I don't have these scripts that are mentioned in the posts, and i downloaded the latest version of phpvms a few days ago. There isn't any reference to jscripts in my layout.tpl except some in /lib/js as it should be. I had this problem last year with IE6 on one pc, which I think I remedied it with upgrading to IE7. So it's not really an issue with my website per say, as just an incompatability issue between phpvms and some/all browsers. In the meantime I found the addbid class in /modules/schedules/schedules.php this is how the class is called in schedule_results.tpl <a id="<?php echo $route->id; ?>" class="addbid" href="<?php echo url('/schedules/addbid');?>">Add to Bid</a> and this is the interesting part of addbid: public function addbid() { if(!Auth::LoggedIn()) return; $routeid = $this->get->id; if($routeid == '') { echo 'No route passed'; return; } obviously my routeid doesn't get passed due to some javascript issue. wouldn't it be possible to change the addbid procedure to something like public function addbid(routeid) and then call it directly by the url rather than passing a separate id="xxx" ? ie schedules/addbid?routeid=1 or something? I don't normally use php/java but that's how I would do it in asp for example. On another note: I use some different stylesheet than in crystal, could that mess things up?
  8. This doesn't give me anything, your link gives the same comment from nabeel that to search the forums. I guess I'll just have to re-write the whole schedule list page then
  9. Hello guys, Yes, this is another one in the category "no route passed" I've searched this forum extensively and haven't come up with any solution. There's a couple of jscript references on top of my layout.tpl but that's in the right place, and the htmlhead includes on php as well. Seeing that there are so many errors on this I'm coming to think this is just bad coding. I'd fix it myself but can't find where is the class "addbid" that takes care of this stuff. I don't see why this should be some fancy javascript, cause all it does is add the id of the bidding pilot into the record for that schedule? I'm sure if I'd figure out a non-javascript way to ad a bidd then a lot of people's lives would be better, so if anyone can help with suggestions where to start?
×
×
  • Create New...