Skip to:
Content
Pages
Categories
Search
Top
Bottom

My installation does not launch …

  • @adriengeille

    Member

    Hi guys,

    I can’t launch the installation of bbpress on my existing wordpress blog using the same database. The issue I have is, that i have a blank page…

    So no way to launch the installation.

    It’s on the same server

    using the same db

    I even created a second user to the DB (didn’t change anything)

    I have enabled all the writing right to the installation folder

    So what do you recommand. Do a fresch install of wordpress and bbpress or is there a solution for me to avoid that for exemple feeling up a file myself to have the insatallation process behind me.

    Cheers for your help.

Viewing 7 replies - 1 through 7 (of 7 total)
  • @chrishajer

    Participant

    Post your config here. If you get a blank screen when trying to install, you probably have a syntax error in your config.php. Looks like config.php (and config-sample.php) is on the server, it probably just can’t be read. If you post it here (edit the password out carefully) I bet you’ll be able to see the problem.

    @adriengeille

    Member

    ok here is my config.php file

    <?php

    define(‘DB_NAME’, ‘xxx’); // Le nom de la base de donnees

    define(‘DB_USER’, ‘xxx’); // Votre identifiant MySQL

    define(‘DB_PASSWORD’, ‘xxx’); // …et votre mot de passe

    define(‘DB_HOST’, ‘localhost’); // Dans la plupart des cas, vous n’aurez pas a modifier cette ligne

    // Vous pouvez faire plusieurs installation sur une meme base de donnees en leur donnant un prefixe unique

    // Change the prefix if you want to have multiple forums in a single database.

    $bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!

    // The full URL of your bbPress install

    $bb->uri = ‘http://www.subventions.fr/forum/&#8217;;

    // What are you going to call me?

    $bb->name = ‘Le forum des subventions aux entreprises’;

    // This must be set before you run the install script.

    $bb->admin_email = ‘webmaster@subventions.fr’;

    // Set to true if you want pretty permalinks, set to ‘slugs’ if you want to use slug based pretty permalinks.

    $bb->mod_rewrite = ‘slugs’;

    // The number of topics that show on each page.

    $bb->page_topics = 30;

    // A user can edit a post for this many minutes after submitting.

    $bb->edit_lock = 60;

    // Your timezone offset. Example: -7 for Pacific Daylight Time.

    $bb->gmt_offset = -2;

    // Change this to localize bbPress. A corresponding MO file for the

    // chosen language must be installed to bb-includes/languages.

    // For example, install de.mo to bb-includes/languages and set BBLANG to ‘de’

    // to enable German language support.

    define(‘BBLANG’, ”);

    // Your Akismet Key. You do not need a key to run bbPress, but if you want to take advantage

    // of Akismet’s powerful spam blocking, you’ll need one. You can get an Akismet key at

    // http://wordpress.com/api-keys/

    $bb->akismet_key = ‘xxx’; // Example: ‘0123456789ab’

    // The rest is only useful if you are integrating bbPress with WordPress.

    // If you’re not, just leave it as it is.

    $bb->wp_table_prefix = ‘wp_’; // WordPress table prefix. Example: ‘wp_’;

    $bb->wp_home = ‘http://www.subventions.fr/&#8217;; // WordPress – Options->General: Blog address (URL) // Example: ‘http://example.com&#8217;

    $bb->wp_siteurl = ‘http://www.subventions.fr/wordpress&#8217;; // WordPress – Options->General: WordPress address (URL) // Example: ‘http://example.com&#8217;

    $bb->cookiepath = ‘/’;

    $bb->cookiedomain = ‘.subventions.fr’;

    define(‘WP_BB’, true);

    require_once(‘/wordpress/wp-blog-header.php’);

    /* Stop editing */

    if ( !defined(‘BBPATH’) )

    define(‘BBPATH’, dirname(__FILE__) . ‘/’ );

    require_once( BBPATH . ‘bb-settings.php’ );

    ?>

    @chrishajer

    Participant

    This does not appear to be correct:

    $bb->wp_siteurl = 'http://www.subventions.fr/wordpress';

    Your wordpress site comes up at http://www.subventions.fr/ so the wordpress part is superfluous. I think you’ve got a path problem somewhere. Normally you install bbPress like this:

    /var/www/subventions/wordpress/

    maps to http://www.subventions.fr/

    /var/www/subventions/wordpress/forum/

    maps to http://www.subventions.fr/forum/

    forum is a subdirectory of wordpress in a typical integrated setup. Is that your setup? If so, then your config is wrong.

    @chrishajer

    Participant

    In fact, in the source of your WordPress site, there are a bunch of links that result in a 404, and they all have wordpress in the URL.

    404 Page Not Found:

    http://subventions.fr/wordpress/

    So, in your WordPress control panel, I suppose this could be wrong:

    Options->General: WordPress address (URL)

    I think your problems exist with the WordPress setup, and they are showing up now with bbPress integration.

    @adriengeille

    Member

    in fact in wordpress you can set the home page in a different directory as the wordpress folder. That’s what i did. I installed wordpress in the wordpress folder but the homepage (index.php) is in the root directory.

    As soon as i change it and put the address back to wordpress…. i loose all templates with the design…

    The same way i’ve created a folder forum and uploaded the installation files of bbpress into it. Th’ats why i said

    // The full URL of your bbPress install

    $bb->uri = ‘http://www.subventions.fr/forum/&#8217;;

    I tried to change the last part with my wordpress address by deleting wordpress as you recommended but it still doesn’t work but definitely it seems it comes from my wordpress setup… but what can i do?

    @chrishajer

    Participant

    I use a similar setup with the root folder of my domain as wordpress, then a subfolder for bbpress. So I have:

    http://www.domain.com/

    http://www.domain.com/bbpress

    In my WordPress Control panel under options, both URLs are set to http://www.domain.com with no trailing slash. I noticed in your config this URL has a trailing slash:

    $bb->wp_home = 'http://www.subventions.fr/';

    Maybe that is causing a problem?

    @adriengeille

    Member

    nope…

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Skip to toolbar