Hi all,
I've created a new custom module.
It works on my Sugar 5.2.0k application.
So I tried to make an auto-installable archive.
Unfortunatelly, installation stopped to 71% and gives me this error :
In fact, the module loader seems to create a folder named "en_us.C1G0_Recherche.php" instead of creating a file in "custom/Extension/modules/CIGO_Recherche/Ext/Language"...PHP Code:Warning: dir(D:_Serveurwwwsugarlabocacheuploadupgradestemp40.tmp/language/C1G0_Recherche/en_us.C1G0_Recherche.php) [function.dir]: failed to open dir: No error in D:_Serveurwwwsugarlaboincludedir_inc.php on line 56
Fatal error: Call to a member function read() on a non-object in D:_Serveurwwwsugarlaboincludedir_inc.php on line 57
Why ?
Here is my manifest.php :
Regards,PHP Code:<?php
$manifest = array(
'acceptable_sugar_versions' => array(
'regex_matches' => array(
0 => "4.5.*",
1 => "5.2.*",
)
),
'acceptable_sugar_flavors' => array(
0 => 'CE',
1 => 'PRO',
2 => 'ENT',
),
'name' => 'My name',
'description' => 'My description',
'author' => 'Log',
'published_date' => '2010-06-21',
'version' => '0.1',
'type' => 'module',
'icon' => '',
'is_uninstallable' => true
);
$installdefs = array(
'id' => 'C1G0_Recherche',
'copy' => array(
array(
'from' => '<basepath>/modules/C1G0_Recherche',
'to' => 'custom/modules/C1G0_Recherche',
),
array(
'from' => '<basepath>/modules/Administration',
'to' => 'custom/modules/Administration',
)
),
'language' => array(
// English
array(
'from' => '<basepath>/language/C1G0_Recherche/en_us.C1G0_Recherche.php',
'to_module' => 'C1G0_Recherche',
'language' => 'en_us',
),
array(
'from' => '<basepath>/language/Administration/en_us.C1G0_Recherche.php',
'to_module' => 'Administration',
'language' => 'en_us',
),
// French
array(
'from' => '<basepath>/language/C1G0_Recherche/fr_FR.C1G0_Recherche.php',
'to_module' => 'C1G0_Recherche',
'language' => 'fr_FR',
),
array(
'from' => '<basepath>/language/Administration/fr_FR.C1G0_Recherche.php',
'to_module' => 'Administration',
'language' => 'fr_FR',
),
),
// Administration section
'administration' => array(
array(
'from' => '<basepath>/Administration/CigoAdminTools.php',
),
),
);


LinkBack URL
About LinkBacks




Reply With Quote
Bookmarks