That’s what printed after command that you gave me:
ssh.sh216152@www53:/www/crm.toto-foto.pl$ ls -al
total 1940
drwxrwxr-x 23 sh216152 4000 4096 Sep 12 09:21 .
drwxr-xr-x 10 sh216152 4000 4096 Sep 5 12:26 ..
-rwxrwxr-x 1 sh216152 4000 1509 Sep 12 09:30 .htaccess
drwxrwxr-x 5 sh216152 4000 4096 Aug 28 11:10 Api
-rwxrwxr-x 1 sh216152 4000 3094 Aug 28 11:10 CODE_OF_CONDUCT.md
-rwxrwxr-x 1 sh216152 4000 2656 Aug 28 11:10 HandleAjaxCall.php
drwxr-x--- 18 sh216152 4000 4096 Sep 5 12:33 Joomla_3.9.11-Stable-Full_Package
-rwxrwxr-x 1 sh216152 4000 34539 Aug 28 11:10 LICENSE.txt
drwxrwxr-x 3 sh216152 4000 4096 Aug 28 11:42 ModuleInstall
-rwxrwxr-x 1 sh216152 4000 4275 Aug 28 11:10 README.md
-rwxrwxr-x 1 sh216152 4000 306 Aug 28 11:10 RoboFile.php
-rwxrwxr-x 1 sh216152 4000 5901 Aug 28 11:10 SugarSecurity.php
-rwxrwxr-x 1 sh216152 4000 6051 Aug 28 11:10 TreeData.php
drwxrwxr-x 2 sh216152 4000 4096 Aug 28 12:33 XTemplate
drwxrwxr-x 7 sh216152 4000 4096 Aug 28 12:33 Zend
drwxrwxr-x 16 sh216152 4000 4096 Sep 10 16:23 cache
-rwxrwxr-x 1 sh216152 4000 3477 Aug 28 11:10 campaign_tracker.php
-rwxrwxr-x 1 sh216152 4000 2904 Aug 28 11:10 composer.json
-rwxrwxr-x 1 sh216152 4000 260301 Aug 28 11:10 composer.lock
-rwxrwxr-x 1 sh216152 4000 12281 Sep 5 16:32 config.php
-rwxrwxr-x 1 sh216152 4000 1183 Sep 10 14:21 config_override.php
-rwxrwxr-x 1 sh216152 4000 5072 Aug 28 11:10 cron.php
-rwxrwxr-x 1 sh216152 4000 2290 Aug 28 11:10 crossdomain.xml
drwxrwxr-x 8 sh216152 4000 4096 Sep 5 14:16 custom
drwxrwxr-x 3 sh216152 4000 4096 Aug 28 11:12 data
-rwxrwxr-x 1 sh216152 4000 2240 Aug 28 11:10 dictionary.php
-rwxrwxr-x 1 sh216152 4000 12959 Aug 28 11:10 download.php
-rwxrwxr-x 1 sh216152 4000 2246 Aug 28 11:10 emailmandelivery.php
-rwxrwxr-x 1 sh216152 4000 4816 Aug 28 11:10 export.php
-rwxrwxr-x 1 sh216152 4000 1118524 Aug 28 11:10 files.md5
-rwxrwxr-x 1 sh216152 4000 2222 Aug 28 11:10 ical_server.php
drwxrwxr-x 57 sh216152 4000 4096 Aug 28 11:16 include
-rwxrwxr-x 1 sh216152 4000 2371 Aug 28 11:10 index.php
drwxrwxr-x 6 sh216152 4000 4096 Sep 10 16:10 install
-rwxrwxr-x 1 sh216152 4000 20883 Aug 31 08:47 install.log
-rwxrwxr-x 1 sh216152 4000 32360 Aug 28 11:10 install.php
-rwxrwxr-x 1 sh216152 4000 2275 Aug 28 11:10 json_server.php
drwxr-x--- 3 sh216152 4000 4096 Aug 28 11:38 jssource
drwxr-x--- 9 sh216152 4000 4096 Aug 28 11:41 lib
-rwxrwxr-x 1 sh216152 4000 2157 Aug 28 11:10 log_file_restricted.html
-rwxrwxr-x 1 sh216152 4000 2226 Aug 28 11:10 maintenance.php
drwxrwxr-x 2 sh216152 4000 4096 Aug 28 11:41 metadata
drwxrwxr-x 124 sh216152 4000 4096 Sep 3 16:29 modules
-rwxrwxr-x 1 sh216152 4000 2751 Aug 28 11:10 pdf.php
-rwxrwxr-x 1 sh216152 4000 69471 Sep 9 10:14 php7.1.ini
-rwxrwxr-x 1 sh216152 4000 69471 Sep 9 12:47 php7.2.ini
-rwxrwxr-x 1 sh216152 4000 306 Aug 28 11:10 php_version.php
drwxrwxr-x 2 sh216152 4000 4096 Sep 10 15:27 public
-rwxrwxr-x 1 sh216152 4000 73 Aug 28 11:10 robots.txt
-rwxrwxr-x 1 sh216152 4000 3458 Aug 28 11:10 run_job.php
drwxrwxr-x 12 sh216152 4000 4096 Aug 28 11:54 service
drwxrwxr-x 2 sh216152 4000 4096 Aug 28 11:54 soap
-rwxrwxr-x 1 sh216152 4000 4007 Aug 28 11:10 soap.php
-rwxrwxr-x 1 sh216152 4000 154 Aug 28 11:10 sugar_version.json
-rwxrwxr-x 1 sh216152 4000 2293 Aug 28 11:10 sugar_version.php
-rwxrwxr-x 1 sh216152 4000 94455 Sep 12 09:25 suitecrm.log
-rwxrwxr-x 1 sh216152 4000 165 Aug 28 11:10 suitecrm_version.php
drwxrwxr-x 4 sh216152 4000 4096 Aug 28 11:54 themes
drwxrwxr-x 3 sh216152 4000 4096 Sep 3 16:29 upgrade
drwxrwxr-x 4 sh216152 4000 4096 Sep 9 15:05 upload
-rwxrwxr-x 1 sh216152 4000 2686 Aug 28 11:10 vCard.php
-rwxrwxr-x 1 sh216152 4000 2248 Aug 28 11:10 vcal_server.php
drwxrwxr-x 35 sh216152 4000 4096 Aug 28 12:01 vendor
PGR I appreciate your help, but I was looking around this forum and every topic with similar problem was “permission problems”.
Please tell me which folders should have which permission settings.
For now you told me to:
Change everything to 775 - works and I did not have any “Undefined” but risk to the security.
Change everything to 750 and folders like - cache custom modules themes data upload to 770 along with config_override.php file.
- Crm was not working after that commend and I could not open anything
I had changed main folder back to 775 and it started to work again but with no css and probably half of other functions.
Why there are permission problems on the fresh install ? what permission settings there suppose to be ?
Suitecrm.log:
Mon Sep 9 16:07:00 2019 [25745][1][FATAL] IP Address mismatch: SESSION IP: 37.47.96.40 CLIENT IP: 165.225.84.148
Tue Sep 10 14:17:34 2019 [27422][1][FATAL] Chart class not found.
Tue Sep 10 14:17:36 2019 [27422][1][FATAL] Chart class not found.
Tue Sep 10 14:20:32 2019 [27422][1][FATAL] IP Address mismatch: SESSION IP: 165.225.84.148 CLIENT IP: 46.134.38.3
Tue Sep 10 14:20:53 2019 [27422][1][FATAL] A user (1) attempted to use an invalid file for the logo - upload://tmp_logo_company_upload/FireShot_Capture_116_-_zapytanie_ofertowe_zdj%C4%99cia_reklamowe_-_toto.fotografia.studio%40gmail.c__-_mail.google.jpg
Tue Sep 10 14:45:04 2019 [1871][1][FATAL] Chart class not found.
Tue Sep 10 14:45:05 2019 [1871][1][FATAL] Chart class not found.
Tue Sep 10 14:47:13 2019 [1871][1][FATAL] IP Address mismatch: SESSION IP: 46.134.38.3 CLIENT IP: 165.225.84.148
Tue Sep 10 15:16:45 2019 [8164][1][FATAL] SugarPHPMailer encountered an error: Invalid address: (to):
Tue Sep 10 15:16:52 2019 [8164][1][FATAL] Chart class not found.
Tue Sep 10 15:16:54 2019 [8164][1][FATAL] Chart class not found.
Tue Sep 10 16:11:59 2019 [26530][1][FATAL] Chart class not found.
Tue Sep 10 16:12:01 2019 [26530][1][FATAL] Chart class not found.
Tue Sep 10 16:35:17 2019 [3162][1][FATAL] IP Address mismatch: SESSION IP: 165.225.84.148 CLIENT IP: 46.134.38.3
Thu Sep 12 09:25:46 2019 [20320][1][FATAL] Chart class not found.
I don’t have php_error.log file and I had created addition line of code to php.ini but log was not created.