#2605 - won't install on SugarCRM Pro 7.7.1.1
when i try to upload the file, SUGAR_SYNOFIELDMASK_7.2.0-to-7.7_20160708.zip, when i press upload i get a blank page with just the header and footer from sugar and white in the middle. this is an onsite deployment.
Jim 804-553-1130
8 years ago
Hello Jim,
By your description it seems to be a fatal error on the server side. Can you please look in the apache / php error log files as well as in the sugarcrm.log at the root of the Sugar folder for more details about the error. If you require further assistance with these errors, you send us a copy of the log files at sugaroutfitters@synolia.com as well as the details of the installation date and hour.
Kind regards, Synolia Support
8 years ago
the php error log is free. this is what i have in the sugar error log [2669][1][FATAL] Exception in Controller: exception 'RuntimeException' with message 'File name violation: file outside basedir' in /var/www/clients/client0/we b1/web/src/Util/Files/FileLoader.php:64 Stack trace:
0 /var/www/clients/client0/web1/web/ModuleInstall/ModuleScanner.php(862): Sugarcrm\Sugarcrm\Util\Files\FileLoader::validateFilePath('/tmp/QzDa7k/man...', true)
1 /var/www/clients/client0/web1/web/modules/Administration/UpgradeWizard.php(132): MSLoadManifest('/tmp/QzDa7k/man...')
2 /var/www/clients/client0/web1/web/include/MVC/View/SugarView.php(526): require_once('/var/www/client...')
3 /var/www/clients/client0/web1/web/include/MVC/View/views/view.classic.php(45): SugarView->includeClassicFile('modules/Adminis...')
4 /var/www/clients/client0/web1/web/include/MVC/View/SugarView.php(160): ViewClassic->display(Array)
5 /var/www/clients/client0/web1/web/include/MVC/Controller/SugarController.php(362): SugarView->process(Array)
6 /var/www/clients/client0/web1/web/include/MVC/Controller/SugarController.php(310): SugarController->processView()
7 /var/www/clients/client0/web1/web/include/MVC/SugarApplication.php(185): SugarController->execute()
8 /var/www/clients/client0/web1/web/index.php(27): SugarApplication->execute()
9
the path is showing /tmp/QzDa7k which i have tried to get changed by changing the php ini upload_tmp_dir to be the /SUGARPATH/upload/tmp both /tmp and /SUGARPATH are in the open_basedir path.
i have verified by with phpinfo()
8 years ago
Hello Jim,
Can you verify the path specified in the config.php file for "upload_dir"? It should be 'upload/' and you will probably have to add the whole "upload" dir to the open_basedir path rather than just the "tmp" folder.
Kind regards, Synolia Support
8 years ago
i have verified that and added the entire path to the open_basedir i verified the settings took with a phpinfo() i get the same error.
is there a way to install this manually?
8 years ago
Hello Jim,
We highly recommend you to find and solve the configuration issue that you are encountering. It may have other consequences on Sugar running properly.
That being said, you can install the module without using the "Module Loader", but, this way, you will be unable to uninstall it afterwards.
Steps to install without "Module Loader" :
Hope this helps you install the module.
Kind regards, Synolia Support