adriengeille (@adriengeille)

Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)

  • adriengeille
    Member

    @adriengeille

    nope…


    adriengeille
    Member

    @adriengeille

    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/’;

    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?


    adriengeille
    Member

    @adriengeille

    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’ );

    ?>


    adriengeille
    Member

    @adriengeille

    Don’t work,

    If i delete $bb->wp_home and $bb->wp_siteurl both and leave the address blank ”

    here is the message i get…

    Does it ring a bell to anyone?

    Cannot select DB.


    adriengeille
    Member

    @adriengeille

    After a few tests it seems the problem comes from the last paragraph

    // 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’ );

    ?>

    Where is the error guys?


    adriengeille
    Member

    @adriengeille

    Hi chris,

    after your answer i changed the quote a few times and to avoid any problems with french character i changed it this way

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

    But I still get a blank page…..

    Does anybody have a clue?


    adriengeille
    Member

    @adriengeille

    more details:

    same server

    same domain name just a folder named forum

    same sql database

    integration plugin under wordpress installed

    but only a blank page launching the installation!

    does anybody have a clue where it could come from?

    Cheers

Viewing 7 replies - 1 through 7 (of 7 total)