*

MB Themes

Re: Does not work switching pages in the search
« Reply #15 on: March 03, 2016, 09:48:36 PM »
@san37
Lol, do you pay them?
Error 404 means problem with server on particular URL and they told you there is different CSS file?
Do not ask us for help with your hosting. You paid us for theme, you paid your hosting provider for hosting, so they are paid to support you... but as you can see, they do not have any knowledge.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

san37

  • ***
  • 89 posts
Re: Does not work switching pages in the search
« Reply #16 on: March 03, 2016, 10:00:35 PM »
Yes they are and write what they don't know what is the reason they are not programmers, of course paid hosting but they do not understand at all  :D

The thing is that even if you set another template of the standard revealed this error
You as a professional can recommend how to fix it and what to look for?

*

MB Themes

Re: Does not work switching pages in the search
« Reply #17 on: March 03, 2016, 10:06:28 PM »
@san37
I am pretty sure it is caused by incompatibility in URLs, you should first try it with friendly URLs off.
After that you can try to identify which part of code cause it. This page consist of files:
- head.php
- header.php
- inc.search.php
- inc.category.php
- search.php
- search_gallery.php
- footer.php

Backup first, then remove content of each to see if you still got error 404.

I remember that on elena theme was code that blocked search page to error 404 page when friendly URLs were activated due to following code:
Code: [Select]
if(Params::getParam('sCategory') == 0) {
  Params::unsetParam('sCategory');
}

You may find something similar...
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

san37

  • ***
  • 89 posts
Re: Does not work switching pages in the search
« Reply #18 on: March 03, 2016, 10:21:19 PM »
Yes you are right, disable friendly url and everything works well...

Please specify which files can be code

if(Params::getParam('sCategory') == 0) {
Params::unsetParam('sCategory');
}

*

MB Themes

Re: Does not work switching pages in the search
« Reply #19 on: March 04, 2016, 07:40:27 AM »
@san37
It was example, it is not present in zara theme, just letting you know how could problematic code look.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

san37

  • ***
  • 89 posts
Re: Does not work switching pages in the search
« Reply #20 on: March 04, 2016, 12:09:33 PM »
I think to solve this problem Infinite scrol
You don't have such a plugin?

*

MB Themes

Re: Does not work switching pages in the search
« Reply #21 on: March 04, 2016, 12:32:31 PM »
@san37
No, but it was somewhere on forums.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

san37

  • ***
  • 89 posts
Re: Does not work switching pages in the search
« Reply #22 on: March 04, 2016, 03:39:09 PM »
found http://forums.osclass.org/themes/infinite-scroll-items/

1 and 2 step completed

But not working yet
look, I correctly pointed classes?
This code I placed in search.php

Code: [Select]
<script type="text/javascript">
jQuery.ias({
container : '.search-items',
item: '.list-prod',
pagination: '.paginate',
next: '.searchPaginationNext',
loader: '<?php echo osc_current_web_theme_url('images/loader.gif'); ?>'
loaderDelay: 100,
triggerPageTreshold: 3,
trigger: 'More items',
tresholdMargin: 0,
history : true
});
</script>

code appears at the very end before </body>

<script type="text/javascript" src="<?php echo osc_current_web_theme_js_url('jquery.ias.min.js') ; ?>"></script>
specified before </head > in search.php
« Last Edit: March 04, 2016, 03:42:17 PM by san37 »

*

MB Themes

Re: Does not work switching pages in the search
« Reply #23 on: March 04, 2016, 03:59:16 PM »
@san37
Never tested this plugin, you may need to change classes in your script.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

san37

  • ***
  • 89 posts
Re: Does not work switching pages in the search
« Reply #24 on: March 04, 2016, 04:15:20 PM »
I put classes that I wanted you to look right if I indicated

*

san37

  • ***
  • 89 posts
Re: Does not work switching pages in the search
« Reply #25 on: March 04, 2016, 04:44:39 PM »
jQuery.ias({
                  container : '.search-items',
                  item: '.list-prod',
                  pagination: '#main .paginate',
                  next: '.searchPaginationNext',
                  loader: '<?php echo osc_current_web_theme_url('images/loader.gif'); ?>'
                  loaderDelay: 100,
                  triggerPageTreshold: 3,
                  trigger: 'More items',
                  tresholdMargin: 0,
                  history : true
               });

Also not working

*

MB Themes

Re: Does not work switching pages in the search
« Reply #26 on: March 04, 2016, 05:10:30 PM »
@san37
That is probably for different discussion, you should reach plugin author.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

san37

  • ***
  • 89 posts
Re: Does not work switching pages in the search
« Reply #27 on: March 05, 2016, 09:22:37 PM »
Thanks, the problem was solved