After I have uploaded the Omeka files in Public_html and changed the db.ini I go to the site ( http://173.225.89.117 ) and it shows an error message about the Zend Controller. But if I look at the error log on the Apache Server (yes rewrite is enabled) I see this before the Zend controller error:
[warn] mod_fcgid: stderr: PHP Fatal error: Argument 1 passed to Omeka_Core_Resource_Options::_convertMigrationSchema() must not be null, called in /home/paomeka/public_html/application/libraries/Omeka/Core/Resource/Options.php on line 49 and defined in /home/paomeka/public_html/application/libraries/Omeka/Core/Resource/Options.php on line 79
Looking at the Options.php just before line 49 I find:
/**
* @return array
*/
public function init()
{
$bootstrap = $this->getBootstrap();
$bootstrap->bootstrap('Db');
$db = $bootstrap->getResource('Db');
try {
// This will throw an exception if the options table does not exist
$options = $db->fetchPairs("SELECT name, value FROM $db->Option");
} catch (Zend_Db_Statement_Exception $e) {
if ($this->_installerRedirect) {
// Redirect to the install script.
header('Location: '.WEB_ROOT.'/install');
} else {
throw $e;
}
}
(line 49) $this->_convertMigrationSchema($options);
I take it to mean that when there is nothing to query in MySQL for options (There are no tables in the database before or after these errors), it looks to the Install directory to begin the processes there and it fails either to find that directory or execute the code for some reason, so it fails to include any options on line 49 and thus follows the cascade of errors after that.
Is it possible that /home/paomeka/public_html as seen in the error message is being seen by the code as the '.WEB_ROOT.' instead of public_html which I think is where it should point?

