Some issues that we come across

Error in Mantis

Error in Mantis during account signup :

Page redirection error, ensure that there are no spaces outside the PHP block (<?php ?>) in config_inc.php or custom_*.php files.

Comment the line :

trigger_error( ERROR_PAGE_REDIRECTION, ERROR );

found on line 53 in core/print_api.php in mantis’ directory.

Thats it.


Executing /scripts/runweblogs for all users

Just do this to execute runweblogs for all users :)

for i in `ls /var/cpanel/users`;do /scripts/runweblogs $i;done

Changing Web.config to see the error

Error in ASP.net will not be shown properly, unless we turn off the mode in Web.config found in the webroot of the domain.

Change the line

<customErrors
 mode="RemoteOnly"
/>

as

<customErrors
 mode="Off"

/>

Error : At least one of the From or Sender fields is required, and neither was found.

The error

At least one of the From or Sender fields is required, and neither was found.

occurs when the “From” field for email in the ASP.net script does not get the value.

Make sure to make the From text box for email in the form a mandatory field.

Thats it.


Error while sending mail using squirellmail

Error while sending mail using squirellmail.

Server replied: 1 Can't execute command '/usr/local/cpanel/bin/sendmail_cpanel -i -t -fmail@domain.com'.

Just check whether the /var partition in the server is 100%. If it is, reduce it.

Then, try to send mail again using squirellmail. Now, it should be working fine. :)


Enabling smtp authentication

SMTP authentication allows you to send email through servers no matter where and how you are connected to the Internet. SMTP authentication allows you to simply send without requiring you to constantly check your email.

You can enable smtp authentication in MacOS10.1 Mail as follows:

1. Click Mac mail >> Mail >> Preferences >> the email account >> Edit >> Account Information tab >> tick "Use authentication when sending mail".

2. Enter username and password >> Ok

3. Close the mail preferences window.

The URI to TrackBack this entry is: http://soumyarprabhu.wordpress.com/2008/07/20/some-issues-that-we-come-across/trackback/

RSS feed for comments on this post.

Leave a Comment