Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Andrew Ryan

    (@andy_intermediate)

    I’m also having exact same issue with WP 4.0.1

    Doesn’t matter whether deleting 4 images, or 40, it always only deletes half. In all cases, the function returns in far less time than my php max execution limits.

    It’s occurring on my local development sites and also live servers (mixture of shared and VPS).

    Thread Starter Andrew Ryan

    (@andy_intermediate)

    Solved!! All working now.
    Primary and multiple secondary local sites on localhost accessible via internet.

    Steps:

    1. In phpMyAdmin, went to the bitnami_wordpress database
    2. In table wp_blogs changed all 127.0.0.1 to my router’s ip (110.22.25.35)
    3. In table wp_site changed “domain” col from 127.0.0.1 to my router’s ip (110.22.25.35) where id = 1
    4. In table wp_site_meta changed “site_url” from 127.0.0.1 to my router’s ip (110.22.25.35)
    5. I think I changed a few more similarly, but didn’t write it down… sry

    6. In wp-config.php I replaced 127.0.0.1 with my router’s ip (110.22.25.35) , ie
      define('DOMAIN_CURRENT_SITE', '110.22.25.35');
    7. That let me log in as super-admin, I then went to “Network Admin” > “Sites” and edited each site, changing all instances of 127.0.0.1 to 110.22.25.35

    I can now access back and front ends from my local machine and also from the internet.

    A long, long last few days!! 🙂

    Thread Starter Andrew Ryan

    (@andy_intermediate)

    Extra Info:
    Using wireshark, i’ve noted the following:

    1. Router correctly forwards GET request to LAN server machine
      GET 110.22.25.35/wordpress/wp-login.php
    2. LAN server machine responds with a redirect message
      302 Found. Location 127.0.0.1/wordpress/
    Thread Starter Andrew Ryan

    (@andy_intermediate)

    I’m managed by trial and error to get it to work, but not sure why.

    I edited the file C:\xampp\apps\wordpress\conf\httpd-app.conf

    <Directory "C:/xampp/apps/wordpress/htdocs">
        Options +MultiViews +FollowSymLinks
        AllowOverride None
    
        <IfVersion < 2.3 >
        Order allow,deny
        Allow from all
        </IfVersion>
        <IfVersion >= 2.3>
        Require all granted
        </IfVersion>
    
        RewriteEngine On
        RewriteBase /wordpress/
        RewriteRule ^index\.php$ - [S=1]
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule . /wordpress/index.php [L]
    
    </Directory>

    I simply changed AllowOverride None to AllowOverride All and it now appears to work.

    Edit:
    And also strangely, XAMPP is running so much faster now. It used to take ~5 seconds while “waiting for localhost”, now it’s almost instant. Strange…

    Thread Starter Andrew Ryan

    (@andy_intermediate)

    Hi Ipstenu and thanks for the response.

    Yes, I edited wp-config.php in steps as per http://codex.ww.wp.xz.cn/Create_A_Network

    I flushed all the browser cache and tried Firefox, Chrome and IE. All present the same problem of secondary site back-ends being unavailable due to infinite redirect.

    I had a look at my hosts file in ../drivers/etc it contains a few sites being directed to 127.0.0.1 and so I also tried a blank host file, but still same issue.

    Is there anything else you think I could try?
    Is there a way I can output whats going on to see the problem?

    Thanks is advance

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