My activity stream options generates error

We cannot access the my activity streams options.
It gives a small 1 line box on the screen.
Error log shows this:
[Tue Mar 15 17:06:21 2016] [error] [client 192.168.101.10] PHP Warning: Smarty error: unable to read resource: "custom/modules/SugarFeed/Dashlets/SugarFeedDashlet/Options.tpl" in /var/www/html/suitecrm/include/Smarty/Smarty.class.php on line 1094, referer: http://192.168.101.55/suitecrm/index.php

The directory is empty.
I compared it to an old ver 7.4.3 directory and it has these files:
-rwxr-xr-x. 1 apache apache 7019 Nov 23 18:20 Options.tpl
-rwxr-xr-x. 1 apache apache 3195 Nov 23 18:20 SugarFeedDashlet.meta.php
-rwxr-xr-x. 1 apache apache 23598 Nov 23 18:20 SugarFeedDashlet.php
-rwxr-xr-x. 1 apache apache 3903 Nov 23 18:20 UserPostForm.tpl

THX

LW

If all else fails read the error message.
I copied the files from /var/www/html/suitecrm/modules/SugarFeed/Dashlets/SugarFeedDashlet to the same directory under custom and it works.

I guess the question is why is it not where it is supposed to be?

THX

LW

Hi,

What version of SuiteCRM are you using?

I believe this was resolved in 7.5.2 and 7.5.3.

If you upgrade to either of these, do your issues still occur?

(If you are going to upgrade, you may wish to take backups of your DB and CRM)

I believe the reason these files were not in the /custom/ directory was that v7.5 moved a lot of files that were in the /custom/ directory that did not need to be there, out of the /custom/ directory.

However, the error was occuring as the reference to the custom directory was not updated accordingly, which I believe was resolved in v7.5.2

I had just upgraded to 7.5.3.

THX

I have the same problem in ver 7.5.3

I resolved the issue with lw9474’s suggestion.

I have the same problem in 7.5.3, the same workaround also worked for me.

However, it would be nice to get to the bottom of this, something is wrong and needs to be fixed…

This is still an issue in v7.6.3. I resolved it using lw9474’s solution above (thank you!).

Even in a newest version 7.7.4 I have had the same problem. Solved it like lw9474 proposed.
I will report this as an issue on the github

https://github.com/salesagility/SuiteCRM/issues/2225

1 Like

this is a fix I proposed but never got merged https://github.com/salesagility/SuiteCRM/pull/1761, and this is a better fix because even in a fresh SugarCRM install it’s like that, I don’t know when and why SuiteCRM changed that line of code, it doesn’t make sense to call to a custom folder that doesn’t exists because you don’t have nothing created yet.

best regards