Hi everybody!
I’m trying to upgrade the module of Security groups but in the process throw me this error !:
Steps here:
What’s happening?? please help!
Hi everybody!
I’m trying to upgrade the module of Security groups but in the process throw me this error !:
Steps here:
What’s happening?? please help!
Do you know how to reset your Linux permissions? Your system seems to be having trouble writing to files.
Thank you @pgr! I solved it!, i just changed the group/owner on some of my folders and files on my suitecrm instance
chown -R daemon/daemon, i suppose that is under my apache is running…
Ok, if you got that right then you can do the full recommended treatment on your entire SuiteCRM directory:
sudo chown -R www-data:www-data .
sudo chmod -R 755 .
sudo chmod -R 775 cache custom modules themes data upload config_override.php
That’s a space followed by a dot (" .") at the end of those commands.
And then when you set up your cron jobs make sure you do it under the daemon crontab, otherwise your permissions will be messed up again.
Thank you so much for answer and make follow about this case,
But since i upgrade my suitecrm…, when I open any module, and i hit next page button, (pagination) not works and throw me one foreach error… what could be happening?
I compared the code ( view.list.php ) with the old and functional suitecrm code… but is the same… how can i solve this problem? some idea?.. i know the parameter for some reason is… bad… but i don’t know the root of this issue…
I fixed it, i just applied a little code patch under that line…
//####### BLOCK CODE PATCH FOR PAGINATION#######
$jsonText = $_REQUEST['current_query_by_page'];
$decodedText = html_entity_decode($jsonText);
$myArray = json_decode($decodedText, true);
$current_query_by_page = sugar_unserialize(base64_decode($_REQUEST['current_query_by_page']));
//echo '<pre>'.var_dump($myArray).'</pre>';
$current_query_by_page = $myArray;
//####### END PATCH #######
I hope this help you too sometime!
I think that i finished my actualitation!
Thank you so much @pgr!
After fixing the permissions like you did, it’s a good idea to run a Quick Repair and Rebuild, just in case.
Then you can turn off those errors in your php.ini, look for an entry called
display_errors = Off
set it to Off, if it isn’t already.
It’s done, seems work fine now (all modules and process).
thank you so much! for all your help!!