Andrew Ryan
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Delete media via bulk select only deletes half of the selected filesI’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).
Forum: Localhost Installs
In reply to: Can't access localhost from Internet using multisite subfoldersSolved!! All working now.
Primary and multiple secondary local sites on localhost accessible via internet.Steps:
- In phpMyAdmin, went to the bitnami_wordpress database
- In table wp_blogs changed all 127.0.0.1 to my router’s ip (110.22.25.35)
- In table wp_site changed “domain” col from 127.0.0.1 to my router’s ip (110.22.25.35) where id = 1
- In table wp_site_meta changed “site_url” from 127.0.0.1 to my router’s ip (110.22.25.35)
- 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'); - 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 think I changed a few more similarly, but didn’t write it down… sry
I can now access back and front ends from my local machine and also from the internet.
A long, long last few days!! 🙂
Forum: Localhost Installs
In reply to: Can't access localhost from Internet using multisite subfoldersExtra Info:
Using wireshark, i’ve noted the following:- Router correctly forwards GET request to LAN server machine
GET 110.22.25.35/wordpress/wp-login.php - LAN server machine responds with a redirect message
302 Found. Location 127.0.0.1/wordpress/
Forum: Networking WordPress
In reply to: Multisite localhost XAMPP subfolders infinite redirect loopI’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 NonetoAllowOverride Alland 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…Forum: Networking WordPress
In reply to: Multisite localhost XAMPP subfolders infinite redirect loopHi Ipstenu and thanks for the response.
Yes, I edited
wp-config.phpin steps as per http://codex.ww.wp.xz.cn/Create_A_NetworkI 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
hostsfile in../drivers/etcit contains a few sites being directed to127.0.0.1and 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