Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter zmagicx

    (@zmagicx)

    I have complete access to the Web server. We are hosting the site ourselves. I can make changes to the folder permissions or IIS if needed. It’s running on Windows Server 2008 R2 SP1. Is that the info you are looking for? Thanks!

    Thread Starter zmagicx

    (@zmagicx)

    That is exactly what I am trying to do. I set up a folder on the server hard drive (D:/Backups/Automated-Backups) and the plugin will not write to it weather it is a mapped drive or not (in this case it is not mapped). I checked the permissions on the folder to make sure that was not the issue. Any other ideas?

    10-Sep-2015 19:43:22] 1. Trying to generate a manifest file …
    [10-Sep-2015 19:43:22] Added manifest.json file with 4.02 kB to backup file list.
    [10-Sep-2015 19:43:22] 1. Trying to create backup archive …
    [10-Sep-2015 19:43:22] ERROR: Folder D:/backups/automated-backups for archive not found
    [10-Sep-2015 19:43:22] 2. Trying to create backup archive …
    [10-Sep-2015 19:43:22] ERROR: Folder D:/backups/automated-backups for archive not found
    [10-Sep-2015 19:43:22] 3. Trying to create backup archive …
    [10-Sep-2015 19:43:22] ERROR: Folder D:/backups/automated-backups for archive not found
    [10-Sep-2015 19:43:22] ERROR: Step aborted: too many attempts!
    [10-Sep-2015 19:43:22] ERROR: Job has ended with errors in 2 seconds. You must resolve the errors for correct execution.

    Thanks for posting this fix! This worked for me. I hope the plugin gets updated soon.

    PHP Version 5.4.14
    Windows Server 2008 R2 Enterprise Edition Service Pack 1

    Thanks Nick for pointing out the Chrome test for the fontello font. It is not coming up so I guess that is the problem. However, the style sheet is getting loaded so, I am not sure why the fontello font is not loading. https://conferences.valenciacollege.edu/legal-issues/

    By the way, I should have mentioned I’m using a Windows 2008 server. The permissions you sent didn’t apply to my case. I did give the system user modify permissions just in case.

    I have this same problem. I checked the permissions. However, I am not sure what permissions you are looking for. Can you expand on that? I also reinstalled the plugin which didn’t work. The domain name is a subdomain so, there are no redirects needed for www. However, I am using a multisite. The plugin is network activated. I am also using HTTPS sitewide. Not sure if this changes things.

    I noticed that there is no call to the font awesome styles in the head. Maybe that is the issue?

    Thread Starter zmagicx

    (@zmagicx)

    I figured out the issue. My client is hosting their site on Godaddy and the way Godaddy has their sub-domain set up messes with this plugin’s migration. The sub-domain is located as a sub-directory in the root of the site. So, when I migrated my site using this plugin, it put the physical files in the root instance and updated the DEV instance database. Argh!

    I contacted Godaddy and they weren’t much help. I attempted to create another FTP user with access to only that directory. But, apparently Godaddy doesn’t allow that either. New FTP users only have access to a sub-directory with the same name as the user. Not sure what good that does for anyone. Oh well, another strike for Godaddy. I need to move this site to another Web host asap!

    Thread Starter zmagicx

    (@zmagicx)

    I figured out what the issue was. I have an “under construction” index.htm file temporarily on this server while I set up the WP site. The priority of index.htm is higher than index.php. For some reason, the SCCSS relies on the root index page. I have no idea why. When I remove the index.htm page the SCCSS styles work again. Weird.

    Thread Starter zmagicx

    (@zmagicx)

    Sorry for the confusion. The new code is the code that works. The code linked above from the other forum post. The old code is the auto-generated code from WP. Here they are again side by side.

    It’s a good thing you asked again because I just noticed another subtle difference. The caret is outside the parenthesis in the old code and inside the parenthesis in the new code in the match url statement. Thanks.

    OLD (Auto-generated from WP)

    <rule name="WordPress Rule 4" stopProcessing="true">
    <match url="^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*)" ignoreCase="false" />
    <action type="Rewrite" url="{R:1}" />
    </rule>

    NEW (Copied from forum post linked above)

    <rule name="WordPress Rule 5" stopProcessing="true">
    <match url="(^[_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*)" ignoreCase="false" />
    <action type="Rewrite" url="{R:2}" />
    </rule>

    Thread Starter zmagicx

    (@zmagicx)

    Yes, it fails on both. The site loads but with no styles or evidence of a theme. The admin gives a 404 error.

    Also, I am sorry but, I copied the wrong rule above. It’s actually this one below:

    <rule name="WordPress Rule 5" stopProcessing="true">
    <match url="(^[_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*)" ignoreCase="false" />
    <action type="Rewrite" url="{R:2}" />
    </rule>

    Thanks.

    Thread Starter zmagicx

    (@zmagicx)

    Thanks Ipstenu. I didn’t know that was for images on old installs of WP. That is interesting.

    I found another difference but, I am not sure what it means. I it is a bit smaller than the one you found and it’s also under another rule number so it’s hard to notice. Here it is below. It’s under WordPress Rule 4 in the old code (Rule 6 in the new code). The rewrite rule was changed from R:1 to R:2.

    I am not sure if the R:1 is a variable for Rule 1 and R:2 is variable Rule 2? But if it is, then that is the rule you noticed was rewritten. If not can you tell me what it means? Thanks again for your help with understanding this.

    OLD

    <rule name="WordPress Rule 4" stopProcessing="true">
    <match url="^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*)" ignoreCase="false" />
    <action type="Rewrite" url="{R:1}" />
    </rule>

    NEW

    <rule name="WordPress Rule 6" stopProcessing="true">
    <match url="^([_0-9a-zA-Z-]+/)?(.*\.php)$" ignoreCase="false" />
    <action type="Rewrite" url="{R:2}" />
    </rule>

    Thread Starter zmagicx

    (@zmagicx)

    Yes, I updated my web.config with the auto generated code from WordPress when setting up the multisite. When this didn’t work, I tried multiple solutions found by browsing these forums. The only one that worked was the one from this post and it worked on both servers with two different versions of IIS. I appreciated the post but, I want to understand why this works and the code generated by WordPress doesn’t.

    I am posting the code that didn’t work below. This code was auto generated by WordPress for the web.config file when setting up the multisite. I have looked at the differences between the two sets of code but, I don’t understand them. Can someone translate? Thanks.

    DO NOT USE THIS CODE:

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
        <system.webServer>
            <rewrite>
                <rules>
                    <rule name="WordPress Rule 1" stopProcessing="true">
                        <match url="^index\.php$" ignoreCase="false" />
                        <action type="None" />
                    </rule>
                    <rule name="WordPress Rule 2" stopProcessing="true">
                        <match url="^([_0-9a-zA-Z-]+/)?wp-admin$" ignoreCase="false" />
                        <action type="Redirect" url="{R:1}wp-admin/" redirectType="Permanent" />
                    </rule>
                    <rule name="WordPress Rule 3" stopProcessing="true">
                        <match url="^" ignoreCase="false" />
                        <conditions logicalGrouping="MatchAny">
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" />
                            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" />
                        </conditions>
                        <action type="None" />
                    </rule>
                    <rule name="WordPress Rule 4" stopProcessing="true">
                        <match url="^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*)" ignoreCase="false" />
                        <action type="Rewrite" url="{R:1}" />
                    </rule>
                    <rule name="WordPress Rule 5" stopProcessing="true">
                        <match url="^([_0-9a-zA-Z-]+/)?([_0-9a-zA-Z-]+/)?(.*\.php)$" ignoreCase="false" />
                        <action type="Rewrite" url="{R:2}" />
                    </rule>
                    <rule name="WordPress Rule 6" stopProcessing="true">
                        <match url="." ignoreCase="false" />
                        <action type="Rewrite" url="index.php" />
                    </rule>
                </rules>
            </rewrite>
        </system.webServer>
    </configuration>

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