Php 模块加载器中出错
我对SugarCRM很陌生。我从以下内容创建了一个模块:Php 模块加载器中出错,php,sugarcrm,Php,Sugarcrm,我对SugarCRM很陌生。我从以下内容创建了一个模块: ADMIN -> Developer Tools -> module builder 并创建了一个包,自动下载了包含manifiest.php的zip文件,转到模块加载器并上传了该文件,同时通过以下方式安装: Progress = 29% STOP!!! click in link "Display Log" **Message:** Installing Images Warning: dir(cache/upgra
ADMIN -> Developer Tools -> module builder
并创建了一个包,自动下载了包含manifiest.php的zip文件,转到模块加载器并上传了该文件,同时通过以下方式安装:
Progress = 29% STOP!!!
click in link "Display Log"
**Message:** Installing Images
Warning: dir(cache/upgrades/temp/191D.tmp/icons) [function.dir]: failed to open dir: No such file or directory in C:\wamp\www\Sugar\include\dir_inc.php on line 52
Failed to copy cache/upgrades/temp/191D.tmp/icons custom/themes
如何修复此错误
manifest.php
您需要为诸如chmod-R 755 floderto之类的文件夹授予适当的权限哪个文件夹?我应该给权限我像你说的那样试过了,但还是没变。卡在29%尝试给自定义/主题文件夹755个权限
<?php
$manifest = array (
0 =>
array (
'acceptable_sugar_versions' =>
array (
0 => '',
),
),
1 =>
array (
'acceptable_sugar_flavors' =>
array (
0 => 'CE',
1 => 'PRO',
2 => 'ENT',
),
),
),
'readme' => '',
'key' => 'sharm',
'author' => 'Admin',
'description' => 'testing module for adding custom module',
'icon' => '',
'is_uninstallable' => true,
'name' => 'sharma',
'published_date' => '2014-07-22 06:35:58',
'type' => 'module',
'version' => 1406010958,
'remove_tables' => 'prompt',
);
$installdefs = array(
'id' => 'sharma',
'beans' => array (),
'layoutdefs' => array (),
'relationships' => array (),
'image_dir' => '<basepath>/icons',
);