IÂ´m doing some testing on SS 2.4 beta2 with PostgreSQL.
Installation goes OK.
To add user forms I downloaded the module.
After the dev/build , apparently all went well, but I read somewhere that needed to upgrade to the latest version of user forms to make it work SS2.3 or higher. So, I downloaded latest trunk (userforms-trunk-r100973).
The dev/build gives me an error renaming a table.
I think in PostgreSQLDatabase.php function renameTable, the line:
$this->query("ALTER TABLE \"$oldTableName\" RENAME \"$newTableName\""); should be
$this->query("ALTER TABLE \"$oldTableName\" RENAME TO \"$newTableName\"");
OK. This solve the problem for me. Now dev/build is OK.
Then I make dev/tasks/UserFormsMigrationTask with no problems.
The problem is that, in admin panel, I canÂ´t see the new PageType: 'User Defined Form'.
I think I get a similar issue too. (2.4.0-beta2, mysql)
In the draft/published versions the user defined forms work fine.
Maybe there are two errors....
First of them is related to Postgres, where is not correctly added UserDefinedForm to database.
The second one is creating a new User Defined Form.
Â¿Maybe it is not tested User Defined Forms in SS 2.4 beta2?
I have open a tickep for the problem of renaming table http://open.silverstripe.org/ticket/5241
Definitively something is bad with PostgreSQL and UserForms.
I have create a MySQL based project with 2.4.beta2 and installed UserForms without problems...
I will continue with this because my client needs PostgreSQL but IÂ´m lost...
I have just committed a large number of fixes for modules running on the 2.4 branch of SilverStripe. These fixes specifically addressed Postgres support issues.
I've taken a quick look at the user forms module, and it appears to work.
I install a clean SS 2.4 in PostgreSQL.
I add userforms, run www.misite.com/dev/build and see messages from database table creation with no errors.
In admin, I canÂ´t see User Defined Forms in page type.
Could be a problem with the PHP version? I will try to test it in another server...
I try to install SS in Fedora 12 to test it.
The problem is that I cant install it.
The installer stops without errors (I only can read "PHP 5 is required" in page title):
I am now running through the installation steps (this should take about 30 seconds)
If you receive a fatal error, refresh this page to continue the installation
* Setting up 'mysite/_config.php'...
* Setting up /var/www/html/ss24fedora/mysite/_config.php
* Building database schema...
- SS 2.4.0 beta 2
- Postgres module: postgresql-trunk-r101736.
- Apache 2.2.14
- PHP 5.3.2
- Postgres 8.3 working in a remote server.
- SE linux disabled
- I have create the silverstripe-cache directory. It works because there are files created.
- gd2, mysql, hash, mbstring modules loaded
.httacces files are in their place.
Directory config is:
Options FollowSymLinks SymLinksifOwnerMatch
Allow from all