Statusnet installation and debugging records

Source: Internet
Author: User

The system environment is ubuntu11.01.

1. Installation (omitted)

Ii. Problem records

1. No registration Selection

The last error was found to be caused by version 1.1.0. After version 0.9.9 is used, it can be registered normally.

2. "database error" is reported during registration"

View/var/log/apache2/error. log. Tip: sh/usr/sbin/sendmail: not found

You need to add the email configuration in config. php. Take Gmail as an example. The settings are as follows:

// Email info, used for all outbound email
$ Config ['mail'] ['policyfrom'] = 'test @ gmail.com ';
// Domain for generating no-reply and incoming email addresses, if enabled.
// Defaults to Site Server name.
$ Config ['mail'] ['domain '] = 'gmail. com ';
// See http://pear.php.net/manual/en/package.mail.mail.factory.php for options
$ Config ['mail'] ['backend'] = 'smtp ';
$ Config ['mail'] ['params'] = array (
'Host' => 'ssl: // smtp.gmail.com ',
'Port' => 465,
'Auth' => true,
'Username' => 'test @ gmail.com ',
'Password' => 'test ',
);

Note: If you directly copy the above content to the config. php file, the following error may occur: 3

3. Modifying the format of the configuration file or missing quotation marks may cause PHP to report errors, syntax error and unexpected t_variable. The statusnet cannot be accessed.

4. config. php record

$ Config ['SITE'] ['profile '] = 'public'/'private'; // open mode and private mode. the default version 1.1.0 is displayed in private mode, and registration is prohibited.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.