By loic on Thursday, 03 November 2016
Likes 0
Views 707
Votes 0
Hello,

i encounter problems after upgrading to 2.02, same as : https://stackideas.com/forums/problem-after-update-to-2-02

Site was down and :
easyblog page ok,
kunena and ES pages were not ok... especially when i used user link from kunena...

So i decide to step back to ES 1.4... using backup
now ES and the site is not working pretty well anymore... SQL queries seems very long or with error

i can't install ES package using joomla install :
http://screencast.com/t/Q75eBx7orUD

and ES admin is not working pretty good, specially dashboard and user page :
http://screencast.com/t/ZUTzoellAq

i have these error for exemple :
SQL=SELECT COUNT(1) FROM (SELECT `a`.*,`b`.`type`,SUM(`p`.`points`) AS `points` FROM `#__users` AS `a` LEFT JOIN `#__social_points_history` AS `p` ON `p`.`user_id` = `a`.`id` LEFT JOIN `#__social_users` AS `b` ON `a`.`id` = `b`.`user_id` LEFT JOIN `#__social_profiles_maps` AS `e` ON `e`.`user_id` = `a`.`id` GROUP BY `a`.`id` ORDER BY `id` DESC) AS zcount


Can you please have a look and help me installing ES 2.02 ?
thanks in advance

Loïc
Okies, this is nice as we do have affiliation with them too. Please use our affiliate link at http://stackideas.com/inmotion-webhosting

Strange, some customers seems to be fine with OVH, not really sure why you are having issues. I guess it's time we start our own hosting solutions
·
Saturday, 05 November 2016 02:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Loic,

I am sorry for the delay of this reply.

Regarding your issue, when I attempt to upgrade your EasySocial to 2.0.2, i keep getting error connecting to your MySQL server. In fact, most of the operations that involved database will failed

Error displaying the error page: Application Instantiation Error: Could not connect to MySQL.


I also getting this error sometime. http://screen.stackideas.com/Installation_-_Step_4_2016-11-03_13-29-09.png

It seems like your server is kinda unstable.

Anyway, can you provide me your phpMyAdmin access so that I can manually run the require sql statement for your EasySocial 2.0.2?

Please advise.
Sam
·
Thursday, 03 November 2016 13:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello sam,
thanks for your help
find phpmyadmin access in site details

Loïc
·
Thursday, 03 November 2016 14:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Loic,

I am sorry for the delay of this reply and thanks for the phpmyadmin access. It seems like even when working on phpmyadmin, i still encounter connection timeout issue

Anyway, after many times trying, I've successfully install EasySocial 2.0.2 on your site by manually executing all the sql statement.

http://take.ms/jZXki

If you login to EasySocial backend, you will notice a notice error on EasyBlog blog app. You will need to update your blog app

By the way, I cant seem to be able to access to your site frontend. I keep getting connection error:

Error displaying the error page: Application Instantiation Error: Could not connect to MySQL.

Please advise.
Sam
·
Thursday, 03 November 2016 19:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello
Thanks for your help
In frontend (Dashboard page) sometime i have this error :
ERREUR: 0

SQL=SELECT COUNT(1) FROM (select * from ( select a.* , (select pri.value as `access` from `#__social_privacy_items` as pri left join `#__social_privacy_customize` as prc on pri.id = prc.uid and prc.utype = 'item' where pri.uid = a.id and pri.`type` = 'videos' UNION ALL select prm.value as `access` from `#__social_privacy_map` as prm inner join `#__social_privacy` as pp on prm.privacy_id = pp.id left join `#__social_privacy_customize` as prc on prm.id = prc.uid and prc.utype = 'user' where prm.uid = a.user_id and prm.utype = 'user' and pp.type = 'videos' and pp.rule = 'view' union all select prm.value as `access` from `#__social_privacy_map` as prm inner join `#__social_privacy` as pp on prm.privacy_id = pp.id inner join `#__social_profiles_maps` pmp on prm.uid = pmp.profile_id where prm.utype = 'profiles' and pmp.user_id = a.user_id and pp.type = 'videos' and pp.rule = 'view' limit 1) as access, (select concat(',', group_concat(prc.user_id SEPARATOR ','), ',') as `custom_access` from `#__social_privacy_items` as pri left join `#__social_privacy_customize` as prc on pri.id = prc.uid and prc.utype = 'item' where pri.uid = a.id and pri.`type` = 'videos' UNION ALL select concat(',', group_concat(prc.user_id SEPARATOR ','), ',') as `custom_access` from `#__social_privacy_map` as prm inner join `#__social_privacy` as pp on prm.privacy_id = pp.id left join `#__social_privacy_customize` as prc on prm.id = prc.uid and prc.utype = 'user' where prm.uid = a.user_id and prm.utype = 'user' and pp.type = 'videos' and pp.rule = 'view' limit 1) as custom_access from `#__social_videos` as a where a.`state` = '1' and a.`type` = 'user' order by a.hits desc ) as x WHERE ( (x.`access` = '0') OR ( (x.`access` = '10') AND (0 > 0 ) ) OR ( (x.`access` = '30') AND ( (select count(1) from `#__social_friends` where ( `actor_id` = x.`user_id` and `target_id` = 0) OR (`target_id` = x.`user_id` and `actor_id` = 0) and `state` = 1) > 0 ) ) OR ( (x.`access` = '40') AND ( x.`user_id` = 0 ) ) OR ( (x.`access` = '100') AND ( x.`custom_access` LIKE '%,0,%' ) ) OR (x.`user_id` = 0) )) AS zcount


Loic

Maybe i have to clear CDN also. I will.
·
Thursday, 03 November 2016 20:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Loic, I believe there is something really wrong with your hosting provider's end, http://take.ms/3PhZk

Sam also did mentioned that the entire site is extremely slow and to be honest, I really think you should consider switching to a proper web host.
·
Friday, 04 November 2016 00:10
·
0 Likes
·
0 Votes
·
0 Comments
·
hello,

i am afraid to move hosting because of the big sql queries i will need to run and the possible trouble i'll have to solve

can you recommend me one ?

the problem appear when i have tried to upgrade :
http://screencast.com/t/SWTpEqsPZhaY

Loïc
·
Friday, 04 November 2016 01:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Loic,

I am sorry for the delay of this reply.

Regarding your issue, after further investigate on your site, look like the sql for privacy checking on the video listing causing the error from your database server.

I've added a temporary fix to disable the video privacy during video listing. Below is the file I've modified.

JOOMLA/easysocial/administrator/components/com_easysocial/models/videos.php

Now your EasySocial 2.0 should work correctly.



i am afraid to move hosting because of the big sql queries i will need to run and the possible trouble i'll have to solve
can you recommend me one ?


You can try this web hosting company Inmotion as they are specialist in hosting Joomla web applications.
https://stackideas.com/inmotion-webhosting


Hope this help and have a nice day!
Sam
·
Friday, 04 November 2016 13:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks you sam,

it is working much better

Backend is ok and i don't have troubles with any components except ES users page (others ES pages seems ok)
http://www.rando-trekking.com/administrator/index.php?option=com_easysocial&view=users

also in frontend it's working as long as i am not connected !!
when connected i have long sql queries...

maybe something is still wrong with users database or privacy something ??

Loïc

I am investigating further on to move my hosting
I am also looking for an hosting with a datacenter in EU (my users are from france)
·
Friday, 04 November 2016 17:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Loic,

I am sorry for the delay of this reply.

Regarding your issue, I login to your phpmyadmin and run the optimize command on the users table and privacy tables. When i attempt to login to your site, i now getting this error: http://take.ms/zs1Xvx

Is your site now under maintenance? Please advise.
Sam
·
Friday, 04 November 2016 20:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello sam,
thanks again for trying

site is not under maintenance ; is "alive" in EU
it could be a problem of CDN ; Datacenter is in Paris and i have cleaned CDN... maybe one in asia is not so clean...

anyway, i'll change my hosting tomorrow
As it is week-end for you, i'll put my site down and do the change...
I'll contact you again on monday morning

i am afraid there is something still wrong with SQL Queries and when i'll move from one hosting to the other, i'll also move the problem (something went wrong during ES 1.4 -> 2 -> 1.4 -> 2 again...)

Loïc
·
Friday, 04 November 2016 23:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello loic,

Great, perhaps it would be advisable that you also start a new thread since I am leaning to believe that with your new hosting provider, everything should be great again

By the way, which hosting are you moving to and which hosting are you currently using (so that we can keep an eye about this hoster in case another customer is using their services) ?
·
Friday, 04 November 2016 23:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello

I'll move from OVH to InMotion Hosting

Loic
·
Saturday, 05 November 2016 01:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello;

hosting change is done ; still have issues
I have created a new topic :
https://stackideas.com/forums/errors-pages-sql-after-upgrade-to-es-2

Loïc
·
Wednesday, 09 November 2016 20:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks, we'll reply you on your other thread
·
Wednesday, 09 November 2016 20:45
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post