FAQ : After Installation
From b2evolution manual
This manual page is outdated. NEW PAGE: FAQ - After Installation in b2evolution v5+.
See also Lost password
In the file /conf/_basic_config.php you have set an URL with a statement like this:
$baseurl = 'http://www.mysite.com';
Cookies will be set only for this URL and "its subfolders". **So the trick is: use that URL to access b2evolution, not another one!**
In the above, example it means that if your website address is 126.96.36.199 for example, you cannot log in on
You must use
For local tests, use
$baseurl = 'http://localhost';
If it wasn't working, and then you found and corrected the problem according to what you see here, but it still doesn't work, then in some cases you may have to clear out your cache/cookies/temporary internet files before it starts working.
 I am trying to upload files / generate static pages / create new blogs but I get file permission denied errors.
Please make sure you have finished your installation. In particular, have you gone through the Tricky stuff ?
 How do I customize my blog pages ?
The short answer is: open /blogs/skins/custom/_main.php in a text or code editor.
A more detailed answer can be found here: Skins And Templates.
If you need further assistance, ask in the forums, but please tell us what wasn't clear from the manual so we can improve it. ;)
 When I do xyz I just get a blank page or only a half page
There really is just one situation where b2evolution (actually: PHP) will output a blank screen: when it runs out of memory! There are several ways to fix this:
- Uninstall some plugins. If you cannot even uninstall because you get a blank page on uninstall, delete some plugins from the /plugins folder.
- Change this setting in blogs/conf/_advanced.php:
// If you get blank pages, PHP may be crashing because it doesn't have enough memory. // The default is 8 MB (set in php.ini) // Try uncommmenting the following line: ini_set( 'memory_limit', '16M' );
- Edit your php.ini file (ask your hosting provider if you don't know what this is) and increase the value of memory_limit, for example:
memory_limit = 16M
Often the server setup allows you to override the original php.ini setting by adding a new php.ini in the root or 'somewhere' on the server.
- Add this to .htaccess:
# Increase memory limit php_value memory_limit 16M
If you're using php 5.x set this value higher, something like 64M.
 I get this error: "Warning: Cannot modify header information - headers already sent by (output started at ..."
If you get this error, it is most likely you recently changed something in a file. The error is caused by added whitespace (space or line feed) *before* the first <?php or *after* the closing ?>. You can remove the error by opening the file stated in the notice and remove the whitespace. Because whitespace is often hard to detect, you may want to use a fresh copy of the file and make the changes anew. Do use a plain text editor like Notepad++ or Crimson Editor for editing B2evo files. Do not use a HTML editor or Word.
 I have "Notice: Only variable references should be returned by reference in" all over the place
If you run php 4.4.x or an early version of php 5 you may run into these errors. It is suggested that the Zend Optimizer Engine associated with these php versions is the cause of the troubles. The errors can happen in every version of B2evolution. To get rid of the errors you must edit the files where they occur. A typical line may read:
/home/www/YOURSITE/inc/MODEL/dataobjects/_dataobjectcache.class.php on line 121
in which case you look for line 121 in the file ../blogs/inc/MODEL/dataobjects/_dataobjectcache.php.
In the file you may encounter two variations. If it is:
$obj = new $objtype( $row );
you change it to:
$obj = & new $objtype( $row );
If it is:
$r = false; return $r;
you change it in:
$r = false; $temp = & $r; return $temp;
Alternativily you can change this line in ../blogs/conf/_advanced.php to:
error_reporting( E_ALL ^E_NOTICE );
In this forum topic you find some extra information concerning this issue.
 I cannot send emails from B2evolution
B2evolution will send emails in a number of occasions:
- a user wants to register
- a user forgot his password and requested a new one
- a user wants to contact the admin
- a user wants to contact another user
B2evolution uses PHP's mail() function to send these emails. Some providers however disabled this function for security (spam) reasons. There may be other situations where you want to use an SMTP server to send the emails from. An SMTP server is an email server. This can be the server where you send your normal emails from and/or a server from a service you registered to, like Yahoo! or Gmail. You can fairly easy setup a construction to guide the emails generated by B2evolution to another SMTP server. We refer to this topic in the forum FAQ for more information.
 I made all the changes you asked for and nothing happened
Go to backoffice -> Tools -> (Misc) -> and hit the "Delete Prerendered Item Cache" link.
 My error is not (yet) in this list
- Common SQL errors and how to resolve them at: mySQL docs
- Extensive PHP site (home) at: PHP: documentation
- Technical documentation of B2evolution: B2evolution API documentation
- Yet another B2evolution FAQ: Forum: FAQ
 I need further assistance...
Please ask in the forums.