Forum Replies Created

Viewing 13 replies - 16 through 28 (of 28 total)
  • Thread Starter klampl

    (@klampl)

    I tore down the entire site and did it all again. Im at the same spot. should not http://abcd.wordpress2.ctctel.com give me a wp 404?

    Thread Starter klampl

    (@klampl)

    Sorry, figured out how I could go to the site. another admin created a website http://webserver2.wordpress2.ctctel.com/blogs/ . I removed it and I get a 404 also.
    I have gone to the extreme in this install. I deactivated and removed all plugins and removed all themes besides twentythirteen.
    so as of now this site has no plugins.
    Since multisite is built in do I need the plugin networks for WordPress?

    Karl

    Thread Starter klampl

    (@klampl)

    I found this in the wp-db.php
    line 1142:
    if ( WP_DEBUG ) {
    $this->dbh = mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, $new_link, $client_flags );
    } else {
    $this->dbh = @mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, $new_link, $client_flags );
    }

    I am using PHP 5.5.5 which states all calls to mysql_* are depreciated since PHP 5.5.0
    Do you think this is what is causing the error?

    Thread Starter klampl

    (@klampl)

    I can do everything but visit the site.

    Thread Starter klampl

    (@klampl)

    sry I posted what was in the error on requested URL

    No DNS is not setup the server has a static IP. and no virtual host or directory.
    what I do not understand is that it works correctly with the original site but not the one I created under Netwok>add new site.

    if I manually type http://webserver2.wordpress2.ctctel.com/blogs/ I get a site.

    Thread Starter klampl

    (@klampl)

    I am the host. this is the only install of wordpress on the server.
    that is why nothing is making sense.

    Thanks for your help though, I appreciate it.

    Thread Starter klampl

    (@klampl)

    Mika here is what I did:
    1) Install WordPress

    2)Moved site one to its own directory following the wordpress.org instuctions.
    made sure site1 worked.
    site1

    3) Activate Multisite

    3) Create site for site2 as site2.site1.com
    used network add new site to create site2.
    Site2’s address (not mapped) is –site2

    3a) cannot get to site2’s dashboard nor visit site.
    can edit the site under network>sites>webserver2

    waiting to get the above working

    4) Install a domain mapping plugin and MAP site2.com to the site2.site1.com or site1.com/site2 URL

    5) Have a drink 🙂

    Thread Starter klampl

    (@klampl)

    I deleted everything in the wordpress folder and emptied the trash.
    I kept the following files index.php, .htaccess, and web.config from the root. I also kept the files wp-config.php from the blogs folder.
    I downloaded 3.7.1 and extracted the zip into the root folder (wordpress) and renamed the wordpress folder to blogs.

    I put index.php, .htaccess, and web.config into the root folder and wp-config.php into the blogs folder.
    the web.config only holds the information that the network setup said to put in there. index.php only has:
    define(‘WP_USE_THEMES’, true);
    /** Loads the WordPress Environment and Template */
    require( dirname( __FILE__ ) . ‘/blogs/wp-blog-header.php’ );

    and the .htaccess has :
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule ^(wp-(content|admin|includes).*) blogs/$1 [L]
    RewriteRule ^(.*\.php)$ blogs/$1 [L]
    RewriteRule . index.php [L]

    the wp-config has:
    define(‘WP_DEBUG’, true);
    /******************************** Multisite Network*/
    /*first*/

    define( ‘WP_ALLOW_MULTISITE’, true);
    /*start network setup */
    $base = realpath(dirname(__FILE__)) . ‘/’;
    define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, true);
    define(‘DOMAIN_CURRENT_SITE’, ‘wordpress2.ctctel.com’);
    /*define(‘PATH_CURRENT_SITE’, ‘/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);*/
    /* That’s all, stop editing! Happy blogging. */

    /** Absolute path to the WordPress directory. */
    if ( !defined(‘ABSPATH’) )
    define(‘ABSPATH’, dirname(__FILE__) . ‘/’);
    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . ‘wp-settings.php’);

    the site still has the error: “Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in E:\inetpub\wwwroot\wordpress\blogs\wp-includes\wp-db.php on line 1142”

    Thread Starter klampl

    (@klampl)

    I notices that even though I go to http://webserver2.wordpress2.ctctel.com:80/blogs/

    the physical path is incorrect. it goes to E:\inetpub\wwwroot\blogs\ instead of E:\inetpub\wwwroot\wordpress\blogs\
    what could be causing this?

    Thread Starter klampl

    (@klampl)

    Mika,
    I had to guess on the .htaccess since when I installed the network it only showed web.config and wp-config.

    I copied yours and over wrote the .htaccess in the root folder.
    same result.

    Thread Starter klampl

    (@klampl)

    “I then re-installed the first theme (twenty thirteen).”

    I meant I re-downloded the default 2013 then reactivated it for the 2 sites I have. I then deleted all other themes. I now have only 1 theme the 2013 default.

    I have deactivated and removed all plugins as well as resetting the plugins folder with PhpMyAdmin.

    All (1) | Enabled (1)
    1 item « ‹ of 1 › »

    Theme Description
    Select Twenty Thirteen
    Twenty Thirteen
    Network Disable | Edit
    Version 1.1 | By the WordPress team | Visit Theme Site

    I also tried: I network disabled the theme and set each site individually to the 2013 v1.1 theme

    Plugins –
    You do not appear to have any plugins available at this time.

    Where else am I to check?

    Thread Starter klampl

    (@klampl)

    I got rid of the second one by removing wordpress-mu-domain-mapping.
    the first on is still there.
    I removed all plugins and I also removed all themes but one reinstalled a new theme and then removed the last on to be removed. I then re-installed the first theme (twenty thirteen).

    out of ideas on my side.

    “rootinstall.com/subdomain/about-us”
    would the above not be a sub-directory install?

    and a subdomain install look like this “subdomain.rootinstall.com/about-us” ?

    either way try upgrading your network in the network Admin Sites dashboard under Updates. this worked for my main(rootinstall) site. Still working on the network subdomain though.

Viewing 13 replies - 16 through 28 (of 28 total)