Jump to content

alblua

Members
  • Posts

    84
  • Joined

  • Last visited

Everything posted by alblua

  1. Sorry if this post doesn't help at all; I've had these types of replies before and I hate them, you probably will hate my answer as well. Anyways, I've noticed that hosting services will sometimes cause errors in such things. My forums have glitched out completely once, I totally went crazy with what was going on. After waiting a few hours, maybe a day, everything returned to normal. Learning that you said the PIREPS are all there and approved, it's probably somekind of miscommunication that's going on with your host or files in between phpVMS. Therefore, my very dumb answer you probably will hate is: Wait it out.
  2. Can you give a quick link to this or explain it? I would like to know it.
  3. Thanks for the information; apologize for the misinformation, I will correct it right after I post this comment.
  4. Quite an easy fix, actually. A scour in the forums would help as well. Simply navigate to /phpvms/core/local.config.php and delete that file. Or, open it and delete all the text in it as well. Issue fixed, ta dah! You will meet these issue I've stated here as well: http://forum.phpvms.net/topic/20629-most-common-fixes-phpvms-installation/ From the looks of the issue, your host runs PHP 5? Also, you have an airline badge. Looks like you fixed it; thus, would be helpful to put [sOLVED].
  5. If everything I posted above (took quite a while to write!) doesn't work at all, contact your hosting provider to downgrade their PHP program on your domain to some lower version (like 4). Afteward, install phpVMS, have it run for a while, then you can get back to PHP 5. Errors will pop up again, however, they will be easier to fix for the installation is already done. Once again, if anyone has questions, please reply, I'll do my best with my vague coding knowledge.
  6. alblua

    Favicon?

    Mark this post as solved. This solution is ridicously easy; don't listen to the edit code that others have suggested. Simply take your website icon, name it favicon.ico, then place it in your public_html directory via your FTP client or some kind of CPanel File Manager program. Note that uploading a favicon will take a while to take effect; currently, what I'm suggesting will work on Chrome, Firefox, IE, pretty much the latest version of anything. Anyways, sometimes you have to clear your DNS cache or restart your browser to see the favicon come into effect. Hope that helps!
  7. Warning! This section is very long and may contain elements only developers understand! Please be prepared to have to search through elements for answers! I have tried my best to make this as organized as possible. It is a lively updated topic. (Warning added on 11/12/14 at 10:03 PM) ===Introduction Letter=== Dear fellow pilots, airline managers, airline owners, whomever you are that leads you astray here, In this maybe somewhat long thread, I will be discussing and helping you figure the most common issues of phpVMS found during installation. These issues are quite frustarating, for PHP is a very confusing language sometimes, and you'll need some help out there to get started. Personally, I'm not experienced in PHP or web programming. However, solving bugs and already installing phpVMS about four times already gives you some knowledge. These errors have been troublesome, and appeared all the time on my installations. Thus, I figured most of you would have these issues as well, so it's time to bring them all together! ===Introduction to Issues=== [i edited this section on Monday, January 20, 2014 at 9:31 PM to comply with correct information] Plenty of issues have been found during phpVMS installation. Most web hosts use PHP 5, and phpVMS is developed for it, however, it seems it runs better in PHP 4. Neverless, nothing is perfect, thus, I hope these issues below solve your problems. ===Fixes to the Issues=== Please note that I personally recommend completing these changes before you do absolutely and installation of phpVMS. This reduces stress overall during installation, for you aren't bugged down by, well, bugs. I personally have not tried this strategy, however, it probably would work and hopefully my many experiences installing phpVMS come through. You can also find even more issues found out that I personally haven't been quite affected by (yet) on the GitHub page, located by clicking here. 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. Bug Number 2 This next issue gets a little more complicated. It happens somewhere after connecting to databases, but first, let's fix the issue before you start installing. Here would be an example of the errors you get: Warning: Creating default object from empty value in /home/myairline/public_html/phpvms/core/classes/Vars.class.php on line 74 The fix is quite as easy as navigating to the right line and adding the right stuff. Navigate towards /phpvms/core/classes/Vars.class.php and go down to line 60. After line 60, add this: self::$request = new stdClass(); So now, on lines 59 to 61, you should see this: self::$post = new stdClass(); self::$get = new stdClass(); self::$request = new stdClass(); (Don't forget to save all coding changes!) Bug Number 3 The next issue would be the one I like to call "the spammer." Basically, it spams the whole page with errors. Then, with a simple addition of line of code, they all disappear. Cool, eh? Anyways, you face this issue without doing this: Strict Standards: Accessing static property (whatever it says; quite random stuff and files) (Then, after that one error, it causes more errors, which causes more errors, and they all kind of look the same) To fix, navigate on over to /phpvms/core/classes/CodonModule.class.php and open it with your code editor. Right after the opening PHP tag (the tag looks like "<?php"), or hit enter to put a new line underneath it, put the following code: ini_set('error_reporting', E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED); What I assume this is doing is telling phpVMS ignore all the errors. Might not be best choice, but it works! Bug Number 4 This next issue comes up very secretly. Right after your finish installation, you come to the completion page. Instead of finding what you wanted, like "Success!" or whatever (I actually don't know what it looks like; I should test these fixes out to see if they actually clear everything, since I've only fixed as they came by), you get this: Fatal error: Cannot re-assign auto-global variable _FILES in /home/myairline/public_html/phpvms/core/common/PilotData.class.php on line 436 Some of you would do this if you don't know how to fix: (maybe that exploding face on Skype as well) Anyways, let's fix it by going to that file, /phpvms/core/common/PilotData.class.php and head on over to what line it says has an error. I've noticed that some versions of phpVMS have it on line 431, while the latest is on line 436, so see where it is. From the line that says has an error on the website you need to delete the following thing: $_FILES Now, that line should look like: public static function saveAvatar($code, $pilotid) { Or, if you are simply lazy, just copy that code and replace the whole line with it. ===Closing Remarks=== I sure do hope that phpVMS will soon be in a PHP 5. something environment (if it isn't already), and all bugs are solved to prevent us airline managers and coders and owners from going KABLAAM! from anger. In case you haven't learned from my "letter," I am not a PHP programmer at all. Nada, zip, zilch, zero, none. No experience at all in this field, so I don't know if these are reliable fixes. Again, Google and these forums were my best friends, so they work! Also, if there is an edit thread function, which I don't know there is (maybe delete this line as well if there is one) since I'm quite new actually to the forums, I will provide a download link of an updated phpVMS working PHP program for you to download (maybe even become the new official download! Just kidding...). If you find a new issue, or have another issue that you want to point out and fix, please do mention it below, and if I can edit my posts, I'll somehow stick it in the midst of this mess of words. Keep flying! ===More Issues=== [This next section pertains to issues that aren't related to installation, but kind of important. It was added on Monday, January 20, 2014 at 9:53 PM] Important Issue 1 Some of you will experience this issue, some will not. In this issue, you will be in your admin panel after a finally working installation and then bam! Somehow, you can't see your pilots, even though you can see them in the website, can't find airports, so on and so on. You might just find some other issues as well... There isn't really an example you would get of the error; it varies. I described some above. To fix, head on over to /phpvms/admin/action.php and then open the coding. Scroll down until you get to: error_reporting(E_ALL ^ E_NOTICE); Replace that with: ini_set('error_reporting', E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED); Another fix suggested by Nabeel would be to go to your local.config.php and see if there are any funky characters out of the ordinary, such as this: `<?php Important Issue 2 [This issue was added on 11/12/14 at 10:01 PM] Seeming to be a prevalent issue, the bids page will lead to these errors when clicking add bid: Strict Standards: Accessing static property Schedules::$get as non static (etc.) Strict Standards: Non-static method SchedulesData::setBidOnSchedule() should not be called statically (etc.) Bid added Note that I specifically noted that there was a "Bid added" message at the end of the errors. This shows us there were just some errors, but the function went through and it still echoed success. To fix this, let's navigate to the directory /core/modules/Schedules from the phpVMS root directory. Open schedules.php. After the opening PHP tag, input this code: ini_set('error_reporting', E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED); ini_set('display_errors','off'); Save and refresh the page, and your results should be a success in bidding a flight. Entry #13 will help you as well in this topic. ===Fixed Package=== [This section was added on 7/3/14 at 9:58 PM] Recently I have decided to give you guys a link to a package where I have fixed these issues described above. Download here: http://airtranvirtua...hpvms-fixed.zip ===Update=== [This section was added on 11/12/14 at 4:58 PM] I have been skinning as well as coding more websites with PHP, therefore, I will be able to help you more since I am more knowledgeable. ===Note for Support=== [This section was added on 11/12/14 at 4:59 PM] When asking for help, please do be patient. I am a busy man, so I may not be able to get to you within 5 minutes. Please provide as much information as possible, so I can quickly find out what's going on. The website URL can help, the errors occurring, and where are the errors. If you are someone who knows someone's answer in this area, feel free to answer it! Why not? It's a community!
  8. alblua

    Fatal Error

    Yes, the owner and I have noticed that. I have no idea how, though the owner said he does, but he still hasn't done it. Can you possibly link us to another forum post?
  9. alblua

    Fatal Error

    This seemed to work: However, that fixed most of the stuff. Now, website looks like this: Seems that I should see if those also have that $_FILES lines or anything with a $? I'll see what I can do.
×
×
  • Create New...