Osclass forums

Support forums => General help => 3.7.x => Topic started by: mrmerkucio on December 25, 2016, 02:37:42 pm

Title: Search not work after update 3.6 to 3.7. Help please!!!
Post by: mrmerkucio on December 25, 2016, 02:37:42 pm
View my video. Error in search!
After update on 3.7..(((
Help me please!!!

https://youtu.be/SC1Uu4F6S9U
Title: Re: Search not work after update 3.6 to 3.7. Help please!!!
Post by: dev101 on December 25, 2016, 03:17:37 pm
Not everyone speaks/reads russian :)

Anyway, from what I have seen (and understood) this seems to be theme related, for some reason you pass location id for the search string. (?)
Title: Re: Search not work after update 3.6 to 3.7. Help please!!!
Post by: mrmerkucio on December 25, 2016, 03:21:41 pm
Not everyone speaks/reads russian :)

Anyway, from what I have seen (and understood) this seems to be theme related, for some reason you pass location id for the search string. (?)

on 3.6 work and after update to 3.7 not work((.
Title: Re: Search not work after update 3.6 to 3.7. Help please!!!
Post by: dev101 on December 25, 2016, 03:35:09 pm
Well, I cannot reproduce this on my end, which theme is that? Try to switch to default Bender theme and see if it works.
Title: Re: Search not work after update 3.6 to 3.7. Help please!!!
Post by: mrmerkucio on December 25, 2016, 10:34:14 pm
Well, I cannot reproduce this on my end, which theme is that? Try to switch to default Bender theme and see if it works.
Bender theme work.
AIClassy, Bello, Premium one theme, not work search((.

I not find this problem.


I am test many other theme, all theme not work search....((
Title: Re: Search not work after update 3.6 to 3.7. Help please!!!
Post by: dev101 on December 25, 2016, 11:12:52 pm
Those themes are commercial ones, so you need to open a support ticket and talk to developer.

Sorry, cannot help you more, this is a theme related problem.
Title: Re: Search not work after update 3.6 to 3.7. Help please!!!
Post by: mrmerkucio on December 25, 2016, 11:38:30 pm
Those themes are commercial ones, so you need to open a support ticket and talk to developer.

Sorry, cannot help you more, this is a theme related problem.

I am sorry Bender theme search not work!!!
I am test now!

I click category and click Search. Not result!!!

I am install 3.6 and update 3.7.Theme Bender, Search not work.
I am install clean 3.7.Theme Bender, Search not work.

Please check this error
Title: Re: Search not work after update 3.6 to 3.7. Help please!!!
Post by: dev101 on December 26, 2016, 12:13:41 am
What setup do you use? Hosting, php, mysql, server? Check if you have anything in the logs that might help you find the problem.

https://doc.osclass.org/Debug_PHP_errors
https://doc.osclass.org/Debug_SQL_queries

It is really hard to find the problem just by your description.
Title: Re: Search not work after update 3.6 to 3.7. Help please!!!
Post by: mrmerkucio on December 26, 2016, 12:32:42 am
What setup do you use? Hosting, php, mysql, server? Check if you have anything in the logs that might help you find the problem.

https://doc.osclass.org/Debug_PHP_errors
https://doc.osclass.org/Debug_SQL_queries

It is really hard to find the problem just by your description.

PHP - 5.6 and 7.0
mysql 5.7
hosting log file clean.

I add:
Debug_PHP_errors - log
Debug_SQL_queries

and log file - PHP Notice:  Undefined offset: 2 in /home/a/alxstp9s/alxstp9s.bget.ru/public_html/oc-includes/osclass/classes/Rewrite.php on line 194
Title: Re: Search not work after update 3.6 to 3.7. Help please!!!
Post by: dev101 on December 26, 2016, 12:39:40 am
There's not much in the logs to draw any conclusion. That notice is nothing serious and will be fixed in the next update, but I am really without ideas what is wrong in your system.

Try to re-upload all files manually again to your server and see if that helps. Also, stick with default Bender theme for a while, until you get it fixed.

There are no changes that should break things like this (that I am aware of) in the new version, unless your problem is related to MySQL 5.7 somehow. Check your queries logs, as well. Look for ERROR keywords.

How does your old version (3.6.1) work on MySQL 5.7? Because, it cannot work properly, 3.6.1 does not support new MySQL version. This is the first mystery about your entire setup, you give very little useful information from the start.
Title: Re: Search not work after update 3.6 to 3.7. Help please!!!
Post by: mrmerkucio on December 26, 2016, 01:00:08 am
There's not much in the logs to draw any conclusion. That notice is nothing serious and will be fixed in the next update, but I am really without ideas what is wrong in your system.

Try to re-upload all files manually again to your server and see if that helps. Also, stick with default Bender theme for a while, until you get it fixed.

There are no changes that should break things like this (that I am aware of) in the new version, unless your problem is related to MySQL 5.7 somehow. Check your queries logs, as well. Look for ERROR keywords.

How does your old version (3.6.1) work on MySQL 5.7? Because, it cannot work properly, 3.6.1 does not support new MySQL version. This is the first mystery about your entire setup, you give very little useful information from the start.

on 3.6.1 work all Ok. php 5.6 mysql 5.7.
I install now 3.7 on other hosting and test Search error... Search not work on the mysql 5.7 php 7.0


Select category "For Sale" on select bar on the main page and click Search.
(https://s28.postimg.org/mg69v0a1l/serror2.jpg) (https://postimg.org/image/mg69v0a1l/)
(https://s28.postimg.org/ytj41wzq1/serror.jpg) (https://postimg.org/image/ytj41wzq1/)

Title: Re: Search not work after update 3.6 to 3.7. Help please!!!
Post by: dev101 on December 26, 2016, 01:19:29 am
I install now 3.7 on other hosting
Hi, I see that you are still within bget.ru (same hosting company, only different subdomain). It seems that something in their setup is not compatible with Osclass, but without deeper look cannot exactly say what.

Try different hosting company altogether, this is my best advice for now.
Title: Re: Search not work after update 3.6 to 3.7. Help please!!!
Post by: mrmerkucio on December 26, 2016, 01:46:09 am
I install now 3.7 on other hosting
Hi, I see that you are still within bget.ru (same hosting company, only different subdomain). It seems that something in their setup is not compatible with Osclass, but without deeper look cannot exactly say what.

Try different hosting company altogether, this is my best advice for now.

http://test.net.host1542611.serv67.hostland.pro/

hostland

Not work. Search error.


 
Title: Re: Search not work after update 3.6 to 3.7. Help please!!!
Post by: dev101 on December 26, 2016, 02:48:55 am
Hi there,

I have looked into your web server, and identified the bug. However, at this moment we will have to wait for the fix by Osclass Team.
The bug is related to this issue here http://forums.osclass.org/3-7-x/(bug)-parameters/ and it is further complicated by the fact that you are on nginx (as I tried to explain - always provide as much info as possible, so that we can more easily identify the problem right from the start).

Anyway, I have restored the old code on your server for the time being (you are still running 3.7.0), so it will work for now.

Regards
dev101
Title: Re: Search not work after update 3.6 to 3.7. Help please!!!
Post by: mrmerkucio on December 26, 2016, 02:54:40 am
Hi there,

I have looked into your web server, and identified the bug. However, at this moment we will have to wait for the fix by Osclass Team.
The bug is related to this issue here http://forums.osclass.org/3-7-x/(bug)-parameters/ and it is further complicated by the fact that you are on nginx (as I tried to explain - always provide as much info as possible, so that we can more easily identify the problem right from the start).

Anyway, I have restored the old code on your server for the time being (you are still running 3.7.0), so it will work for now.

Regards
dev101

Good!! Thanks.
 If I am now update to 3.7. Search will be work?
Title: Re: Search not work after update 3.6 to 3.7. Help please!!!
Post by: dev101 on December 26, 2016, 02:57:34 am
Hi,

You are still on 3.7.0, so no update is necessary. I have replaced Rewrite.php with old version for the time being, to fix your problem temporarily. Hopefully, it will be fully fixed in 3.7.1 version.

Regards,
dev101
Title: Re: Search not work after update 3.6 to 3.7. Help please!!!
Post by: mrmerkucio on December 26, 2016, 03:00:17 am
Hi,

You are still on 3.7.0, so no update is necessary. I have replaced Rewrite.php with old version for the time being, to fix your problem temporarily. Hopefully, it will be fully fixed in 3.7.1 version.

Regards,
dev101

Ok. Good work.
Title: Re: Search not work after update 3.6 to 3.7. Help please!!!
Post by: dev101 on December 26, 2016, 03:02:08 am
You're welcome.

During the next few days devs will try some new things to fix this bug, it would be nice if you can test these changes on your servers, to make sure it is properly fixed.

Regards,
dev101
Title: Re: Search not work after update 3.6 to 3.7. Help please!!!
Post by: dev101 on December 27, 2016, 02:23:36 pm
Here's the new version, if you can test now would be great:

https://raw.githubusercontent.com/osclass/Osclass/0dfcea71a53b2b8b090e5846b53e26dca7fe8d66/oc-includes/osclass/classes/Rewrite.php

new:
https://raw.githubusercontent.com/osclass/Osclass/416a4a1370c8a1ac0de4112d3ddc233a10fa5f47/oc-includes/osclass/classes/Rewrite.php

Thanks!