Please help me get out of this. I am trying to add a filed for class. and following the manual installed toolkit and downloaded the empty module, extract it and put into extension folder. Then go to setup page trying to install this empty module. but it is report error as title described. Seems like composer did not auto create vendors folder and created autoload.php file?
Hello,
Not sure to understand ? You generated a module boilerplate using the generator, and directly deployed it ? How did you do it ? What was the exact error ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thanks Pierre, I had figured out what's is missing in my environment. I just only copied the generated xml file into modules folder,but missing copy vendors folder there. actually from the official manual that is not state need copy whole files there. anyway, thanks for asking. I guess it's on stupid yanfeng. :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear,
Please help me get out of this. I am trying to add a filed for class. and following the manual installed toolkit and downloaded the empty module, extract it and put into extension folder. Then go to setup page trying to install this empty module. but it is report error as title described. Seems like composer did not auto create vendors folder and created autoload.php file?
Environment:
itop 3.0.2-1-9957
OS: Centos 7.9
DB: MariaDB-server-10.3.38-
update:that manual in official website is not correct , need also put in vendor folder into extension. atfer that it's working fine.
Hello,
Not sure to understand ? You generated a module boilerplate using the generator, and directly deployed it ? How did you do it ? What was the exact error ?
thanks Pierre, I had figured out what's is missing in my environment. I just only copied the generated xml file into modules folder,but missing copy vendors folder there. actually from the official manual that is not state need copy whole files there. anyway, thanks for asking. I guess it's on stupid yanfeng. :)
Ok
You extension module should be contained in a folder, and this folder should be copied in the /extensions directory.
So, for example :
As a reference : iTop Customization [iTop Documentation]