×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Search function isn't working

Search function isn't working 10 years 5 months ago #26942

  • vavslovakia
  • vavslovakia's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
Hello,

recently we have discovered 2 big problems with your jcomment component.

1) The search function button isn't working at all.
2) Sometime it takes too long to load the comments or they don't load at all (there are currently around 300 comments in the database)

You can see the website at : www.opatrovatelky.com

Any help is appreciated.
Thank you.

Search function isn't working 10 years 5 months ago #26945

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey,
1) The search function in ccomment 5 is not implemented. I forgot to remove the show search button from the settings. The functionality will be introduced back with one of the next updates.

2). I just went to your site and the comments are loading as expected. Maybe when they don't load - look at your javascript console. Maybe you had some javascript that breaks the comment system.

Regards,
Daniel

Search function isn't working 10 years 5 months ago #26951

  • vavslovakia
  • vavslovakia's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
Looks like it's kinda random when it just stacks, it helps when I clean the joomla cache.
I checked the console and there was something like, that I should enable "Cross-origin resource sharing". I was googling a bit but didn't get it what is it all about. So, maybe you could help me.

Search function isn't working 10 years 5 months ago #26952

  • vavslovakia
  • vavslovakia's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
Ok, so it happened again
The error is :
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at www.opatrovatelky.com/index.php?option=c...omponent=com_content . This can be fixed by moving the resource to the same domain or enabling CORS.

Search function isn't working 10 years 5 months ago #26954

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
It seems that you are accessing the same site through http://opatr.... and www.opatr

You don't need the www... Just loose it and make a redirect that redirects all www.opatr ... request to the http://opatr... site

Regards,
Daniel
The following user(s) said Thank You: vavslovakia

Search function isn't working 10 years 5 months ago #26959

  • vavslovakia
  • vavslovakia's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
Thank you Daniel, you made my day :) this completely solved my problem
  • Page:
  • 1
Time to create page: 0.111 seconds