I tried to upgrade from 0.8.2 to 0.9.0rc1. When I start the upgrade.php script everything seems to work fine. The database connection is o.k., I made all the required changes to config-dist.php. However, the new tables are not being created (although the config.php script is).
What might be a reason for that?
Mat
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What database are you using? Did you save the changed config-dist.php
as config.php?
Mathias Leinmueller wrote:
> Hi,
>
> I tried to upgrade from 0.8.2 to 0.9.0rc1. When I start the
> upgrade.php script everything seems to work fine. The database
> connection is o.k., I made all the required changes to
> config-dist.php. However, the new tables are not being created
> (although the config.php script is).
> What might be a reason for that?
>
> Mat
>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Database: MySQL Distrib 3.23.51, for pc-linux-gnu (i586)
phpbt 0.8.2 works fine with this database.
I tried two ways to upgrade:
1. config.php (666, user root): call upgrade.php. The new values were added to the config.php.
2. config.php (644, user root): call upgrade.php. Apache runs as user nobody. Script cannot change config.php. Therefore, saved it locally and retransferred it to the server.
No database changes in either case :-(
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I tried to upgrade from 0.8.2 to 0.9.0rc1. When I start the upgrade.php script everything seems to work fine. The database connection is o.k., I made all the required changes to config-dist.php. However, the new tables are not being created (although the config.php script is).
What might be a reason for that?
Mat
What database are you using? Did you save the changed config-dist.php
as config.php?
Mathias Leinmueller wrote:
> Hi,
>
> I tried to upgrade from 0.8.2 to 0.9.0rc1. When I start the
> upgrade.php script everything seems to work fine. The database
> connection is o.k., I made all the required changes to
> config-dist.php. However, the new tables are not being created
> (although the config.php script is).
> What might be a reason for that?
>
> Mat
>
Database: MySQL Distrib 3.23.51, for pc-linux-gnu (i586)
phpbt 0.8.2 works fine with this database.
I tried two ways to upgrade:
1. config.php (666, user root): call upgrade.php. The new values were added to the config.php.
2. config.php (644, user root): call upgrade.php. Apache runs as user nobody. Script cannot change config.php. Therefore, saved it locally and retransferred it to the server.
No database changes in either case :-(
Stupid me.
I forgot to remove the {} for the config.php variables (i.e I wrote '{mysql}' instead of 'mysql').
The upgrade worked perfect. Thank you.