3 problems wit fresh install

Hi, i got SuiteCRM 7.9.7 the newes i downloaded resently from this website.

And i found 3 problems… that i hope you can help me fix

  1. Images in contact are not uploading.
  2. When you press edit on modules in main page - there is an error.
  3. How can you change HTML in table in main page? i want to make those 2 columns 70% to 30%, and i see that i can change they class from class=“dashletcontainer col-50” to class=“dashletcontainer col-70” and it will worl. But where can i do it?

i added img that show all of this. Pls help!

I won’t start with the 70%-30% issue, let’s first try to make sure your installation is correctly configured and running without problems.

Did you set date.timezone in your php.ini? And memory:_limit?

The image upload problem is normally caused by wrong permissions on the upload directory. Did you set correct ownerships/permissions?

This is my php.ini :

allow_url_fopen = On
allow_url_include = On
display_errors = On
enable_dl = On
file_uploads = On
max_execution_time = 90
max_input_time = 60
max_input_vars = 1000
memory_limit = 128M
post_max_size = 8M
session.gc_maxlifetime = 1440
session.save_path = “/public_html/CRM/”
upload_max_filesize = 200M
zlib.output_compression = Off

About the permissions- folders are 755, files 644

Make that memory_limit 512MB if you can, or at least 256MB.

Then follow the official specs for permissions, if possible:


    sudo chown -R www-data:www-data .
    sudo chmod -R 755 .
    sudo chmod -R 775 cache custom modules themes data upload config_override.php

Note that ownership is essential for this to work. Change “www-data” to whatever is your web server user. But remember Linux permissions like 644 or 755 don’t really mean anything without ownership, and without confronting that with the actual user trying to access the files (in this case, it should be your web server’s user).

Oh, and add a date.timezone entry to php.ini, that’s mandatory!

I added date.timezone and made that memory_limit 512MB

But how do i use that -
sudo chown -R www-data:www-data .
sudo chmod -R 755 .
sudo chmod -R 775 cache custom modules themes data upload config_override.php

? Where do i write it?

I don’t know, you didn’t tell us your OS version, or if this Shared Hosting, or if you have SSH access or not…

It is shared hosting with Cpanel

Suite - 7.9.7
Sugar 6.5.25 (344)

I changed permission on this folders like you writed here

sudo chmod -R 755 .
sudo chmod -R 775 cache custom modules themes data upload config_override.php

unfortunatelly , nothing changes, the problems are still here. I cleaned my browser cashe and tested it

So, you do have SSH access? If so, I would appreciate seeing the results of

ls -al

give that command in the root directory of your SuiteCRM installation. This is because I need to see which user owns the files, otherwise the two chmod’s won’t work. You can’t just drop the “chown” command. If you tried it and it didn’t work, which user did you put in place of www-data?

how do i “give command” ? is there any guide i can see/find?

You said you set permissions with the two chmod commands, so I assumed you had an SSH command-line (that’s where you can give the other command).

But if you don’t, and you just set the permissions via CPanel or something, basically what I’m looking for is a way to check which user owns the files in your SuiteCRM root directory, and what permissions are actually set there (to ensure the commands were effective).

Maybe you can provide a screenshot of the root directory. But make sure it includes owners (a user name like www-data, or apache, or your CPanel username, or root, etc.)

i make it with ftp :slight_smile:
i also writed to my host about ls -al - and they will do it

file permissions are 775 - i cheked it via ftp

my server info
Hosting Package Standart
Server Name psycho
cPanel Version 68.0 (build 19)
Apache Version 2.4.29
PHP Version 5.6.32
MySQL Version 5.6.38
Architecture x86_64
Operating System linux
Path to Sendmail /usr/sbin/sendmail
Path to Perl /usr/bin/perl
Perl Version 5.10.1
Kernel Version 2.6.32-696.10.3.el6.x86_64

this is CentOS server that use Suphp apache module and the owner of files is my Cpanel accaunt
root@psycho# pwd
/home/j2consul/public_html/CRM
root@psycho# ls -la
total 1576
drwxr-x— 18 j2consul nobody 4096 Dec 1 00:00 ./
drwxr-x— 16 j2consul nobody 4096 Nov 27 16:21 …/
drwxrwxr-x 16 j2consul j2consul 4096 Nov 27 22:26 cache/
-rw-r–r-- 1 j2consul j2consul 3590 Nov 30 20:19 campaign_tracker.php
-rw-r–r-- 1 j2consul j2consul 3094 Nov 30 20:19 CODE_OF_CONDUCT.md
-rw-r–r-- 1 j2consul j2consul 462 Nov 30 20:19 composer.json
-rw-r–r-- 1 j2consul j2consul 17908 Nov 30 20:19 composer.lock
-rwxrwxr-x 1 j2consul j2consul 2270 Nov 29 02:06 config_override.php*
-rw-r–r-- 1 j2consul j2consul 11070 Nov 30 03:56 config.php
-rw-r–r-- 1 j2consul j2consul 5052 Nov 30 20:19 cron.php
-rw-r–r-- 1 j2consul j2consul 2446 Nov 30 20:19 crossdomain.xml
drwxrwxr-x 10 j2consul j2consul 4096 Nov 28 04:59 custom/
drwxrwxr-x 3 j2consul j2consul 4096 Nov 27 17:11 data/
-rw-r–r-- 1 j2consul j2consul 2388 Nov 30 20:19 dictionary.php
-rw-r–r-- 1 j2consul j2consul 12541 Nov 30 20:19 download.php
-rw-r–r-- 1 j2consul j2consul 2392 Nov 30 20:19 emailmandelivery.php
-rw-r–r-- 1 j2consul j2consul 95163 Dec 1 17:45 error_log
-rw-r–r-- 1 j2consul j2consul 4912 Nov 30 20:19 export.php
-rw-r–r-- 1 j2consul j2consul 967627 Nov 30 20:19 files.md5
-rw-r–r-- 1 j2consul j2consul 2811 Nov 30 20:19 HandleAjaxCall.php
-rw-r–r-- 1 j2consul j2consul 2743 Nov 30 03:57 .htaccess
-rw-r–r-- 1 j2consul j2consul 2367 Nov 30 20:19 ical_server.php
drwxr-xr-x 58 j2consul j2consul 4096 Nov 27 17:12 include/
-rw-r–r-- 1 j2consul j2consul 2374 Nov 30 20:19 index.php
drwxr-xr-x 6 j2consul j2consul 4096 Nov 30 03:56 install/
-rw-r–r-- 1 j2consul j2consul 18198 Nov 27 20:27 install.log
-rw-r–r-- 1 j2consul j2consul 31896 Nov 27 17:06 install.php
-rw-r–r-- 1 j2consul j2consul 2275 Nov 30 20:19 json_server.php
drwxr-xr-x 3 j2consul j2consul 4096 Nov 27 17:15 jssource/
-rw-r–r-- 1 j2consul j2consul 34539 Nov 30 20:19 LICENSE.txt
-rw-r–r-- 1 j2consul j2consul 2313 Nov 30 20:19 log_file_restricted.html
-rw-r–r-- 1 j2consul j2consul 2376 Nov 30 20:19 maintenance.php
-rw-r–r-- 1 j2consul j2consul 893 Nov 27 21:00 manifest.php
drwxr-xr-x 2 j2consul j2consul 4096 Nov 27 17:16 metadata/
drwxr-xr-x 3 j2consul j2consul 4096 Nov 27 17:06 ModuleInstall/
drwxrwxr-x 113 j2consul j2consul 4096 Nov 27 21:00 modules/
-rw-r–r-- 1 j2consul j2consul 2890 Nov 30 20:19 pdf.php
-rw-r–r-- 1 j2consul j2consul 669 Dec 1 15:31 php.ini
-rw-r–r-- 1 j2consul j2consul 304 Nov 30 20:19 php_version.php
-rw-r–r-- 1 j2consul j2consul 3735 Nov 30 20:19 README.md
-rw-r–r-- 1 j2consul j2consul 73 Nov 30 20:19 robots.txt
-rw-r–r-- 1 j2consul j2consul 3588 Nov 30 20:19 run_job.php
drwxr-xr-x 12 j2consul j2consul 4096 Nov 27 17:10 service/
drwxr-xr-x 2 j2consul j2consul 4096 Nov 27 17:10 soap/
-rw-r–r-- 1 j2consul j2consul 4091 Nov 30 20:19 soap.php
-rw-r–r-- 1 j2consul j2consul 126410 Nov 27 20:27 sugarcrm.log
-rw-r–r-- 1 j2consul j2consul 5327 Nov 30 20:19 SugarSecurity.php
-rw-r–r-- 1 j2consul j2consul 154 Nov 30 20:19 sugar_version.json
-rw-r–r-- 1 j2consul j2consul 2296 Nov 30 20:19 sugar_version.php
-rw-r–r-- 1 j2consul j2consul 37020 Nov 29 20:15 suitecrm_11_2017.log
-rw-r–r-- 1 j2consul j2consul 2318 Dec 1 17:45 suitecrm_12_2017.log
-rw-r–r-- 1 j2consul j2consul 0 Nov 27 20:27 suitecrm.log
-rw-r–r-- 1 j2consul j2consul 169 Nov 30 20:19 suitecrm_version.php
drwxrwxr-x 6 j2consul j2consul 4096 Nov 27 17:10 themes/
-rw-r–r-- 1 j2consul j2consul 5843 Nov 30 20:19 TreeData.php
drwxr-xr-x 3 j2consul j2consul 4096 Nov 27 21:00 upgrade/
-rw-r–r-- 1 j2consul j2consul 2307 Nov 28 02:23 upgradeWizard.log
drwxrwxr-x 4 j2consul j2consul 4096 Nov 30 03:56 upload/
-rw-r–r-- 1 j2consul j2consul 584 Nov 28 02:40 .user.ini
-rw-r–r-- 1 j2consul j2consul 2248 Nov 30 20:19 vcal_server.php
-rw-r–r-- 1 j2consul j2consul 2980 Nov 30 20:19 vCard.php
drwxr-xr-x 2 j2consul j2consul 4096 Nov 27 17:11 XTemplate/
drwxr-xr-x 8 j2consul j2consul 4096 Nov 27 17:11 Zend/

If that output came from a console that you have access to, just type these three commands in that SuiteCRM root directory:


    chown -R j2consul:j2consul .
    chmod -R 755 .
    chmod -R 775 cache custom modules themes data upload config_override.php

Then do a Quick Repair and Rebuild.

If it’s not a console you can access, maybe ask your hosting to do it.

Anyway, if you already did that, or if the problems persist, please check your logs for any ERROR or FATAL messages, especially at the time of the bugs/blank screens.

Tnks! I did it all. Unfortunately nothing changes.
I get those errors when try to add 113kb pic

Sun Dec 3 00:14:55 2017 [452][1][FATAL] ERROR: uploaded file was too big: max filesize: 30000
Sun Dec 3 00:14:55 2017 [452][1][ERROR] Invalid Referrer: expected the Save action to be called from the User’s Profile Edit View
Sun Dec 3 00:14:55 2017 [452][1][ERROR] Email address save error

and still got
“error
There was an error handling this request.” - when try to edit in main page - My meetings. - log dont show anything about that one.

I will try to reinstall it, or i dont know… i will install SuiteCRM 7.8.8 LTS , and forget about SuiteCRM 7.9.7 i have now. Maybe that will work.

Perhaps you can at least tell me about 70- 30% colums?

Sorry, the 70-30 is not something I know how to help…

The picture of the user, needs to be under 30k, which is more than enough. Just try a smaller file and it should work.

That error in the Save action, where exactly do you go to get that error? It’s highly unusual.

Maybe you can try reproducing your problems in an online demo:

https://www.softaculous.com/demos/SuiteCRM

That way you can check if these are bugs for everyone, or just problems in your system.

well new instalation of stable version + help from hosting support - helped me , so now i have working version :slight_smile:
Only 70 -30 remain :slight_smile:

I have no clue were can i change template of main page :slight_smile: but still im happy at least to have working crm

tnks fot your help too! i appretiate that you took your time to write to me and to try to help me fix this :slight_smile:

also i found and answer to 70-30 :slight_smile:
all dashlets have unique id - so i added #dashlet_81747e66-3735-fe5d-a275-5a2343212a54{width: 650px;} in css file in template css and cashe css - and it worked fine :)-