Frequently Asked Questions (FAQ)
Below you will find answers to many questions frequently asked by prospective and current SocialEngine clients.Presale Questions ...
Free Trial Questions ...
Site error: the file /Users/phil/Sites/socialengine281_trial/files/install.php requires the ionCube PHP Loader ioncube_loader_dar_5.2.so to be installed by the site administrator.
This error means that none of the IonCube loaders we've included in the trial work for your operating system. To find the loader that works for your OS, please visit this page: http://www.ioncube.com/loaders.php
License Agreement ...
Support ...
Installation ...
Configuration ...
Extension |
Type/sub-type |
Audio |
|
| aifc | audio/x-aiff |
| aiff | audio/x-aiff |
| au | audio/basic |
| m3u | audio/x-mpegurl |
| mid | audio/mid |
| mp3 | audio/mpeg |
| ra | audio/x-pn-realaudio |
| ram | audio/x-pn-realaudio |
| rmi | audio/mid |
| snd | audio/basic |
| wav | audio/x-wav |
Compression |
|
| gtar | application/x-gtar |
| gz | application/x-gzip |
| lha | application/octet-stream |
| lzh | application/octet-stream |
| tar | application/x-tar |
| tgz | application/x-compressed |
| z | application/x-compress |
| zip | application/zip |
Documents |
|
| c | text/plain |
| css | text/css |
| doc | application/msword |
| dot | application/msword |
| h | text/plain |
| hlp | application/winhlp |
| htm | text/html |
| html | text/html |
| htt | text/webviewhtml |
| js | application/x-javascript |
| mdb | application/x-msaccess |
| application/pdf | |
| rtf | application/rtf |
| rtx | text/richtext |
| txt | text/plain |
| xla | application/vnd.ms-excel |
| xlc | application/vnd.ms-excel |
| xlm | application/vnd.ms-excel |
| xls | application/vnd.ms-excel |
| xlt | application/vnd.ms-excel |
| xlw | application/vnd.ms-excel |
Images |
|
| bmp | image/bmp |
| gif | image/gif |
| ico | image/x-icon |
| jfif | image/pipeg |
| jpe | image/jpeg |
| jpeg | image/jpeg |
| jpg | image/jpeg |
| tif | image/tiff |
| tiff | image/tiff |
| xbm | image/x-xbitmap |
| xpm | image/x-xpixmap |
Programs |
|
| bin | application/octet-stream |
| dll | application/x-msdownload |
| exe | application/octet-stream |
| sh | application/x-sh |
Video |
|
| asf | video/x-ms-asf |
| asr | video/x-ms-asf |
| asx | video/x-ms-asf |
| avi | video/x-msvideo, video/avi |
| mov | video/quicktime |
| movie | video/x-sgi-movie |
| mp2 | video/mpeg |
| mpa | video/mpeg |
| mpe | video/mpeg |
| mpeg | video/mpeg |
| mpg | video/mpeg |
| mpv2 | video/mpeg |
| qt | video/quicktime |
| swf | application/x-shockwave-flash |
They are a little intimidating at first, but once learned are extremely powerful.
You can find more information and tutorials about regex here.
General ...
-
Search the FAQ:
The FAQ is constantly being updated with new questions. Often a nasty error can be caused by a small configuration mistake. If there is already a known issue around a problem, you can fix it immediately. -
Analyze the Problem Source:
Do a quick analysis of the problem and guess what is causing the problem. For example, if you can't login, make sure cookies and javascript are enabled. If you get a "500 Internal Server Error", chances are something is wrong with your server setup. In this case, you should probably contact your provider as that is their area of expertise. -
Contact Support:
Couldn't find a solution? Feel free to contact us through the client area. We are always happy to listen and address your concerns.
To specifically see what types of files your ffmpeg installation will support, click on "Video Utilities" in your admin panel. From there, click on "Supported Video Formats" to see a detailed list of supported file formats and codecs on your particular server.
http://www.socialengine.net/configsuggestions.php
Customization ...
- File Comparison: WinMerge (for TortoiseSVN or standalone), TortoiseMerge (comes with TortoiseSVN), SourceGear DiffMerge (Mac OSX)
- FTP Client: Filezilla
- Revision Control: Subversion (SVN), TortoiseSVN
- Telnet/SSH Client: PuTTY
- Text Editor: http://www.pnotepad.org/
- File Comparison: Wikipedia
- Image Manipulation: Adobe Photoshop, GIMP
- HTML (HyperText Markup Language): Provides a means to describe the structure of text-based information in a document. W3C, Wikipedia
- CSS (Cascading Style Sheets): Describes the presentation of a document written in a markup language. W3C, Wikipedia
- PHP (PHP: Hypertext Preprocessor): Computer scripting language designed for producing dynamic web pages. Used for server-side scripting. Site, Wikipedia
- Javascript: Scripting language most often used for client-side web development. Wikipedia
- Smarty: Web template system written in PHP. Smarty is primarily promoted as a tool for separation of concerns, which is a common design strategy in web applications. Site, Wikipedia
- AJAX (Asynchronous JavaScript and XML): Group of inter-related web development techniques used for creating interactive web applications. Wikipedia
Description is editable from the language settings in the admin panel, as phrase ID 1156
For the others, you can add new HTML meta tags right before the others, which are at the beginning of templates/header_global.tpl. The existing tag code is as follows:
<meta name='Description' content="{if $global_page_description != ""}{lang_sprintf id=$global_page_description[0] 1=$global_page_description[1] 2=$global_page_description[2]}{else}{lang_print id=1156}{/if}">
Log into your admin panel and access the "Profile Fields" page (the menu option can be found under "Global Settings" in the left column). Click the "First Name" field, and set the Display type to "Not Displayed on Profile". Change the "Special Attribute" field to blank. Repeat this process for "Last Name".
First and last names will still show up in feeds and one spot in the profile until the database is cleaned. To accomplish this, run the following commands in your MySQL database:
TRUNCATE TABLE se_actionmedia
UPDATE se_users SET user_displayname='' WHERE 1
$show_uploader = 1;
to
$show_uploader = 0;
Common Problems ...
-
mod_security blocking uploads in the Flash uploader.
Add this to your .htaccess file:
<IfModule mod_security.c>
SecFilterScanPOST Off
</IfModule> -
PHP configuration directive "memory_limit" is not big enough
The PHP core takes up about 5MB. You also need at least 4 bytes for each pixel in the image to resize it, regardless of the actual file size. So, if you have a 2000x2000 pixel (4 megapixel) image, you need memory_limit at least this big to be able to upload it:
Note that if this is not set correctly, you will likely see an error:
5MB + ( 2000 * 2000 * 4B ) = 21MBFatal error: Allowed memory size of XXXXXXXXX bytes exhausted (tried to allocate XXXXX bytes) -
PHP configuration directive "safe_mode" is set to on.
Safe mode can prevent PHP from writing to the temp upload folder (upload_tmp_dir)
-
PHP configuration directive "open_basedir" is set incorrectly.
Completely prevents PHP from writing to any folder not in or within the ones specified. Subfolders of the settings here can be written to, i.e."open_basedir /tmp:/var/www/htdocs" includes the folder "/var/www/htdocs/social". Make sure this is set correctly. It must either be off or must include the temp directory (see upload_tmp_dir) and your web server's document folder (i.e. "/var/www/htdocs").
-
PHP configuration directive "file_uploads" is set to off.
Must be set to on to allow file uploads.
-
PHP configuration directives "upload_max_filesize" or "post_max_filesize" are not set large enough. This commonly results in the error message filetype is not allowed.
These directives must be set to at least what you have set in the control panel, or files large than these directives will fail to upload.
-
PHP configuration directive "upload_tmp_dir" is set incorrectly or is inaccessible.
upload_tmp_dir - Specifies the folder in which uploads are stored temporarily. It must be a folder accessible by PHP. If unset, the default is usually the system temp directory, which is set a system environment variable (TMP and TEMP are two possibilities).
-
The uploads folder is not accessible.
The uploads folders in the SocialEngine root directory must be writable.
(Linux) You must chmod 777 the folder (recursive)
(Windows) You must set "Full Control" on the folder for the user group "Everyone" (recursive) -
Incorrect extension/mime type
Make sure the file extension and MIME types are set in the admin panel. Often a file type has more than one possible mime type, so make sure they are all in the admin panel.
Please refer to the FAQ about MIME types for more information. -
Your web server or client connection is slow and it never finishes or times out (larger files).
There isn't much you can do about this at the moment. Hopefully we will add a fancy file uploader that will help with this soon.
-
Bug in versions 2.00, 2.10
A bug that prevented bitmaps and movies from uploading correctly was fixed in 2.20. Please ensure that your SocialEngine is at least this version.
-
Rare bug in versions 2.00, 2.10, 2.20
A bug that prevented all files from uploading correctly was fixed in 2.30. This was caused by default lower permissions on a few systems. Please ensure that your SocialEngine is at least this version.
Linux:
- Sendmail path is incorrectly configured (php.ini - sendmail_path)
Windows:
- SMTP server's host is set incorrectly (php.ini - SMTP). default: localhost
- SMTP server's port is set incorrectly (php.ini - smtp_port). default: 25
- It seems that setting this can help if none of the others work. Set it to the address you want your emails to be sent from (php.ini - sendmail_from). default: NULL
Email is getting marked as spam or not being delivered:
- Obtain an SPF Sender ID for your domain. You must be able to modify your DNS record
- Refrain from using words that might trigger spam filters (anything that might be linked to advertising, e.g. viagra, buy, cheap, enlargement)
More information about PHP's mail functions:
- http://www.php.net/mail
- http://www.php.net/manual/en/configuration.changes.php
More information about the Sender Policy Framework (SPF):
- http://en.wikipedia.org/wiki/Sender_Policy_Framework
- http://www.openspf.org/
- http://www.microsoft.com/mscorp/safety/content/technologies/senderid/wizard/
Normal text editors save a "Byte Order Mark" at the beginning of the file.
From http://en.wikipedia.org/wiki/Byte_Order_Mark
"in PHP, if output buffering is disabled, it has the subtle effect of causing the page to start being sent to the browser, preventing custom headers from being specified by the PHP script."
You should get a text editor that can remove it. Once such editor is Programmer's Notepad; when editing the file go to File->Encoding->UTF8 No Mark. See the FAQ about recommended tools for a link or possibly other editors.
When editing files through an FTP client, the default editor often leaves a BOM. You can change it for these clients where shown:
Filezilla: Edit->Settings->Remote File Editing
WinSCP: Preferences->Preferences->Editors
Screenshots:
Programmer's Notepad 2
Notepad (will probably leave a byte-order mark)
SE v3
This is now in the main stylesheet templates/styles.css. Look for: table.body { width: 900px; }
SE v2
Open /templates/header.tpl. Look for {* START PAGE *} in the code, and you'll see "width='800'" - make this 900 or more.
Text that is returned by PHP's built-in functions can often be translated by setting the locale. PHP will use the system's translations for the locale for returned text. One obvious place that this affects is the month names.
SE v3
In version 3, you can set the locale in the Admin Panel under Language Settings->Edit Language. It will try to populate itself with a list of system-supported locales.
SE v2
You must modify the setlocale call in the main language pack (i.e. lang/lang_english.php). There will be these two lines near the top:
$multi_language = "no";
Here is an example for German, general:
$multi_language = "yes";
The setlocale() function will pick the first argument that matches an available local. The first four are all POSIX-type locale specifiers (Unix, Linux) however they may also apply to some other OS's. The first two specify a character set (utf8). The fifth and sixth are Windows-type locale specifiers.
- Make sure your browser cookies are enabled
- Session support may not be working on your server. This is usually caused by incorrect permissions on the session data storage directory. You can find this in phpinfo() under 'session.save_path'. The permissions should be 777. You may need root access to perform this operation. Contact your host if you have any questions about this.
-
Another possibility is that your browser is caching the security image. Make sure you have this line in the file images/secure.php:
header("Cache-Control: no-cache"); - If you had the trial version installed, make sure images/secure.php is not still encrypted by uploading the one from the distribution.
Google Chrome - Chrome is still in beta and is not supported. It has a lot of bugs related to Javascript. When a stable version is released, we should add support for it.
Internet Explorer 8 Beta - IE8B is still under development, and not supported. On the other hand, you should be able to work around it by forcing it into IE7 compliant mode by adding this in between the <head> tags in templates/header_global.tpl:
Apache limits the maximum number of post values with the directive LimitRequestFields. You should adjust it to accommodate the number of options you plan to use.
There are four fields used per option:
- Option ID
- Option Label
- Uses Dependency
- Dependency Label
Also, the rest of the field data needs to be sent with the request. Use this formula to calculate your setting. If the result is less than 100, you shouldn't need to change it.
(largest number of options in any field) * 4 + 20
MySQL limits the row size. If you encounter this problem, change some of the column types in the se_profilevalues table from VARCHAR to TEXT (TINYTEXT or SMALLTEXT should be good enough for ones that can replace a VARCHAR). This seems to be reported around 175 different profile fields.
- Make sure the file and template have been uploaded (and did not fail to upload) over FTP.
- If you have Subdirectory URLs enabled and have recently installed or upgraded a plugin or the platform, regenerate your .htaccess file.
- If you have Subdirectory URLs enabled, make sure that you have mod_rewrite installed and you are able to use .htaccess files.
- If you are getting a 500, 406, or 403 error, have mod_security installed, and the page name contains "user_", mod_security may be blocking the page. You need to add an exception to the mod_security rules. Please ask your host for details.
- If you are getting a 500 error on all pages and have an htaccess file in your root folder, you may not be allowed to use htaccess files. Please ask your host.
- If you are getting a 500 error and have to Suhosin PHP security mod installed, you may have global write permissions on the file or parent folder. This mod prevents PHP files that are chmod 777 or in folders that are chmod 777 from executing.
The default string operation functions do not support multi-byte text (virtually all non-english text). You can fix this problem by installing PHP's Multi-byte String Library and setting mbstring.func_overload to 2 in php.ini
Starting in 3.08, we will attempt to force this to on in header.php (if the mbstring library is installed), however unless you are running a fully dedicated server, it will probably fail due to security restrictions. If it is not working, you will have to set it manually in php.ini
Standard php.ini
Non-standard php.ini (used by some hosts)
.htaccess
Standard php.ini
Non-standard php.ini (used by some hosts)
.htaccess
This is likely caused because your server does not support "canonical web URLs", meaning it needs to see a "www" in front of your domain. To force this addition, add the following to your .htaccess file:
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{http_host} ^domain.com [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]
Please ensure your template files located in ./templates/, specifically profile.tpl, were overwritten when your last upgrade occured.
If you are using SE 3.12 or 3.13 , "Remember Me" is not fully supported, and you will need to upgrade to 3.14.
If you are using SE 3.14, the patch for this is available at http://socialengine.net/tutorials/se314dev.zip Please replace the following files:./include/js/class_comments.js
./include/js/class_user.js
./include/js/core-min.js
./include/js/class_comments.js
./include/js/class_user.js
./include/js/core-min.js
./include/js/class_comments.js
./include/js/class_user.js
./include/js/core-min.js
There is a bug in Internet Explorer 7 and 8 that impairs the creation and editing of profile fields. A fix is being created. In the meantime, here is the workaround:
This bug is inherently linked to tabs in IE. Try opening a second tab in the browser (Ctrl-T). You don't have to visit a site, the tab just needs to be open. In most cases, the presence of a second tab will cause the profile fields editing window to function normally.*
*In some rare cases, multiple tabs actually cause the problem, and the workaround is to have only one tab open.
To fix, edit your .htaccess file.
Look for:
Reuploading the files from the non-functional plugin, specifically the .SWF files, in the correct format should solve the problem. We recommend using the FTP client FileZilla, which will automatically upload files in the correct format.
The alternative to a complete upgrade is to replace the file ./include/class_inputfilter.php on your server with the newest version.
The newest version of the file can be obtained by downloading the latest upgrade package for your SocialEngine core.
The solution is to upgrade your blogs plugin and SocialEngine Core to the most recent version. This will not only fix this issue, but will provide many feature enhancements, bug fixes, and security patches.
If you do not wish to upgrade, look to "Keyword blogcomment" in the "Recent Activity Feed" of the admin panel.
Change:<a href="profile.php?user=[username1]">[displayname1]</a> posted a comment on <a href="profile.php?user=[username2]">[displayname2]</a>'s <a href="blog_entry.php?user=[username2]&blogentry_id=[entryid]">blog entry</a>:<div class="recentaction_div">[comment]</div>
to:
<a href="profile.php?user=[username1]">[displayname1]</a> posted a comment on <a href="profile.php?user=[username2]">[displayname2]</a>'s <a href="blog.php?user=[username2]&blogentry_id=[entryid]">blog entry</a>:<div class="recentaction_div">[comment]</div>
If you wish to remove this limitation, edit ./include/functions_general.php
Around line 1025, remove:
AND user_photo<>''
Also, if new members box was added to ./templates/user_home.tpl, please add the following lines to ./user_home.php.
// GET RECENT SIGNUPS $signup_array = recent_signups();
$smarty->assign_by_ref('signups', $signup_array);
File: class_event.php
Line: around 374:
>> Add these 2 line just before "// CREATE OBJECT FOR EVENT"
// CONVERT HTML CHARACTERS BACK
$event_info['event_desc'] = str_replace("\\r\\n", "", html_entity_decode($event_info['event_desc']));
The encoded file _________.php requires a license file. The license file ________/license.txt has expired.
To deactivate the offending plugins, you will need to access your database, and edit se_plugins. For each offending plugin, change the field "plugin_disabled" from 0 to 1, or delete the row for that plugin.Remaining install_______.php files in the ./admin/ directory must be deleted as well.
To get rid of this error, click the X next to Server 1 in your memcache session settings, then click save. This will keep your server from attempting to contact the localhost to check the memcache settings.
However, on occasion, encoding problems can be addressed in the SocialEngine code, as certain Linux servers do not properly recognize our GREP commands.
Try editing ./include/class_video.php. Find and change:
to
- The MySQL host is not appropriately identified. Often, in a shared server environment, the database server is not the localhost. Please check with your hosting provider and verify that you have entered the correct MySQL database host address.
- The database server is not correctly configured. Please contact your host to ensure they have properly set the socket file used by the MySQL client, rather than connecting to the localhost loopback address 127.0.0.1.
- magic_quotes_gpc
- magic_quotes_runtime
- magic_quotes_sybase
- The "HTML Templates" page of your admin panel. You can edit your TPL files in-browser in this page, allowing you to ensure that no third party application will corrupt them.
- A plaintext editor, such as Notepad, or Notepad++. These text editors will edit the contents of any file without corrupting data.

Quick Tour
Affiliates
Client Login
Buy SocialEngine!
