Emoncms & Altervista

Hi,

I have try to install emoncms in my site in Altervista, the database is created and the software have created the tables.
The problem is: when I try to register a user for login nothing happens.
How to solve the problem?
Thanks in advance

fraggy's picture

Re: Emoncms & Altervista

Hi,

Must keep emoncms at your website directory eg www.domaine.com/emoncms/

And you must also have. htaccess in emoncms directory.

#
# Apache/PHP/Emoncms settings:
#

# Don't show directory listings for URLs which map to a directory.
Options -Indexes

# Make Emoncms handle any 404 errors.
ErrorDocument 404 /index.php

# Set the default handler.
DirectoryIndex index.php

# Various rewrite rules.
<IfModule mod_rewrite.c>
  RewriteEngine on
  # Rewrite URLs of the form 'x' to the form 'index.php?q=x'.
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_URI} !=/favicon.ico
  RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</IfModule>

<Files index.php>
    php_flag log_errors on
    php_value error_log /home/trystan/error.log
</Files>

You can remove the part of error_log.

<Files index.php>
    php_flag log_errors on
    php_value error_log /home/trystan/error.log
</Files>

 

Good luck.

walter62's picture

Re: Emoncms & Altervista

Thanks, but is not enough, i have the same problem. Other idea?

fraggy's picture

Re: Emoncms & Altervista

Yep,

 

You have to test if mod_rewrite work.

Change the .htaccess to :

# Active rewrite engine
RewriteEngine on
RewriteRule ^test\.html$ /test.php [L]

create the file test.php with this text :

<html>
<head>
  <title>test mod_rewrite</title>
</head>
<body>
<?php
   echo "test mod_rewrite: OK";
  ?>
</body>
</html>

Now, call www.domaine.com/emoncms/test.html

Do you see "test mod_rewrit: OK" ?

 

++

walter62's picture

Re: Emoncms & Altervista

Hi,
I have tested mod_rewrite and he work because displays "test mod_rewrit: OK".
In the picture attached you see the error when I try to register.
In the first row (n°1) the error is related at the language translation (i think) and in the pink box (n°2) no text is displayed.
Thanks in advance

fraggy's picture

Re: Emoncms & Altervista

Ok,

You have to ask your webhost to remove putenv from the disable_functions list or if the server is php safe_mode on, turn it off.

Alternatively you can comment out the following lines in locale.php

putenv("LC_ALL=$lang");

Line 86 just add "//" (without the quotes) in front of the line.

 

++

meltemer's picture

Re: Emoncms & Altervista

I've the same problem: I try to register a user for login nothing happens.No error has been displayed. 

Mod_rewirite is on and also putenv("LC_ALL=$lang"); has been commented in locale.php Lin 86.

Please, do you have other solutions ?

Tnx

TrystanLea's picture

Re: Emoncms & Altervista

meitemer: can you check if you get any errors in your browser javascript console window? especially the response of the requests which you will find under the network tab in both chrome and firefox.

marlenagui's picture

Re: Emoncms & Altervista

Hello: I have the same issue, the console tab shows the following:
event.returnValue is deprecated.Please use the standard event.preventDefault() instead.

And in the Network tab, I've got

jquery.min.map, GET status 200

tried from Chrome.

Thanks

Comment viewing options

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