The MU forums have moved to

Problem intigrating Wordpress (5 posts)

  1. YoBazil
    Posted 16 years ago #

    I Have problems integrating with wordPress,
    I have site developed with PHP and symfony,
    I have installed WordPress, and put it on blogs folder, under web directory, and all is working fine, i can view blog, and create new one.
    now i try to call the log in page of the blog, from my site, mining in some point on my action i call wp-login
    i have copied all the installation files, and put them under my module of symphony, in the template section
    i have changed the name of wp-login.php to wp-loginSuccess.php hoping i can get started,
    but i got error on:
    wpmu-settings.php on line 116, the function is

    function is_blogname_page( $blogname ) {
    global $wpdb, $table_prefix, $domain, $path;

    $blog_id = $wpdb->get_var("SELECT blog_id FROM $wpdb->blogs WHERE domain = '$domain' AND path = '$path'");

    // is the request for a page of the main blog? We need to cache this information somewhere to save a request
    $pages = $wpdb->get_col( "SELECT LOWER(post_name) FROM {$table_prefix}{$blog_id}_posts WHERE post_type='page'" );

    if( is_array( $pages ) == false )
    return false;

    if( in_array( strtolower( $blogname ), $pages ) ) {
    return true;
    } else {
    return false;

    when i remark all of it and return false, i get page that a blog with username nddevphp is not exist, and i can create one.
    defantly i am doing something basically wrong,
    could you please help me with this kick off?

  2. YoBazil
    Posted 16 years ago #

    Fatal error: Call to a member function get_var() on a non-object in D:\dev\beshanti\apps\frontend\modules\user\templates\wpmu-settings.php on line 116

    this is the error i get

  3. theapparatus
    Posted 16 years ago #

    Wrong site I'm afraid. Wordpress is over at

    These forums are for wordpress multiuser, a different software.

    When you get over there, please be sure to state which specific version of the software you are running.

  4. YoBazil
    Posted 16 years ago #

    I want multiuser,
    just starting with one, to see if i can handle it
    I have wrong approch for it?

  5. hhuskies
    Posted 16 years ago #

    It's a good idea to test out the basic Wordpress package first, in my opinion, and then develop a MU Wordpress system if you like the blogging software.

    Once you start up your MU Wordpress system, it's going to be a much bigger beast though then just the standard Wordpress system.

About this Topic

  • Started 16 years ago by YoBazil
  • Latest reply from hhuskies