Forum Replies Created

Viewing 8 replies - 16 through 23 (of 23 total)
  • Thanks for the link. However, the plugin seemed to start working on its own. Great plugin by the way!

    Hi there

    read the manual how to “make friends” plugin with theme.

    My theme has its own menu extension which I would like to try to add menu images to. Were you referring to a specific file when mentioning about this manual? I downloaded the DEV version of the plugin but couldn’t see where the manual would be.

    Thanks

    Thread Starter roperjonathan

    (@roperjonathan)

    I think when I say solution I more mean a solution that will get me by rather than something that solves the issue completely.

    I firstly find that importing the templates via the WordPress importer seems to work better than copying the templates from the old database to the new database. So what I usually do is export all of the existing database and then import into a new database. I also export the templates from the old site by the XML file method. I don’t change the URLs in this XML file to reflect the new web address and I keep them as they are. I then tend to delete the templates from the new website and then import the templates from the XML files. I then go through the templates and change any URLs for images or links.

    It is not ideal but if I changed the URLs inside the XML file, I would lose image and other blocks from each template and then have to recreate them again which is a pain.

    I hope this helps.

    Does your website have a web.config file? It should if your website is being hosted on Windows.

    If so the reason your website is probably crashing is because the web.config files in both of your sites have the same name for your rewrite rule that is used for the permalinks.

    I was having this issue too and to fix it I went into my subdirectory site and replaced the contents of the web.config file with the following:

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
      <system.webServer>
    <rewrite>
        <rules>
           <clear />
            <rule name="Some different name" stopProcessing="true">
                <match url=".*" />
                <conditions logicalGrouping="MatchAll">
                    <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                    <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                </conditions>
                <action type="Rewrite" url="index.php" />
            </rule>
        </rules>
    </rewrite>
      </system.webServer>
    </configuration>

    I then reuploaded it to the subdirectory site and that fixed it.

    Note: A web.config file is only created when using permalinks. It is not created when using the default links like p?=123 so I just selected a Permalink option in the admin area just to create the web.config which I then did the above.

    I hope this helps.

    Thread Starter roperjonathan

    (@roperjonathan)

    I found a solution.

    The web.config in both sites can’t have the same rule name. If it does it errors. So to fix it change the rule name of one of your web.config

    Here is an example:

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
      <system.webServer>
    <rewrite>
        <rules>
           <clear />
            <rule name="Some different name" stopProcessing="true">
                <match url=".*" />
                <conditions logicalGrouping="MatchAll">
                    <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                    <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                </conditions>
                <action type="Rewrite" url="index.php" />
            </rule>
        </rules>
    </rewrite>
      </system.webServer>
    </configuration>

    You need to put in the clears as well to make sure you don’t get any 404 errors instead.

    Hope this helps someone.

    Thread Starter roperjonathan

    (@roperjonathan)

    Think I found a solution now.

    Thread Starter roperjonathan

    (@roperjonathan)

    I should also add I can see that the blocks are in my database but they don’t show up in the page builder area or show up on the actual site.

    Thread Starter roperjonathan

    (@roperjonathan)

    Thanks for getting back to me Stephen

    You are right that it doesn’t say that Events Organiser doesn’t work with WPML. I must have just made an assumption since the calender shortcode seemed to display the months in French.

    Thanks for pointing me to Babble though. If an update to WPML doesn’t work, I’ll have to have a look at it.

Viewing 8 replies - 16 through 23 (of 23 total)