Textpattern CMS support forum

You are not logged in. Register | Login | Help

#11 2018-11-03 20:39:47

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,185

Re: Admin Search not working anymore since 4.7.0

Maybe this is introduced even earlier: In 4.6.2, searching for comments with ?crit=mytitle&search_method=parent&event=discuss&step=list&search=Go on the URL doesn’t work. But also: The website is hosted on Hosteurope. It was running Textpattern 4.5.7 before the update and the URL parameter worked reliably.

EDIT: Could this have something to do with the PHP-version? (I had to update for that reason.) Currently PHP v7.2.11-he.0

Last edited by uli (2018-11-03 20:50:33)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#12 2018-11-03 22:13:12

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 640
Website

Re: Admin Search not working anymore since 4.7.0

I have the same problem after an update from 4.0.5 to 4.7.1. In fact the search on the article list doesn’t work at all.

Installing and using smd_where_used_v0.30 works, though.

The site is hosted on Hosteurope as well. ;)

Diagnostics show, that the PHP function syslog has been disable on server. Could that be the cause for this?

Last edited by jayrope (2018-11-03 22:17:05)


a hole turned upside down is a dome, though only when there’s gravity.

Offline

#13 2018-11-03 22:38:06

etc
Developer
Registered: 2010-11-11
Posts: 3,106
Website

Re: Admin Search not working anymore since 4.7.0

Can you open the browser network console, do a search and see what is in the response? And make sure to refresh the browser cache before.


etc_[ query | search | pagination | date | tree | cache ]

Offline

#14 2018-11-03 22:38:41

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 640
Website

Re: Admin Search not working anymore since 4.7.0

demoncleaner wrote #312964:

… And it also appears only on Hosteurope Hosting.

Can anyone confirm that or has any idea what could cause that? In the Diagnose Tab I see that syslog is deactivated. But I guess that this cannot be the reason for the problem.

I will also try to contact Hosteurope on that topic and keep you posted. Any more hints and ideas would be really appreciated.

Did you get an answer of hosteurope yet?


a hole turned upside down is a dome, though only when there’s gravity.

Offline

#15 2018-11-03 23:22:31

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,185

Re: Admin Search not working anymore since 4.7.0

etc wrote #314918:

Can you open the browser network console, do a search and see what is in the response? And make sure to refresh the browser cache before.

I’ve this on 4.6.2:
(EDIT: and syslog is also deactivated on my server)

GET 
http://mysite.tld/textpattern/index.php [HTTP/1.1 200 OK 172ms]
GET 
http://mysite.tld/textpattern/vendors/jquery/jquery/jquery.js [HTTP/1.1 200 OK 453ms]
GET 
http://mysite.tld/textpattern/vendors/jquery/jquery-ui/jquery-ui.js [HTTP/1.1 200 OK 834ms]
GET 
http://mysite.tld/textpattern/textpattern.js [HTTP/1.1 200 OK 498ms]
GET 
http://mysite.tld/textpattern/admin-themes/hive/assets/css/textpattern.min.css [HTTP/1.1 200 OK 561ms]
GET 
http://mysite.tld/textpattern/admin-themes/hive/assets/js/main.min.js [HTTP/1.1 200 OK 177ms]
GET 
http://mysite.tld/textpattern/vendors/PrismJS/prism/prism.js [HTTP/1.1 200 OK 653ms]
GET 
http://mysite.tld/textpattern/admin-themes/hive/assets/img/sprite.svg [HTTP/1.1 200 OK 96ms]
GET 
http://mysite.tld/textpattern/admin-themes/hive/assets/img/ui-icon-sprite-info.svg [HTTP/1.1 200 OK 172ms]
GET 
http://mysite.tld/textpattern/admin-themes/hive/assets/img/ui-icon-sprite-333333.svg [HTTP/1.1 200 OK 215ms]

Anything unusual?

Last edited by uli (2018-11-03 23:25:56)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#16 2018-11-03 23:23:42

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 640
Website

Re: Admin Search not working anymore since 4.7.0

etc wrote #314918:

Can you open the browser network console, do a search and see what is in the response? And make sure to refresh the browser cache before.

i don’t get any results in the console, when i clear cache before search (which doesn’t return anything either). If i simply just call the article list page after i cleared cache, i get

“Content Security Policy: Ignoring ‘x-frame-options’ because of ‘frame-ancestors’ directive.”

Am on newest Firefox.


a hole turned upside down is a dome, though only when there’s gravity.

Offline

#17 2018-11-03 23:25:34

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 640
Website

Re: Admin Search not working anymore since 4.7.0

Add-on to the post above: After a while i get more in the browser console:

Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”).
post.php:1:1
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://textpattern.com/assets/fonts/pt-serif-v9-latin-ext-regular.woff2. (Reason: CORS header ‘Access-Control-Allow-Origin’ does not match ‘https://*.textpattern.com’).[Learn More]
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://textpattern.com/assets/fonts/pt-serif-v9-latin-ext-700.woff2. (Reason: CORS header ‘Access-Control-Allow-Origin’ does not match ‘https://*.textpattern.com’).[Learn More]
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://textpattern.com/assets/fonts/pt-serif-v9-latin-ext-regular.woff. (Reason: CORS header ‘Access-Control-Allow-Origin’ does not match ‘https://*.textpattern.com’).[Learn More]
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://textpattern.com/assets/fonts/pt-serif-v9-latin-ext-700.woff. (Reason: CORS header ‘Access-Control-Allow-Origin’ does not match ‘https://*.textpattern.com’).[Learn More]
Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”).
viewtopic.php:1:1
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://textpattern.com/assets/fonts/pt-serif-v9-latin-ext-regular.woff2. (Reason: CORS header ‘Access-Control-Allow-Origin’ does not match ‘https://*.textpattern.com’).[Learn More]
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://textpattern.com/assets/fonts/pt-serif-v9-latin-ext-700.woff2. (Reason: CORS header ‘Access-Control-Allow-Origin’ does not match ‘https://*.textpattern.com’).[Learn More]
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://textpattern.com/assets/fonts/pt-serif-v9-latin-ext-regular.woff. (Reason: CORS header ‘Access-Control-Allow-Origin’ does not match ‘https://*.textpattern.com’).[Learn More]
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://textpattern.com/assets/fonts/pt-serif-v9-latin-ext-700.woff. (Reason: CORS header ‘Access-Control-Allow-Origin’ does not match ‘https://*.textpattern.com’).[Learn More]


a hole turned upside down is a dome, though only when there’s gravity.

Offline

#18 2018-11-04 00:25:18

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 1,618
Website

Re: Admin Search not working anymore since 4.7.0

jayrope wrote #314922:

Add-on to the post above: After a while i get more in the browser console:

Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”).
post.php:1:1
[…]

You see that when you access the front-end of your site, right? Anyway, it looks like your site is trying to access resources hosted on textpattern.com, but it is not allowed, due to CORS, set via the Header set Content-Security-Policy header in .htaccess.

But nowhere does a standard TXP install calls for resources (fonts, scripts) hosted on textpattern.com. Puzzled as how you then get all that output.

Offline

#19 2018-11-04 00:35:46

jakob
Moderator
From: Germany
Registered: 2005-01-20
Posts: 3,347
Website

Re: Admin Search not working anymore since 4.7.0

Maybe you have more than one inspector window open and got them muddled. There‘s no post.php or viewtopic.php in textpattern but there is in the forum when you write a new forum post or look at one.


TXP Builders – finely-crafted code, design and txp

Offline

#20 2018-11-04 09:05:39

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 640
Website

Re: Admin Search not working anymore since 4.7.0

Making sure i am only looking at the search in the backend i only get
“Content Security Policy: Ignoring ‘x-frame-options’ because of ‘frame-ancestors’ directive.”
in the browser console while performing one search, which returns no results (no search does).

Edit: when i use Where Used 0.3 to perform a search the browser console doesn’t show anything but above line either.

Last edited by jayrope (2018-11-04 09:07:17)


a hole turned upside down is a dome, though only when there’s gravity.

Offline

Board footer

Powered by FluxBB