Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Sectomy on July 15, 2020, 09:43:41 AM

Title: Quick Search redirects to index
Post by: Sectomy on July 15, 2020, 09:43:41 AM
Hi,

i have a little Problem and i dont know what it is, on my forum (darkbricks.de) on top the quick search it opens up for 1 second, then it redirects to the Index Url....
on mobile it redirects directly...
maybe someone know this behaviour ? (im on 2.0.17, sunrise theme)

best regards
andi
Title: Re: Quick Search redirects to index
Post by: Kindred on July 15, 2020, 12:07:50 PM
URL?
Title: Re: Quick Search redirects to index
Post by: Sectomy on July 15, 2020, 12:08:47 PM
https://www.darkbricks.de

oh, yes, logo is only placeholder :) if anyone have an cool idea ? msg me :D
Title: Re: Quick Search redirects to index
Post by: Shambles on July 15, 2020, 12:36:50 PM
Works fine for me, as a guest.

Chrome, Firefox & Edge
Title: Re: Quick Search redirects to index
Post by: Arantor on July 15, 2020, 12:48:38 PM
Works as described by OP on iPad Safari, this suggests there is something wrong with the JavaScript, will look later when not on mobile.
Title: Re: Quick Search redirects to index
Post by: Kindred on July 15, 2020, 12:57:34 PM
Yes, I can replicate on Firefox 68.10.0 ESR

Interestingly, the login pop-up, which uses the same method of overlay works correctly



wow... you've got alot of scripts loading.
I see these problems with scripts...  but I don't think these are your main problem (although the highslide problem might be the cause)

Code (twice per page load -- means that you have two calls for Highslide) Select

The script from "http://www.darkbricks.de/Themes/default/Highslide/highslide.german.js" was loaded even though its MIME type ("text/html") is not a valid JavaScript MIME type.
Loading failed for the <script> with source "http://www.darkbricks.de/Themes/default/Highslide/highslide.german.js".


Code (this might be a problem) Select

unreachable code after return statement
enotify.js:19:13091


You have two different versions of jquery being loaded...   v1.11.1 and v 2.0.3
Title: Re: Quick Search redirects to index
Post by: Sectomy on July 15, 2020, 01:06:10 PM
Quote from: Kindred on July 15, 2020, 12:57:34 PM
Yes, I can replicate on Firefox 68.10.0 ESR

Interestingly, the login pop-up, which uses the same method of overlay works correctly



wow... you've got alot of scripts loading.
I see these problems with scripts...  but I don't think these are your main problem (although the highslide problem might be the cause)

Code (twice per page load -- means that you have two calls for Highslide) Select

The script from "http://www.darkbricks.de/Themes/default/Highslide/highslide.german.js" was loaded even though its MIME type ("text/html") is not a valid JavaScript MIME type.
Loading failed for the <script> with source "http://www.darkbricks.de/Themes/default/Highslide/highslide.german.js".


Code (this might be a problem) Select

unreachable code after return statement
enotify.js:19:13091


You have two different versions of jquery being loaded...   v1.11.1 and v 2.0.3


uhm...okay ?
any ideas ? or what does it mean ?
i tried to deinstall the Highslide Mod, and its the same issue...
im really a noob in that stuff :) sorry....
i can post what Mods ive have live, if it helps:

1.    Google Translate for SMF 2.0    1.4    [ Deinstallieren ]
2.    Hide Content    1.1.4    [ Deinstallieren ]
3.    Highslide Image Viewer    1.7    [ Deinstallieren ]
5.    Pretty URLs    2.3    [ Deinstallieren ]
9.    SMFPacks Mentions    2.0.4    [ Deinstallieren ]
10.    SMFPacks WYSIWYG Editor    3.0.2    [ Deinstallieren ]
11.    Reason For Editing Mod    2.3.3    [ Deinstallieren ]
12.    Avatars on Board/MessageIndex    2.0.17    [ Deinstallieren ]
13.    Google Analytics Code    1.5.1    [ Deinstallieren ]
14.    Discord Web Hooks    1.0.2    [ Deinstallieren ]
15.    Descriptive Links    1.2    [ Deinstallieren ]
16.    SMF Optimus    2.6.5 [7.07.20]    [ Deinstallieren ]
19.    EU Cookie    1.3.1    [ Deinstallieren ]
20.    ENotify    3.0    [ Deinstallieren ]
21.    Like Posts    2.2    [ Deinstallieren ]
22.    Simple Audio Video Embedder    5.1.2    [ Deinstallieren ]
23.    Ad Managment    3.5d    [ Deinstallieren ]
24.    Anti-spam by CleanTalk    2.31

the first one, ive installed google translate a few minutes ago, and i deleted smiley and avat Packs, cause they only copy stuff...
Title: Re: Quick Search redirects to index
Post by: Sectomy on July 16, 2020, 09:46:09 AM
any ideas ?