- 11 Oct 2017, 15:05
#3392
I wanted to clone our live OpenCATS installation to test future updates and customizations, but I ended up with a fatal error, and now our live installation is down. Can someone tell me what I did wrong, or if my server configuration got messed up somehow?
I used SSH to copy the files from the entire folder to a new folder:
cp -fr sourcefoldername destinationfoldername
Then I went into the MySQL database, exported the entire thing, created a new one, and imported the SQL file. There were no errors, everything executed perfectly.
I then went into the new folder and changed the config file database settings to point to the new one.
Sometime around this time, we noticed the live site being down. Host is Dreamhost.
There is a 500 error on the root of the site: "Internal Server Error - the server encountered an internal error...."
And a Fatal Error on the careers portal: "Fatal error: Can't inherit abstract function awComponent::drawEnvelope() (previously declared abstract in finalize) in /path/to/Component.class.php on line 19."
Any help identifying what went wrong is appreciated. Dreamhost just says to restore from backup, but we'll lose about 4 hours of applicants. Not a lot, but I'd like to avoid if possible—and I'm not even convinced restoring will work, if the problem is how Dreamhost maps their MySQL to subdomains. It seemed sketchy to me while setting it up, and I'm concerned that that is what caused this error.
I used SSH to copy the files from the entire folder to a new folder:
cp -fr sourcefoldername destinationfoldername
Then I went into the MySQL database, exported the entire thing, created a new one, and imported the SQL file. There were no errors, everything executed perfectly.
I then went into the new folder and changed the config file database settings to point to the new one.
Sometime around this time, we noticed the live site being down. Host is Dreamhost.
There is a 500 error on the root of the site: "Internal Server Error - the server encountered an internal error...."
And a Fatal Error on the careers portal: "Fatal error: Can't inherit abstract function awComponent::drawEnvelope() (previously declared abstract in finalize) in /path/to/Component.class.php on line 19."
Any help identifying what went wrong is appreciated. Dreamhost just says to restore from backup, but we'll lose about 4 hours of applicants. Not a lot, but I'd like to avoid if possible—and I'm not even convinced restoring will work, if the problem is how Dreamhost maps their MySQL to subdomains. It seemed sketchy to me while setting it up, and I'm concerned that that is what caused this error.
--Kevin
Kevin Harper
www.resultsinternet.com
208-249-8893
Kevin Harper
www.resultsinternet.com
208-249-8893