Osclass forums

Support forums => General help => 3.7.x => Topic started by: Aficionado on December 17, 2016, 01:47:40 am

Title: Updated one live site to Osclass 3.7 - The results
Post by: Aficionado on December 17, 2016, 01:47:40 am
Just did an update (manually via ftp) to one of my not-so-busy Osclass installation. Running CloudLinux with PHP 7.0.13, LiteSpeed Server and Mariadb 10.0.27.

So far, so good. I will re-enable 3-4 plugins i use and see also how this goes. If i find something wrong, i will update here.

My debug.log is clean apart from this minor (and harmless) notice (hundred of this one):


PHP Notice:  Undefined offset: 2 in /home/oc-includes/osclass/classes/Rewrite.php on line 194

Title: Re: Updated one live site to Osclass 3.7 - The results
Post by: SteveJohnson on December 17, 2016, 03:00:40 am
Thank you for the update. The new version of osclass does not have any big change, except that mysql 5.7 is now supported (finally)... i guess i'll update only when i update my vps to ubuntu 16.04.
Title: Re: Updated one live site to Osclass 3.7 - The results
Post by: _CONEJO on December 17, 2016, 11:38:05 am
Will look into the issue, is there any specific URL the error appear? We are not able to reproduce the problem.

Anyway, to shut it off and not fill your debug.log, change oc-includes/osclass/classes/Rewrite.php  line 194 from

Code: [Select]
                        Params::setParam($matches[1][$var_k], $aValues[$var_k]);


to

Code: [Select]
                        if(isset($aValues[$var_k])) {
                            Params::setParam($matches[1][$var_k], $aValues[$var_k]);
                        }
Title: Re: Updated one live site to Osclass 3.7 - The results
Post by: Aficionado on December 17, 2016, 01:22:13 pm
Will look into the issue, is there any specific URL the error appear? We are not able to reproduce the problem.

Anyway, to shut it off and not fill your debug.log, change oc-includes/osclass/classes/Rewrite.php  line 194 from


I will turn debug off after a few days anyway.

Maybe the notice is appearing to me and not to you because of PHP 7x ?

I have no idea when it appears but i will try locally to reproduce it.

Thanks for the 3.7 update !
Title: Re: Updated one live site to Osclass 3.7 - The results
Post by: Aficionado on December 17, 2016, 01:24:47 pm
Checking today our uploads/temp directory for images, i see some in there. Is that normal ? I thought 3.7 is clearing those.

Named "qqfile_585463f0e84b6.jpg" etc etc.

Thanks


Oops. Just have been deleted ... by CRON i guess !!!
Title: Re: Updated one live site to Osclass 3.7 - The results
Post by: _CONEJO on December 17, 2016, 01:41:30 pm
We use PHP 7.x for development, so the error shouldn't be because of that. It has to be with the URL/params, but not sure how to reproduce it.

yes, qqfile_* is deleted by cron and only after the files are "old", so even if cron's running, some files may not be immediately deleted

Title: Re: Updated one live site to Osclass 3.7 - The results
Post by: Aficionado on December 17, 2016, 04:00:19 pm
I do see one problem. ALL logins are very slow, admin and users. Takes 8-10 seconds to login. In all 3.6.1 sites i run, the login takes 1-2 seconds tops.

I will research this more and see what it could be.
Title: Re: Updated one live site to Osclass 3.7 - The results
Post by: Aficionado on December 17, 2016, 04:06:20 pm
I do see one problem. ALL logins are very slow, admin and users. Takes 8-10 seconds to login. In all 3.6.1 sites i run, the login takes 1-2 seconds tops.

I will research this more and see what it could be.

Ok, i had to lower bcrypt in my dev osclass, never did so.

Code: [Select]
define('BCRYPT_COST', 10);
Title: Re: Updated one live site to Osclass 3.7 - The results
Post by: dev101 on December 19, 2016, 01:20:21 am
new version of osclass does not have any big change, except that mysql 5.7 is now supported
It has a lot of changes, this version was long awaited for, and it delivered. It fixed some very old, serious issues, and some newly discovered ones, added some new (albeit minor) features here and there, improved performance in some areas [...] it is definitely not a small release as you claim. The version number change speaks for itself.

Now, there are few important issues that are still not fixed in 3.7.0 (e.g. wrong email accounts, mysql index multiplication @ upgrade, those ones are the most serious issues pending resolution), that I personally would like to be solved (proposed solutions already exists), but we'll have to wait a little for the next update.
Title: Re: Updated one live site to Osclass 3.7 - The results
Post by: Aficionado on December 19, 2016, 10:20:02 am

It has a lot of changes, this version was long awaited for, and it delivered. It fixed some very old, serious issues, and some newly discovered ones, added some new (albeit minor) features here and there, improved performance in some areas [...] it is definitely not a small release as you claim. The version number change speaks for itself.

Now, there are few important issues that are still not fixed in 3.7.0 (e.g. wrong email accounts, mysql index multiplication @ upgrade, those ones are the most serious issues pending resolution), that I personally would like to be solved (proposed solutions already exists), but we'll have to wait a little for the next update.

Well i agree to all the above and they are 100% correct. But you are happy from a developer's view.

3.7 does not add anything new for the webmaster or more important, the users.

It has been a long time a new feature has been added to Osclass. I mean a needed feature and not what the Osclass team thinks as "needed".

Title: Re: Updated one live site to Osclass 3.7 - The results
Post by: Aficionado on December 23, 2016, 03:02:04 pm
After 3.7 update the whole admin part is extremely slow. For example when i select Listings, it takes 5-10 seconds to display.

Not sure why. Anybody else has this ?

And it is NOT a hosting problem, since in the same plan i have a heavy loaded Wordpress that when in admin and select All Posts (for example) it just shows them instantly.