Blog: SearchInput

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
1/12/2011 12:40:17 PM
Gravatar
Total Posts 2253

Blog: SearchInput

Hi Joe,

When a user is on a blog post page and they enter a search term into the SearchInput and either press enter or click the search button, they are returned to the current page. The issue only appears when the site is using Extension-less URLs. I even tried using the non-friendly URL but I got the same result. There aren't any errors written to the log when this occurs.

A skinning customer of mine found this on his site (not my hosting) and then found that my site does the same thing. You can see the problem in action at http://i7media.net/mojoportal-logs-hidden-in-plain-sight.

I have seen this problem in both 2.3.5.5 and 2.3.5.8. I am not sure if it existed before that because I don't have an older installation to test against. Also, the problem occurs in both .NET 3.5 and .NET 4.0. I mention this because of the new way that .NET 4 handles extension-less URLs.

If you need more information, please let me know.

Thanks,
Joe D.

1/12/2011 12:59:32 PM
Gravatar
Total Posts 18439

Re: Blog: SearchInput

Hi Joe,

I see the problem does happen on your site but I'm not having any luck reproducing it here. I configured for extensionless urls created a new page with an extansionless url and put a blog on it and made a blog post. Then I changed the skin to styleshout-refresh which has the search input and I visited the blog post detail page and tried to search and it worked as expected.

Can you try a different skin such as styleshout-refresh and see if you get the same problem or not? Maybe there is some other factor also required to produce the problem.

Best,

Joe

1/12/2011 1:12:20 PM
Gravatar
Total Posts 2253

Re: Blog: SearchInput

Hi Joe,

Same result with the styleshout-refresh skin. I have the following set in my user.config. I am listing everything as I am not sure what the problem could be related to:

    <add key="CombineCSS" value="true" />
    <add key="MinifyCSS" value="true" />
    <add key="CacheCssOnServer" value="true" />
    <add key="CacheCssInBrowser" value="true" />

    <add key="RecaptchaTheme" value="clean" />
    
    <add key="DisableSetup" value="true" />
    <add key="SSLIsAvailable" value="true" />
    
    <add key="EnableSearchResultsHighlighting" value="true" />
    <add key="DisableSearchFeatureFilters" value="false" />
    <add key="SearchUseBackwardCompatibilityMode" value="false" />
    <add key="ShowModuleTitleInSearchResultLink" value="true"/>
    
    <add key="AllowDeletingChildSites" value="true" />
    <add key="DisallowedVirtualFolderNames" value="Admin;ClientScript;Clients;Controls;Data;FCKeditor;Modules;NeatHtml;NeatUpload;Secure;Services;Setup;SiteOffice;WebStore;opm" />

    <add key="AllowAdminsToUseDataFolder" value="true" />
    <add key="EnableDeveloperMenuInAdminMenu" value="true" />
    <add key="EnableQueryTool" value="true" />
    
    <add key="SMTPServer" value="xxxxxxxxx" />
    <add key="SMTPRequiresAuthentication" value="false" />
    <add key="SMTPUseSsl" value="false" />
    <add key="SMTPPort" value="25" />
    <add key="SMTPUser" value="xxxxxxxxxxx" />
    <add key="SMTPPassword" value="xxxxxxxxxxxx" />
   
    <add key="PageTitleFormatName" value="TitlePlusSite" />
    <add key="PageTitleSeparatorString" value=" - " />
    <add key="HideMenusOnSiteMap" value="false" />
    <add key="HidePageMenusOnSiteMap" value="true" />
    
    <!--Extensionless URLs -->
    <add key="AllowChangingFriendlyUrlPattern" value="true" />

    <add key="AllowForcingPreferredHostName" value="true" />
    <add key="UseAppKeepAlive" value="true" />
    <add key="AppKeepAliveUrl" value="http://i7media.net/home" />

    <add key="UseRelatedSiteMode" value="true"/>
    <add key="RelatedSiteID" value="1"/>

I will keep trying different things to replicate the problem.

Thanks,
Joe

2/13/2011 6:38:59 AM
Gravatar
Total Posts 18439

Re: Blog: SearchInput

I forgot to reply to this thread but after I added the search input to the skin on this site I began seeing this problem in the blog and then was able to replicate it on my local machine, and this was fixed in version 2.3.6.2 or mojoPortal.

Best,

Joe

2/14/2011 9:46:16 AM
Gravatar
Total Posts 2253

Re: Blog: SearchInput

Hi Joe,

Awesome! Thanks for the help!

-Joe D.

You must sign in to post in the forums. This thread is closed to new posts.