Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

(solved) "UserForms" Module - install quuestion


Go to End


3 Posts   1416 Views

Avatar
Nessus

Community Member, 6 Posts

23 September 2010 at 9:54pm

Edited: 24/09/2010 3:49am

Hi,

trying to get familiar with siverstripe I tried to add my first module..... and failed.

Here is what i did:

My system: ss 2.4.1 on my lokal Suse 11.2 apache, mysql, php5 server.

I downloaded the latest version of the User Forms Module from this site (v0.3.0) and opened the install instructions.

Installation Instructions
-----------------------------------------------
- Download the module from the link above.
- Extract the file (if you're on windows try 7-zip for extracting tar.gz files)
- Make sure the folder after being extracted is named 'userforms' (not userforms-r93130 for example)
- Place this directory in your sites root directory. (The root is the one with sapphire/cms in it)
- Run in your browser - http://www.yoursite.com/dev/build to rebuild the database.
- You should see a new PageType in the CMS 'User Defined Form'. This has a new 'Form' tab which has your form builder.

The module is now located at: /srv/www/htdocs/silverstripe_test/userforms This translates to http://localhost/silverstripe_test/userforms/ on my machine.
And yes, silverstripe_test is my root directory ;-)

When I follow the install instructions and call up http://localhost/silverstripe_test/dev/build I get

 Objekt nicht gefunden! Which translates to object not found (404 error)

Well, thats not really surprising, as in /srv/www/htdocs/silverstripe_test/ there are no such folders as /dev/build

What am I missing.... otherwise silverstripe runs fine.... any ideas anyone?

Cheers

Avatar
Willr

Forum Moderator, 5523 Posts

23 September 2010 at 10:49pm

/dev/build is a SilverStripe action to rebuild the database. It does not point to any file or folder so you won't find it on the filesystem.

Have you tried running dev/build before while using your site i.e before you added the module? If you have mod_rewrite disabled then that could be one reason its throwing a 404. Instead then the dev/build functions will be available at the url http://localhost/silverstripe_test/index.php/dev/build.

Avatar
Nessus

Community Member, 6 Posts

24 September 2010 at 3:47am

Ahhhh.. yes, mod_rewrite wasn't enabled. Using http://localhost/silverstripe_test/index.php/dev/build solved the problem.

Cheers again.