Manual :: Installation ::

25 comments

Comment from: Yanger [Visitor]
YangerQ: does b2e install well on a ftp-only php/mysql system?
A: Yes. This is what b2evo is designed for.
2004-07-12 @ 15:15
Comment from: yat [Visitor]
yati have ftp the content of the "blogs" folder into my server. when i run the installation php, there is an error connecting to DB. the messages are:

Error establishing a database connection!

Are you sure you have typed the correct user/password?
Are you sure that you have typed the correct hostname?
Are you sure that the database server is running?

how do i get the info for the DB? i'm not a technical person, and the server belongs to my university. it's Apache. does it mean that, besides uploading the b2evo files, i still need to create a SQL db? if so, how? please advise!
2004-11-02 @ 13:56
Comment from: Karsten Ohme [Visitor]
Karsten OhmeNothing is done within 15 minutes. My system missed the php4-mysql library (I use debian). Everytime I opened the installation php (described in the index.html, see point 3. ) and entered values nothing happend. A blank screen. When I wanted to open my blog it reminded me that I should run the install script. After hours of searching I discovered in /b2evocore/_class_db.php that the function mysql_connect in the constructor has a @ in front of its function call, so every error messages from this function are ignored! Without this operator I got the error message and could find the error that this function isn't found.
That means:
a) It's not good to supress error messages.
b) You should mention what a php installation means including this library.
2004-11-03 @ 20:13
Comment from: brittany [Visitor]
brittanyhow come when i open up index.html all the things have x's and all the links cannot be found???
2004-12-24 @ 02:58
Comment from: Craig Sharrow [Visitor]
Craig SharrowHow & where do I create the mysql database (I assume it's an empty file and/or directory)?
2004-12-30 @ 00:32
Comment from: Ted Brenner [Visitor]
Ted BrennerWhere or what is the installation script? I've tried to run the install/index.php but I get an error message saying 'Call to undefined function: preg_match()'. I'm running this remotely.

Thanks!
2005-01-03 @ 18:44
Comment from: Ted Brenner [Visitor]
Ted BrennerWhere or what is the installation script? I've tried to run the install/index.php but I get an error message saying 'Call to undefined function: preg_match()'. I'm running this remotely.

Thanks!
2005-01-03 @ 18:48
Comment from: Ted Brenner [Visitor]
Ted BrennerWhere or what is the installation script? I've tried to run the install/index.php but I get an error message saying 'Call to undefined function: preg_match()'. I'm running this remotely.

Thanks!
2005-01-03 @ 19:00
Comment from: hsn [Visitor]
hsnBonjour à tous et bravo encore pour ce site. Je voudrais savoir comment faire pour changer le nom des différentes tables sur mon serveur MySql lors de l'installation de b2evolution. J'aimerais installer les tables dans des noms différents au sein de ma base de données. Est-il possible de changer le nom des tables pour l'installation de deux systèmes b2evolution sur la même base de donnée et le même serveur. Merci de répondre si vous avez une réponse.
2005-02-16 @ 17:09
Comment from: zambizzi [Visitor]
zambizziYeah, this is great unless you try to install on Windows. The config file settings aren't saved so you have to edit manually. Once I did I just get a blank page when the blog page is loaded.
2005-03-06 @ 05:36
Comment from: Solarnexus [Visitor]
SolarnexusJust installed b2evo and all seems to be working well (on winxp I might add, dont know why so many are having probs with windows).

Now, I have to figure out how to customise the look to fit in with the main website.
2005-04-16 @ 12:16
Comment from: Henrique Dias [Visitor]
Henrique DiasI don't get to run install/index.php. What is wrong?
2005-05-23 @ 13:55
Comment from: CoolMouse [Visitor]
CoolMouseI've just installed. Everything is fine but catogery option in admin cp. When I click the categories tag to add a new category, my browser prompted that page cannot be opened. Seems the catogeries link was down. What's wrong? Do I need to reinstall it?
2005-05-25 @ 20:56
Comment from: acherrin [Visitor]
acherrin
Where or what is the installation script? I've tried to run the install/index.php but I get an error message saying 'Call to undefined function: preg_match()'.


If you are getting this error, and you are running FreeBSD (and possibly other operating systems), try installing php4-extensions. This solved the problem for me. Or you can just install b2evolution from the ports tree. http://www.freebsd.org/cgi/cvsweb.cgi/ports/www/b2evo/
2005-05-28 @ 03:55
Comment from: Jeff [Visitor]
JeffDoes anyone know what causes the 'Call to undefined function: preg_match()' error on Windows? I am running php5. The php web site says that preg_match is a pcre function and is already built into php5. No need to install anything special. Yet, I get this error...
Thanks
2005-07-26 @ 23:23
Comment from: Serena [Visitor]
Serenai feel stupid for asking this but i have just installed b2evo but im having trouble connecting to my database . i dunno anything about php but i rhink i need to clear my databse tables . how would i do that?
thank-you :)
2005-07-28 @ 16:00
Comment from: Allan Clark [Visitor]
Allan ClarkI'm getting random aborts in sending content. Not a PHP guy, I was a little mislead my the "15 minutes" claim above, and I cannot even convey my issue in proper PHP speak.

When the install/index.php script passes the following line:
$DB = new DB( $conf_db_user, $conf_db_password, $conf_db_name, $conf_db_host, $db_aliases, false );^M
(line 146)

... output to the remote client stops. Not more web document. Nothing. By inserting some "echo" commands, I see that an echo before this function call works, but one after does not, implying that there is some unknown problem with this function call. There's no real indication of what might have failed, the stream of generated web content simply stops. from the webclient point-of-view, the server sends the closing /div (line 96) then nothing further. My apache logs show nothing besides the GET, the POST, then the GET calls for the flag images for the generated CGI response. There is no indication of an error in the apache logs.

Any idea what I can try? What can I look at?

Allan
---
ps: my URL is not invalid, even though it includes the letters P, O, R, and N. Does that filtering system give you much benefit? I thought they all used P, R, zero, N now... but hey, some people type memos in Lotus-1-2-3... why change?
2005-08-07 @ 17:40
Comment from: ulf andreasson [Visitor]
ulf andreassonso ok it seem like some more info wouldn't be bad to have ..... ;)

upload the files to the cgi space of your ISP, make sure you run chmod on the php files (executable ones) and then just point your browser to http://cgi-something.com/blogs/install ... that made it for me

reg//ulf
2005-09-16 @ 12:05
Comment from: peter [Visitor]
peterHi Folks, recently I installed b2evolution (0.9.0.12/Amsterdam) on WinXP. Like others it took me more than 15 min to get it run. Several problems occured (e.g. empty config page, database error) but finally it worked. Here my experiences (I skip standard procederes like installation of apache etc.): - environment: mySql 5.0, php 5.0, apache 2.0 - connect apache to php -- copy php_mysql.dll from /ext into apache-bin directory -- copy php5ts.dll from into apache-bin directory -- insert lines into httpd.conf # connection to PHP LoadModule php5_module "/php5apache2.dll" AddType application/x-httpd-php .php # configure the path to php.ini PHPIniDir "" - connect apache to mysql -- copy libmySQL.dll from into apache-bin directory - connect php to mysql -- edit php.ini # activate this line (it's commented in the template) extension=php_mysql.dll - configure dialog b2evolution Close to the peak, but ... ... when running the b2evolution config dialog (something like http://localhost:8080//install/index.php) an error occured in the database initialization process: table evo_users couldn't be filled with demo accounts. blogs/install/_functions_create.php turned out to be buggy, demo-users lack information like user_fistname, user_lastname, etc. allthough the fields are defined as NOT NULL in function create_b2evo_tables(). suggested workaround: delete "NOT NULL" directives for the fields user_fistname, user_lastname, user_url, user_browser, user_aim, user_msn, user_yim in function create_b2evo_tables(). Now you can run localhost:8080//install/index.php and go through the configuration. GOOD LUCK ! regards peter PS Does anybody know how to add images to blogs?
2005-10-11 @ 09:37
Comment from: Gary [Visitor]
GaryDone in 5 minutes. And with the hack for multiblog user registration setup. - Good job, but need mulituser registration done with next setup - suggest url of domainname.*/user rather than user.domainname.*, this seems an easier setup, it does not need virtual folders in php or virtuals in apache. I'm not great with this stuff, but I think it would only require .htaccess outside of b2evo's direct code. Anyway great job. If this hack and 9.1.2 will work how I want then I will be back to help more, rather than asking for help
2005-11-28 @ 03:20
Comment from: Rajesh Dhawale [Visitor]
Rajesh DhawaleHI,

the first lin in ur Installing b2evolution from scratch says "On your server, create or locate a mysql database for b2evolution." ?????? How??? what will be the fields, field sizes, field type ect.????

plz help

regards
2005-12-15 @ 06:30
Comment from: Francois Planque [Member] Email
Before the fields come the tables.
Before the tables comes the database.

Just create an empty database (procedure depends on your host), b2evo will create the tables and the fields it needs.
2005-12-16 @ 10:48
Comment from: AJ [Visitor]
AJPlease help...initial problem was error loading php module, but followed instructions from Peter (copy php_mysql.dll from /ext into apache-bin directory -- copy php5ts.dll from into apache-bin directory -- insert lines into httpd.conf # connection to PHP LoadModule php5_module "/php5apache2.dll" AddType application/x-httpd-php .php # configure the path to php.ini PHPIniDir "" - connect apache to mysql -- copy libmySQL.dll from into apache-bin directory - connect php to mysql -- edit php.ini # activate this line (it's commented in the template) extension=php_mysql.dll ) and that got one step futher.

Error encountered during 'Installing b2evolution tables with sample data'
--
Creating default users...

MySQL error!

Field 'user_firstname' doesn't have a default value(Errno=1364)

Your query:

INSERT INTO evo_users (user_login, user_pass, user_nickname, user_email, user_ip, user_domain, user_level, user_locale, dateYMDhour, user_grp_ID) VALUES ('admin', '62048161288683d9cbc707d1eb1be72a', 'admin', 'postmaster@localhost', '127.0.0.1', 'localhost', 10, 'en-US', '2006-06-02 16:09:34', 1)
--

Peter mentions this error in his post and suggests 'deleting NOT-NULL directives'...How is this done or does anyone know of another workaround?

WinXP, SP2
Apache 2.2.2
PHP 5.1.4
MySQL 5.0.22
phpMyAdmin 2.8.1
b2Evolution 0.9.2

Thanks,
AJ
2006-06-02 @ 23:25
Comment from: AJ [Visitor]
AJOK, after closer inspection of Pter's comments I opened the _functions_create.php file located in b2evolution\blogs\install folder and deleted the 'NOT NULL' directive from the following fields: fields user_fistname, user_lastname, user_url, user_browser, user_aim, user_msn, user_yim . Worked like a charm...tables now setup and I can log in. Thanks Peter! AJ
2006-06-05 @ 19:22
Comment from: r3n0x [Visitor] Email
r3n0xCan I use SQL Server 2000 and not MySQL?
2007-04-19 @ 09:50


Fatal error: Call to undefined method evonet_Module::SkinEndHtmlBody() in /home/b2evonet/www/inc/_core/_misc.funcs.php on line 65