By LAC Webadmin on Saturday, 29 March 2014
Posted in Technical Issues
Replies 12
Likes 0
Views 765
Votes 0
I just upgraded to v1.2.4 and when searching for anything ES I'm seeing the webserver absolute path like:

https://mydomain.com/community/dashboard/public_html/cli/index.php?option=com_easysocial&view=profile&id=103:john-doe&Itemid=208

I have sh404SEF enabled and URL purged by the way.

Thanks,

Jackson
Hello Jackson,

Is there any way for you to provide us with the FTP access? I wouldn't want to take the chance to modify these files via a file manager in Joomla as I am afraid that it might mess up the whole site since I need to debug the files in Joomla's library.
·
Saturday, 29 March 2014 14:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

I'll investigate on this on Monday, I'm not seeing that same behavior in my staging website.

Thanks Mark, I'll post back what I find.

Jackson
·
Sunday, 30 March 2014 06:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Mark,

I found what's causing it I set the smart search cli indexing in cron job so I don't have to manually reindex. Whenever the cron job kicks in it does change the URL, I have no experience with smart search so I'm just speculating that maybe the finder index CLI version of URL has to be interpreted in the router?

Thanks,

Jackson
·
Sunday, 30 March 2014 12:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Jackson,

Hm, that could be an issue too but I believe it depends on how the indexing is done. If you do it from the back end, does it work?
·
Sunday, 30 March 2014 20:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

Confirmed, the absolute is showing up when CLI reindex kicks in with cron job. The path in my case looks like this:

http://www.mydomain.compublic_html/cli/index.php?option=com_easysocial&view=profile&id=113:john-doe&Itemid=118

there's no / after .com. So I'm turning off CLI reindex for now, I hope someone confirms this too and I'm not experiencing this in my staging server because I did not enable CLI reindex.

Thanks,

Jackson
·
Tuesday, 01 April 2014 00:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Jackson,

Thanks for the heads up on this, I have never really tried the CLI for Smart Search yet but is this also a problem with the core URLs from Joomla articles etc?
·
Tuesday, 01 April 2014 01:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

I just tried running /public_html/cli/finder_indexer.php using webmin so I can see what it's doing and I'm getting php notices:


Notice: Undefined property: SocialUser::$user_id in /public_html/plugins/finder/easysocialusers/easysocialusers.php on line 252
PHP Notice: Undefined property: SocialUser::$user_id in /public_html/plugins/finder/easysocialusers/easysocialusers.php on line 249

Notice: Undefined property: SocialUser::$user_id in /public_html/plugins/finder/easysocialusers/easysocialusers.php on line 252
PHP Notice: Undefined variable: album in /public_html/plugins/finder/easysocialgroups/easysocialgroups.php on line 200

Notice: Undefined variable: album in /public_html/plugins/finder/easysocialgroups/easysocialgroups.php on line 200
PHP Notice: Trying to get property of non-object in /public_html/plugins/finder/easysocialgroups/easysocialgroups.php on line 200


Also, turned on Content finder plugin and surprisingly it is returning a proper URL. So it might be, the issue is with EasySocial finder plugin. I am testing it in my localhost, will post back result later.

Thanks,

Jackson
·
Tuesday, 01 April 2014 02:14
·
0 Likes
·
0 Votes
·
0 Comments
·
The FTP access doesn't seem to work.
·
Tuesday, 08 April 2014 17:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Jackson,

We've fixed the php notice issues and the fix will be added into next release of EasySocial

By the way, i tested the CLI locally and I did not get the issue you encountered. The url do not have the server path. Strange. If you can provide me your ssh access to your server and your phpmyadmin access together with your ftp account, I will take a look at your issue again. Please advise.

Just curious to know, why would you want to setup the cron to run the indexing? To my understanding, if you did purge on your indexed items, you only need to re-run the indexing one time. Any future update to your items, e.g your Joomla article, the updated content will get indexed automatically if you have the article finder plugin enabled and your content plugin - finder enabled. Same applied to EasySocial finder plugins

Hope this help and have a nice day
Sam
·
Tuesday, 08 April 2014 19:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sam,

Hmmm... I don't know what to tell you like I said I don't use Smart Search since it was introduced in J2.5 so I was thinking if I have to reindex Smart Search every time a new content is added I'll run it using cron. But you said it does it automatically so I guess I don't have to run cron then. And thank for that Tip!

I hope you guys add a section in Account Profile to add Site Details so we don't have to put it all the time.

Thanks,

Jackson
·
Wednesday, 09 April 2014 00:17
·
0 Likes
·
0 Votes
·
0 Comments
·
LAC Infosys wrote:

I hope you guys add a section in Account Profile to add Site Details so we don't have to put it all the time.


Agreed. I think this would save the stacked team time too (I know, a bit of a tongue twister).
·
Wednesday, 09 April 2014 01:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Yeah, this is coming up in our new site
·
Wednesday, 09 April 2014 02:45
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post