Closed GwynethLlewelyn closed 11 years ago
Hi GwynethLlewelyn, I believe I fixed this issue. The application automatically generates a random key for each installation. For security reasons you should not have it blank.
To update your application and keep all your data, you can copy all the files but you need to reset some settings (3 files):
your_directory/application/config/application.php
'installed' => false,
to
'installed' => true,
'key' => '',
to
'key' => 'youroldkey',
your_directory/application/config/database.php
'connections' => array(
'default' => array(
'driver' => 'mysql',
'host' => '127.0.0.1',
'database' => 'your_database_name',
'username' => 'your_database_username',
'password' => 'your_database_password',
'charset' => 'utf8',
'prefix' => 'your_database_prefix', // default is _mwi
'port' => '3306',
),
),
your_directory/bundles.php
return array(
'install' => array(
'auto' => true,
'handles' => 'install',
),
);
to
return array(
'settings' => array(
'auto' => true,
'handles' => 'settings',
),
'modules' => array(
'auto' => true,
'handles' => 'modules',
),
);
Hi! I saw there were a few new changes on MWI, so I decided to upgrade my installation.
Sadly, the download of the latest version from a few days ago simply doesn't install. My first attempt was to overwrite all files, hoping to be able to keep all the data I already had on MWI.
This failed — MWI tried to install again, and dumped a 500 Internal Server Error after Step 4.
So I deleted the directory where it was installed, dumped all tables from the database, and attempted a clean install. Same error.
I wondered if my username was creating problems (since the error only actually appeared after the last step) so I tried different usernames. The error persists.
Here is the error log:
Searching in Google, I found that the application key can be blanked out so that the installation works again:
http://www.supermuttmedia.com/code-breakdown/intro-to-laravel/configuration/
Having done this, I got it to install. Yay!