Jump to content

Colin

Members
  • Posts

    90
  • Joined

  • Last visited

Posts posted by Colin

  1. Hi thanks for your reply it's great there are still active forum members willing to help a guy in need.

    I've changed the php to 5.6 in cpanel and also edited the TemplateSet.class.php to no success the irratating error still occurs.There is one thing I forgot to mention but not sure if it's relevant the Pirep,Pilots,Schedules have all been restored from an SQL back up, I'm not sure if this would result in the errors as it's populating the database information with no problems, Just exploring every possibility this is annoying me now lol.

    file_exists(): File name is longer than the maximum allowed path length on this platform (4096): /customers/2/a/5/dhlvirtualcargo.co.uk/httpd.www//lib/skins/crystal/

    < in /customers/2/a/5/dhlvirtualcargo.co.uk/httpd.www/core/classes/TemplateSet.class.php on line 118

    Thanks again for the help,

    Col

    post-3200-0-90068000-1431967057_thumb.jpg

  2. p.s I have installed the stable version from scratch no .tpl's are left, I know it's kind of ironic that one of the post links above i've commented on back in 2012 but it seems that is no longer the solution anymore just goes to show what worked then doesn't work now in 2015,

  3. My best guess is that you have somewhere an .tpl file that's messing up your installation.

    I recommend to download the latest stable version on GitHub as giving above.

    If you already have the latest version try to compare the green lines given in the files on GitHub with your own files.

    If nothing helps try to install this skin and see what happens: http://forum.phpvms....ks-phpvms-skin/

    Many thanks for your help I think I am making some progress i've actually found an old post of yours which relates to the same issue with errors but no solution posted and I was wondering how you over came it, There is data in the database but the errors remain (still using default crystal skin for now):

    Warning: file_exists(): File name is longer than the maximum allowed path length on this platform (4096): /customers/2/a/5/dhlvirtualcargo.co.uk/httpd.www//lib/skins/crystal/

    < in /customers/2/a/5/dhlvirtualcargo.co.uk/httpd.www/core/classes/TemplateSet.class.php on line 118

    These errors remain regardless of which skin is selected and varies between skin where it appears.

    Many thanks for the assistance I will get it back working at some point lol

  4. Why is it since i've installed 5.5 all I get is a load of error messages, the site skin won't work with a .php extension and even the default crystal skin has issues, nobody else seems to have these issues and seems to have been a straight forward swap out from one to another, ours just doesnt work any ideas from the guys in the know appreciated probably missing something blatently obvious but we all have blonde days, any help appreciated to get the site working again,

    www.dhlvirtualcargo.co.uk

  5. dlogo.png

    Quick question like with <?php Screenshots::show_newest_screenshot(); ?> is there a way to display the screenshots_viewer.tpl on the frontpage to show all pilots screenshots ?

    The idea is on the front page I would like to display all the pilot screenshots thumb nails within the screenshots_viewer.tpl then only when the image is clicked on and enlarged are they navigated away to the actual screenshot center.

    Basically the screenshot center isn't being utilized as much by pilots as I think it should be and maybe instead of showing the latest screenshot or a random screenshot it might help if all screenshots were displayed.

    Any help appreciated drawn a blank :wub:

    Col

    post-3200-0-78941400-1398532747_thumb.jpg

  6. dlogo.png

    The Bid process works exactly as you have explained and your understanding is correct. You can also make it so that when the pilot bids on a flight that particular schedule is disabled so only that pilot can fly it and the route cannot be flown more than once. That can be done under the local config where it says disable schedule on bid, or vice versa, I think this the aspect what your getting at ?

    I would provide the code but have only just reinstalled Windows so don't have anything at the moment but someone else can probably hook you up if you need this but it's just under the core folder for the local config

    • Like 1
  7. :wub:bump still have got this one sorted and I'm wanting to add the pilots registration date, which strangley using

    [font=arial,helvetica,sans-serif]<?php echo date(DATE_FORMAT, strtotime($userinfo->joindate)); ?>
    

    [/font] Gives me: 0101/0101/1970197019701970

    Something isn't right somewhere :(

  8. Tried this with last code Parkho in the Stats.Data.Class then added

    <strong>Cargo Carried: </strong><?php echo StatsData::TotalCargoCarried(); ?> lbs<br>
    

    to the frontpage.tpl which is where my stats data is located and got the error

    Fatal error: Call to undefined method StatsData::TotalCargoCarried() in /customers/2/a/5/dhlvirtualcargo.co.uk/httpd.www/lib/skins/vairline/frontpage_main.tpl on line 165

    followed to the letter and for me not being able to Cargo stats to display :wacko:

  9. Hiya Callum I had this problem,

    http://forum.phpvms....ng/#entry111043

    I managed to get it working by adding the information but to save time i'll just copy the relevant section of code from the local.config and you can work from that with your details and your SMTP host details

    # Email Settings
    Config::Set('EMAIL_FROM_NAME', 'DHL Virtual Cargo');
    Config::Set('EMAIL_FROM_ADDRESS', 'admin@dhlvirtualcargo.co.uk');
    Config::Set('EMAIL_USE_SMTP', true);
    # Add multiple SMTP servers by separating them with ;
    Config::Set('EMAIL_SMTP_SERVERS', 'mailout.one.com');
    Config::Set('EMAIL_SMTP_PORT', '25');
    Config::Set('EMAIL_SMTP_USE_AUTH', false);
    Config::Set('EMAIL_SMTP_USER', 'admin@dhlvirtualcargo.co.uk');
    Config::Set('EMAIL_SMTP_PASS', 'YOURPASSWORD');
    

    This does work because our VA is working off this at the moment if you don't have any luck try changing EMAIL_SMTP_USE_AUTH', false to true although for us this made no difference what so ever, I also found the changes were not immediate and took 10-20 mins to start working

  10. dlogo.png

    Hi guys,

    I was wondering if anyone knew how to fix this I have been playing around with this for some time before posting on the forum but I cannot seem to find what or why this is being caused, please see screenshot below:

    post-3200-0-77110300-1394114307_thumb.jpg

  11. I've been playing around with this for a couple of days now using what Vangelis suggested and as yet still un able to get the email function to work in the admin :( The settings i've used in the local.config are as follows:

    # Email Settings
    Config::Set('EMAIL_FROM_NAME', 'DHL Virtual Cargo');
    Config::Set('EMAIL_FROM_ADDRESS', 'admin@dhlvirtualcargo.co.uk');
    Config::Set('EMAIL_USE_SMTP', true);
    # Add multiple SMTP servers by separating them with ;
    Config::Set('EMAIL_SMTP_SERVERS', 'mailout.one.com');
    Config::Set('EMAIL_SMTP_PORT', '25');
    Config::Set('EMAIL_SMTP_USE_AUTH', false);
    Config::Set('EMAIL_SMTP_USER', 'admin@dhlvirtualcargo.co.uk');
    Config::Set('EMAIL_SMTP_PASS', 'MYPASSWORD');
    

    Any help appreciated this is driving me mad :wacko:

  12. I have this same problem says its sent but not received can anyone shed any light ? I've over written pretty much every file I can think of just incase a module change was responsible but still no luck, It was working fine then just packed up

    Be great if someone could solve this puzzle :wub:

  13. Another quick one:

    I've followed this old forum post: http://forum.phpvms....-supported-now/ as we have added the LOA form to the VA so we could set pilots status's to ON LEAVE.

    I've got it to show in the pilot center etc but for some reason on the main pilots list in the admin it's showing as retired instead of correctly showing ON LEAVE (screenshot attached when I changed my own status )

    Any help appreciated not sure where i've gone wrong :wacko:

    If anyone can shed any light on this topic as well that would be awesome too http://forum.phpvms.net/topic/20264-email-all-pilots-not-working/ :wub:

    post-3200-0-47776400-1389670382_thumb.jpg

  14. Hi guys,

    It's been a while since i've actively posted on here and I hope your all well and had a great start to the new year my question is simply:

    Would someone kindly be able to throw me the code to show the pilot active or inactive in the pilot centre please ?

    I've found a few codes on the forum and not had a great deal of success, one code randomly set all pilots to inactive, how I don't know still haven't figured that one out,

    If anyone can hook me up i'd really appreciate it,

    Happy New Year ! :wub:

  15. No problem I figured that would be the case, Only thing with changing them manually I'd need to know who uploaded them in the first place, but because they are all 000 I haven't a clue lol Something seemed to tell me I should of left it alone, or well live and learn lol, Thanks for the reply though much appreciated mate.

×
×
  • Create New...