URL error (action / actions)

Hi,

my installation script takes me to the URL:

http://localhost/elggtest/action/systemsettings/install

instead of

http://localhost/elggtest/actions/systemsettings/install

which should be the correct path apparently (I found out browsing the dir structure).

I still have some other problems on the installation (blank page), which I'm working out... just enabled mod_rewrite like in an old post here though, that seems fine - removed the error - but now gives blnk screen.

  • I took the whole process again and this time went through until the creation of the user in db.

    So far, it has some issues:

     - A user has been told that his password was incorrect, but yet it was inserted in the db.

     - There is no recognition of aliases on mails. E.g. gmail = googlemail. You can create two different accounts with same address.

     

  • Ah yes, and mails dont get sent :(

  • Co Lega - It sounds like you might want to read some of the troubleshooting docs at http://docs.elgg.org/wiki/Install_Troubleshooting

     

  • Hi Brett,

    thanks a lot. mod_rewrite seems to work fine now.

    Still, mails are not getting sent. This is my email config in php info page, and my postfix instance is up. Using ubuntu 9.10. Any ideas? Is it the sendmail_from value that should be set to some value?

    sendmail_from no value no value
    sendmail_path /usr/sbin/sendmail -t -i  /usr/sbin/sendmail -t -i 
  •  

    Hi,

    I'm sorry but i don't understand some things:

    Why do we have to rewrite something to make the install work properly? Why doesn't elgg go and find the "actions" folder instead of looking for the "action" folder wich in any case does not exist?

    I tried to make it work by writing "RewriteEngine On" and "RewriteBase /elgg/html/" in an .htacess like told in the wiki, but unfortunatly it doesn't work.

    The files are like that:

    •  Root
      • elgg
        • data
        • html  <= .htaccess

     

    Thank you for your answers.
    Regards.

  • The rewrite rules are there so that you can use URLs like /pg/profile/kicoe rather than URLS like /mod/profile/index.php?username=kicoe

    The rules have nothing to do with fixing spelling mistakes or making the install work.

    You probably do not need a rewrite base at all. Try it with the rewrite base commented out. RewriteEngine On should have already been set in your .htaccess

    If you do need to set rewrite base, it is the relative portion of your URL. If your site is reached at http://mysite.com/elgg/html/ then it is /elgg/html/

  • Hi and thank you for your quick answer.

    Actually, there is now just this in my htaccess:

    SetEnv PHP_VER 5
    RewriteEngine On

    And I still have the message "The requested URL /elgg/http/action/systemsettings/install was not found on this server".

  • You should use the .htaccess file included with Elgg (htaccess_dist). You may need to add the line: SetEnv PHP_VER 5