This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 3

HTTP Error 500 (Internal Server Error)


  1. loris
    Member

    Made the database, changed the config.php file per instructions on this website. Uploaded the files (have tried several times) and when I try to go the installer I get the "HTTP Error 500 (Internal Server Error)" in Chrome and in Safari or Firefox I just get an empty page.

    I did check the versions of php and mySQL and they are both higher than required. I also was able to do the info.php thing that was mentioned in another thread.

    ETA: Fixed it. Evidently BBEdit messed up the config file. I downloaded machform again and changed the config file in TextWrangler instead and then it worked perfectly!

    Posted 12 years ago #
  2. agdm619
    Member

    I have the same problem...Upgrading from v2.4 to v3.5 I followed the instruction's on this website. All I get is blank pages on Chrome, Safari and Firefox and get the HTTP 500 Internal Server Error on IE when I run the upgrade.php.

    HELP PLEASE!

    Posted 11 years ago #
  3. yuniar

    agdm619 -- try to edit your upgrade.php file, search around line 22 for this code;

    define('SKIP_DB_BACKUP',false);

    change it to become:

    define('SKIP_DB_BACKUP',true);

    then try to run the upgrade script again.


    MachForm Founder

    Posted 11 years ago #
  4. agdm619
    Member

    No dice...anything else I can try?

    Posted 11 years ago #
  5. agdm619
    Member

    bump..

    Posted 11 years ago #
  6. agdm619
    Member

    I've done everything I know to get this to work. We've really enjoyed using v2.4, I was hoping to utilize the new features in v3.5. I can't seem to get passed this HTTP Error 500 no matter what I do. I'm hosting my own server Windows Server 2003 - IIS6 - PHP 5.2.6 - MySQL 5.0.45 It's worked fine running v2.4 for years. Now I cant get it to work.

    PLEASE HELP!!!

    Thanks,
    Aaron

    Posted 11 years ago #
  7. yuniar

    Ok, one more time, try to edit your "lib/password-hash.php" file, search around line 212-217 for this block of code:

    if (CRYPT_BLOWFISH == 1 && !$this->portable_hashes) {
    			$random = $this->get_random_bytes(16);
    			$hash =
    			    crypt($password, $this->gensalt_blowfish($random));
    			if (strlen($hash) == 60)
    				return $hash;
    		}
    
    		if (CRYPT_EXT_DES == 1 && !$this->portable_hashes) {
    			if (strlen($random) < 3)
    				$random = $this->get_random_bytes(3);
    			$hash =
    			    crypt($password, $this->gensalt_extended($random));
    			if (strlen($hash) == 20)
    				return $hash;
    		}

    remove that entire block of code.
    If that doesn't fix the issue, you'll need to check into your PHP error log file to see the exact error message.

    There could be corrupted files, etc.


    MachForm Founder

    Posted 11 years ago #
  8. agdm619
    Member

    [01-Feb-2014 11:32:12] PHP Fatal error: Class 'PDO' not found in C:\Inetpub\wwwroot\General_Production_Service\onlineforms\upgrade.php on line 37

    This is the error in my PHP log file. Any help on this would be great! I'm completely dead in the water...

    Posted 11 years ago #
  9. agdm619
    Member

    Found the problem!! Years ago when I did the PHP install apparently the PDO option wasn't installed. Reinstalled PHP with the PDO for MySQL option and everything is good!

    Thanks for your help!
    Aaron

    Posted 11 years ago #
  10. yuniar

    sounds great! :-)


    MachForm Founder

    Posted 11 years ago #

RSS feed for this topic

Reply