Hello,
When I am clicking on any of contact, it shows blank screen and nothing else, I tried set owner and permissions as per instructions given in installation guide, but it is not helping.
Though my developement setup which is kept at /var/www/html/ is not replicating this issue.
Please suggest Solution it is [color=#ff0000]Urgent[/color] :sick:
Thanks in Advance.
This only happens in Contacts? Not any other module?
What does your logs say?
- suitecrm.log
- php error log (this is depending on your system).
Did you do any customisations i.e. in studio or a piece of code?
1 Like
Have you made a copy of your development setup to a different folder / computer?
Hello samus-aran,
Thanks for the reply
Yes , It is happening only in Contacts module,
Yes, I am having customization done with studio,
I investigated it by making display error on, and I came across following error message…
[color=#ff0000]Fatal error: Smarty error: [in cache/modules/Contacts/DetailView.tpl line 2173]: syntax error: unrecognized tag ‘Name’ (Smarty_Compiler.class.php, line 590) in /var/www/html/development/suiteCRM/include/Smarty/Smarty.class.php on line 1094[/color]
Then I investigated further and checked in [color=#0000ff]cache/modules/Contacts/DetailView.tpl[/color] at line 2173 and I found [color=#0000ff]my newly created custom field[/color] is the reason behind this error, so I checked [color=#0000ff]fields_meta_data[/color] table for this field and I found it is there but unable to find it in [color=#0000ff]cache/modules/Contacts/language/en_us.lang.php [/color]. So it has been concluded that en_us.lang.php file is not being written, though owner of the file is [color=#0000ff]www-data[/color] and permission is[color=#0000ff] -rw-rw---- . [/color]
now I am comming across few more issue caused by this. Like[color=#ff0000] I am unable to edit label for fields. [/color]
I have deleted the newly created field and now contacts are being displayed.[color=#ff0000] issue is in studio that I am unable to edit labels and on creating new fields this kind of stuffs are happening,[/color]
Please direct in order to resolve this issues
Thanks in Advance
Hello amariussi,
yes , it is in /var/ww/html and production is in /var/www/html/some_directory1/some_directory2
Permissions:
. recommended permissions of the cache folder are rwx rwx r-x
. you should set permissions correctly otherwise your instance will fail (if you are not 100% sure on how to do it yu may use a simple script that yu can find under my gitHub account.
Moving from one place to another
If you move or copy your instance from one place to another you have to edit a few things in config.php, config_override.php and .htaccess
then run a quick repair and rebuild.
If you omit any of these it is very likely that the instance will fail somewhere.
From one of my older posts:
When you move servers you have to perform at least the following things:
- Reset permissions, owner ond group (this depends on the system you are on)
- Edit config.php and update
host_name,
site_url
and other references to the old url or folders with the new ones
- Update the database information in config.php:
db_host_name,
db_user_name,
db_password,
db_name,
db_type
- Edit .htaccess and update the references to the old folder
- Login as Admin and perform a Quick Repair and Rebuild, possibly more than once
- Log out
- Reset permissions again
- Now you should be able to use it
Clear the browser cache too.
1 Like
Still Can not update labels of custom fields from studio, Any solution ?
Can you explain what you have tried to resolve the situation?
1 Like
Hello amariussi
I tried following things…
sudo chown -R www-data:www-data .
sudo chmod -R 755 .
sudo chmod -R 775 cache custom modules themes data upload config_override.php
than verified all files against given permissions and owner
I can also find changes in en_us.lang.php file, but unable to find them on studio front end, if I change label of a field it is just not getting changed.
Try the following:
Admin -> Repair -> Quick repair and rebuild
once finished make sure that you also execute suggested commands (if there are any they are at the bottom of the result screen, which may take some minutes)
Then reset again permissions and ownership
You may also do
Admin -> Repair -> all other repairs and rebuilds related to javascript and relationships
(each time one is completed I recommend that you reset permissions)
Once done exit the session and the log in again, then clear the browser cache.
One more thing:
development vs. production
How do you manage them? (eg yuo develop then copy the implementation to production or how to you carry from development to production?)
Have you followed my previous suggestions, with particular emphasis to needed modifications in config.php, config_override.php and .htaccess?