Can't switch back to Suite theme

I tried the new SuiteCRM theme and wanted to go back to Sugar classic. Now I can’t switch back to the Suite theme.

There’s also some odd and superfluous entries in the theme boxes as per the attachment.

Any ideas?

Hi there,

What is your Server/MySQL/PHP setup? What are your permissions set to? What version of SuiteCRM are you running?

Thanks,

Will.

Shared hosting with the following versions

Apache version 2.2.22
PHP version 5.3.10
MySQL version 5.1.73-cll

When I run chmod -R 777 I get some permission errors, likely due to the permission caching engine as discussed here. I can paste the output from the terminal if that helps?

Latest SuiteCRM on a development version. Upgraded from the latest version of sugar that originally began life around 5.5 or so…

Does this help?

Hi there,

Can you navigate to Admin -> Repair and run a Quick Repair & Rebuild? Can you also clear your cache and then try again.

Thanks,

Will.

Hi Will, no joy I’m afraid… latest FF on Ubuntu 12.04

Hi Will, this may be related and it’s a permissions thing.

I ran the command below in the terminal via the prompt for cron settings

cd /sugardev; php -f cron.php

And got the following errors…

PHP Warning:  file_get_contents(cache/themes/Sugar5/pathCache.php): failed to open stream: Permission denied in /sugardev/include/SugarTheme/SugarTheme.php on line 296

Warning: file_get_contents(cache/themes/Sugar5/pathCache.php): failed to open stream: Permission denied in /sugardev/include/SugarTheme/SugarTheme.php on line 296
PHP Fatal error:  sugar_file_put_contents_atomic() : fatal rename failure '/tmp/tempirqjgj' -> 'cache/modules/Employees/Employeevardefs.php' in /sugardev/include/utils/sugar_file_utils.php on line 187

Fatal error: sugar_file_put_contents_atomic() : fatal rename failure '/tmp/tempirqjgj' -> 'cache/modules/Employees/Employeevardefs.php' in /sugardev/include/utils/sugar_file_utils.php on line 187

Hi there,

Please set the following recommended permissions on your instance:

sudo chown -R www-data:www-data .

sudo chmod -R 755 .

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

Thanks,

Will.

Thank you Will…

One question, I’m assuming I need to run these on the root suite directory and recursively into all the other files and folders within it.

Have I got this right?

Hi Bruce,

Yep! Run it in the root directory of SuiteCRM.