• i put wordpress in sub-directory of a drupal site now when i tried to install this error “ERROR: you must provide an e-mail address” appear.

    ive tried the solutions given from other post like this but none of them works for me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • i put wordpress in sub-directory of a drupal site now when i tried to install this error “ERROR: you must provide an e-mail address” appear.

    Either there is issues with wp-config.php file (25% chance) or the configuration of php.ini file is incorrectly set (>70% chance). Hosting environment, other than php.inifile settings can contribute to rest (<5% chance).

    As basically Drupal is also running, you need to increase the alloted maximum memory and POST size. POST is the HTML POST what carries the info (email in your case) from your form filed to database. That basically is failing.

    Login though shell as root user (taking Terminal and standard unix commands for a Debian Server and nano as text editor) and open the php.ini file :

    Running this command will show you the path of php.inifile :

    sudo locate php.ini

    Usually it will be :

    /etc/php5/apache2/php.ini

    Open with text editor :

    nano /etc/php5/apache2/php.ini

    Use ‘where’ function its ^ + W in OS X) and find the lines :

    php_value upload_max_filesize

    and

    php_value post_max_size

    You can temporarily disable (comment out by ; followed by a space before the lines) and restart Apache2, however it is not recommended for security reasons.

    And increase the values like somewhat :

    php_value upload_max_filesize 256M
    php_value post_max_size 512M

    Write out :

    ^ + O

    Also increase the php memory value in WordPress’s .htaccess :

    php_value memory_limit 256M

    If it throws 500 internal server error, wrap it :

    <IfModule mod_php5.c>
    php_value memory_limit 256M
    </IfModule>

    Change default php memory limit to less than allocated by server, i.e. a bit less than 256MB.

    Restart Apache :

    /etc/init.d/apache2 restart

    You need to enable:

    extension=suhosin.so

    Did this work for you? Or do you still have questions and/or issues?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘ERROR: you must provide an e-mail address’ is closed to new replies.