emoncms installation problem

Hi,

After following all instructions and copying emoncms file tree to the root of my web server I see the startup page and all database tables are created but if i go to register nothing happens and apache error log file reports:

File does not exist: /var/www/user

What am i doing wrong?

Hal

Hax's picture

Re: emoncms installation problem

i have reinstalled everything, when i go to the localhost/emoncms the welcome page apears and the database gets populated but when i press "register" nothing happens and apache2 error log reports:

[Tue May 31 22:06:02 2011] [error] [client 127.0.0.1] File does not exist: /var/www/emoncms/user, referer: http://localhost/emoncms/

 

TrystanLea's picture

Re: emoncms installation problem

Did you try the clean URL step as described here?: http://openenergymonitor.org/emon/node/150 It sounds like a clean url problem but I may be wrong.

Hax's picture

Re: emoncms installation problem

Hi, emoncms works fine now after fixing this clean URL!

So now I wanted to try the new emoncms2 and this time I get the following error:
Notice: Undefined index: q in /var/www/emoncms2/index.php on line 28 Notice: Undefined index: form in /var/www/emoncms2/Controllers/user_block_controller.php on line 16 Notice: Undefined variable: error in /var/www/emoncms2/Controllers/user_block_controller.php on line 51

this is running on the same machine!

TrystanLea's picture

Re: emoncms installation problem

Yes sorry, they are only notices so nothing serious.

If you change the line:

  ini_set('display_errors','on');

to

  ini_set('display_errors','off');

in index.php that will sort it.

Ive made the change to the github version

Hax's picture

Re: emoncms installation problem

Hi

This fixes the error messages but still nothing happens when I press "register" with a clean DB on ubuntu 10.04.

The apache error log shows:

[Fri Sep 02 16:00:50 2011] [error] [client 127.0.0.1] PHP Notice:  Undefined index: q in /var/www/emoncms2/index.php on line 28, referer: http://localhost/emoncms2/
 

 

Guest's picture

Re: emoncms installation problem

Sorry for this last message, I was expecting a registration page like in the emoncms, but now I see that this is all handled in the first page.
Thanks

maha's picture

Re: emoncms installation problem

 

Installation de emoncms3

I installed emoncms3 successfuly . But when I tried to register a new user, nothing happens.
I don't have errors
 

 
I thought about making changes in some files , such <form action="" method="get">  in login_block.php . But I don't think so.
 
 what should I do ? 
maha's picture

Re: emoncms installation problem

It works now, after cleaning the URL

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.