Jump to content

alblua

Members
  • Posts

    84
  • Joined

  • Last visited

Posts posted by alblua

  1. Hello all,

    For those of you who know, Google has released a new version of the reCaptcha that doesn't have a Captcha: noCaptcha reCaptcha. Some more information can be found at http://www.google.co...ntro/index.html.

    Now, I've figured out (kind of) on how to implement it (very easy change), so I'm hoping it's backwards compatible. If anyone is willing to give it a try, please try my code snippet. My development copy of phpVMS isn't working as I want it to due to the skin, and I'm too lazy to go into the admin panel to change the skin to crystal.

    recaptchalib.php is attached, to install, go to (phpVMS isntall directory)\core\lib\recaptcha. Make sure to backup your old one! I'm not being held liable here. You were warned. :)

    Thank you for anyone who tries, let me know how it goes.

    -Albert Lua

    recaptchalib.php

  2. I created a thread on this:

    http://forum.phpvms.net/topic/20629-most-common-fixes-phpvms-installation/

    Directing a quote from my article:

    Bug Number 1

    This is honestly a very silly issue. I would definitely suggest to the developers on fixing this right away, or fixing the installation package, for obviously it is ridiculous.

    Without completing this step, you would get this right when you go to http://myairline.com...ll/install.php:

    Fatal error: Class 'DB' not found in /home/myairline/public_html/phpvms/core/common/SettingsData.class.php on line 28

    This is a very easy fix. Simply navigate towards /phpvms/core/local.config.php, where you then open that file with your text or code editor program and then completely delete everything in it. After saving and closing, you should check that the file size is absolutely zero.

    Good luck!

  3. My method is to read the massive books of coding. Within one week, I was able to code with referencing the book knowing what I can do, and a while later, I'm quite fluent in HTML, as in a second language.

    Of course, the big books are very old school and seem tiring, but they are very nice sources. w3schools provides a nice layout of teaching in which I use to base off my lessons in which I teach students at a school to code.

    Give it a try, both are very nice. Sometimes even reading through coding forums and finding out what errors others have actually teach you something, as have I. There is no standard in how to become a great coder.

  4. in admin center i went and created new group with the name 'Finance' and gave below permissions to the pilot.

    • View finance
    • Admin Access

    Maybe that's your issue? If he's logged in, and if he has access, and it seems that he has the permission to, then he can view it by direct admin URL.

    Have you tried logging out and seeing if it still goes in or logging in to another account that has no access?

    No worries about your lack of knowledge; it's just learning. :D

  5. I totally forgot how in the world I fixed it, but it was something about me inputting some PHP error turnoff in the correct place. I managed to fix it before I decided to create our new current skin.

    If anyone still has issues, I'm willing to look into it.

  6. When referencing JS, do not do the direct reference from root directory. Simply use /(install directory)/lib/js instead of whatever it was; it's a fix that I used so long ago I've forgotten, but still in there.

    Let me know how it works.

  7. I've had the same exact issue, and I know exactly how to fix it. I will put this in the guide after this post.

    Starting from your root phpVMS directory, go to /core/modules/Schedules.

    In that directory, you should find a file called Schedules.php. Open and edit that file.

    Now, those who are more knowledgeable than me in PHP, I'll admit this isn't quite the cleanest way to do it, but it sure did the trick for me.

    After the opening PHP tag (<?php), hit enter and then add this code:

    ini_set('error_reporting', E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);
    ini_set('display_errors','off');
    

    Lines 1-22 should then look something like this:

    <?php
    ini_set('error_reporting', E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);
    ini_set('display_errors','off');
    /**
    * phpVMS - Virtual Airline Administration Software
    * Copyright (c) 2008 Nabeel Shahzad
    * For more information, visit www.phpvms.net
    * Forums: http://www.phpvms.net/forum
    * Documentation: http://www.phpvms.net/docs
    *
    * phpVMS is licenced under the following license:
    * Creative Commons Attribution Non-commercial Share Alike (by-nc-sa)
    * View license.txt in the root, or visit http://creativecommons.org/licenses/by-nc-sa/3.0/
    *
    * @author Nabeel Shahzad
    * @copyright Copyright (c) 2008, Nabeel Shahzad
    * @link http://www.phpvms.net
    * @license http://creativecommons.org/licenses/by-nc-sa/3.0/
    */
    
    class Schedules extends CodonModule
    {
    

    So, what I'm doing here is that the errors you are getting are able to be turned off. Here, we turn them off, and then since it won't show the errors, it's just going to show the add bid part.

    Strict Standards: Accessing static property Schedules::$get as non static in /home/voovirtu/public_html/va/core/modules/Schedules/Schedules.php on line 106
    
    Strict Standards: Non-static method SchedulesData::setBidOnSchedule() should not be called statically in /home/voovirtu/public_html/va/core/common/SchedulesData.class.php on line 853
    Bid added
    

    Note at the end of that, it states Bid Added. Great! We just remove the errors and we'll only get that!

    I've tested this on my build of phpVMS, but if it doesn't work, please do come back. I will gladly help.

    Good luck!

  8. The Bug 3 fix didnt worked for me, I still get

    Strict Standards: Accessing static property Schedules::$get as non static in /home/voovirtu/public_html/va/core/modules/Schedules/Schedules.php on line 106

    Strict Standards: Non-static method SchedulesData::setBidOnSchedule() should not be called statically in /home/voovirtu/public_html/va/core/common/SchedulesData.class.php on line 853

    Bid added

    May I ask where are you seeing this error? On the schedules page, or when you are actually installing?

    Thank you!

  9. Just a thought, but you aren't using any news modules and using the default?

    Have you tried to make a separate installation just off to the side to see if it works there (now, I do run my own server on my computer, so I do have the ability to do that)?

    I really only do web design, not PHP coding, but I'm just merely throwing out suggestions of what I would try to do. :P

  10. UPDATE

    Apparently, I didn't get the emails until today...

    Is that possibly a slow SMTP server? If it is, someone tell me that is is okay to tell the host company.

    EDIT

    37owOSs.png

    I swear I sent it last night at around 9:00 PM; it arrived at 10:15 AM?? Definitely an SMTP server issue?

    EDIT NUMBER TWO

    Since I'm also using it as an Outlook alias to my email (emails still sent while it was aliased), can I use Outlook's SMTP servers instead in the local.config.php? If anyone has any clue what they are, I'll give it a shot. Or I'll try to find it...

×
×
  • Create New...