Recent Topics

1 Jan 09, 2006 15:20    

Hello all,
installation of my blog was done 1 year ago when i had www.pos-init.com, i did install it in a "/memoair" folder (automatic installation offered by my hosting service) b2evolution and made a blog. Now, i have registered a new domain name www.airbus300310.com , and lost the old one pos-init.com...
the blog is still on my ftp. But there is some kind of display problems (no picutres or theme available) when i type www.airbus300310.com/memoair and i cannot acess the admin page of b2evolution since it forwards me always to the old domain name i had and restrict me from accessing the setup page.
ANy idea how i could easily update the setup to notify it of the updated domain name ??
I hope i made myself clear, i am not a geek when it comes to network things... i know just the basic stuff.
Thanks in advance for any help.
Regards,
Mike.

2 Jan 09, 2006 15:26

1. Open up /conf/_config.php

2. Change the baseurl to match your new domain

That should take care of the broken links.

3 Jan 09, 2006 15:45

thank you

undortunately, i did it with notepad, and apparently it broke up the layout... and put several lines together... :oops:

now when i try to open the blog it says :

Parse error: parse error, unexpected T_STRING in /home/pos/public_html/memoair/conf/_config.php on line 1

here is the file pasted as it is now without any layout:

<?php/** * This is b2evolution's main config file * * You need to edit this file to your settings before attempting to install the database! * Last significant changes to this file: version 0.9.0.2 * * * Reminder: every line starting with # or // is a comment, multiline comments are * surrounded by '/*' and '* /' (without space). * * IMPORTANT: Take special care not to erase quotes (') around text parameters * and semicolums (;) at the end of the lines. Otherwise you'll get some * "unexpected T_STRING" parse errors! * * Contributors: you should override this file by creating a file named _config_TEST.php * (see end of this file) * * b2evolution - {@link http://b2evolution.net/} * Released under GNU GPL License - {@link http://b2evolution.net/about/license.html} * @copyright (c)2003-2004 by Francois PLANQUE - {@link http://fplanque.net/} * * @package conf *//**#@+ * MySQL settings. Fill in your database details (check carefully or nothing will work!) */define( 'DB_USER', 'pos_bvlt1' ); // your MySQL usernamedefine( 'DB_PASSWORD', 'FWGESrQql20C' ); // ...and passworddefine( 'DB_NAME', 'pos_bvlt1' ); // the name of the databasedefine( 'DB_HOST', 'localhost' ); // mySQL Server (typically 'localhost')/**#@-*//** * If you want to be able to reset your existing b2evolution tables and start anew * you must set $allow_evodb_reset to 1. * * NEVER LEAVE THIS SETTING ON ANYTHING ELSE THAN 0 (ZERO) ON A PRODUCTION SERVER. * IF THIS IS ON (1) AND YOU FORGET TO DELETE THE INSTALL FOLDER, ANYONE WOULD BE ABLE TO * ERASE YOUR B2EVOLUTION TABLES AND DATA BY A SINGLE CLICK! */$allow_evodb_reset = 0; // Set to 1 to enable. Do not leave this on 1 on production servers/** * $baseurl is where your blogs reside by default. CHECK THIS CAREFULLY or nothing will work. * It should be set to the URL where you can find the blog templates and/or the blog stub files, * that means index.php, blog_b.php, etc. * Note: Blogs can be in subdirectories of the baseurl. However, no blog should be outside * of there, or some tricky things may fail (e-g: pingback) * * IMPORTANT: If you want to test b2evolution on your local machine, do NOT use that machine's * name in the $baseurl! * For example, if you machine is called HOMER, do not use http://homer/b2evolution/blogs ! * Use http://localhost/b2evolution/blogs instead. And log in on localhost too, not homer! * If you don't, login cookies will not hold. * * @global string $baseurl */$baseurl = 'http://airbus300310.com/memoair'; // IMPORTANT: NO ENDING SLASH !!!/** * Your email. Will be used in severe error messages so that users can contact you. * You will also receive notifications for new user registrations there. */$admin_email = 'mike@airbus300310.com';/** * Once you have edited this file to your settings, set the following to 1 (one): */$config_is_done = 1;# IMPORTANT: you will find more parameters in the other files of the /conf folder.# IT IS RECOMMENDED YOU DO NOT TOUCH THOSE SETTINGS# UNTIL YOU ARE FAMILIAR WITH THE DEFAULT INSTALLATION.## It is however strongly recommended you browse through these files as soon as you've# got your basic installation working. They'll let you customize a lot of things!# DO NOT EDIT THE FOLLOWING!@include_once dirname(__FILE__).'/_config_TEST.php'; // Put testing conf in there (For testing, you can also set $install_password here)require_once dirname(__FILE__).'/_advanced.php'; // advanced settingsrequire_once dirname(__FILE__).'/_locales.php'; // locale settingsrequire_once dirname(__FILE__).'/_formatting.php'; // formatting settingsrequire_once dirname(__FILE__).'/_admin.php'; // admin settingsrequire_once dirname(__FILE__).'/_stats.php'; // stats/hitlogging settings@include_once dirname(__FILE__).'/_overrides_TEST.php'; // Override for testing in there?>[/quote]

4 Jan 09, 2006 15:53

I guess you'll just have to put the line breaks back in manually, unless you kept a backup of the config file.


Form is loading...