Hi All
i just have created custom hello world module. but getting some error and not able to install.
here is my code please check it out my attachments.
Hi All
i just have created custom hello world module. but getting some error and not able to install.
here is my code please check it out my attachments.
Could you please describe what kind of error you get?
I'll have a look at your source files. Here the first one:
\SugarModules\language\application\app_strings.php
=> contains duplicate entry "$app_list_strings['moduleList']['hw_helloworld'] = 'HelloWorld';"
=> no end tag "?>"
Stefan Ulrich Sauer
System Analyst
Devoteam Danet GmbH
Gutenbergstraße 10
D-64331 Weiterstadt
Germany
email: Stefan-Ulrich.Sauer@devoteam.com
http://www.devoteam.de
SugarModules\modules\hw_helloworld\metadata\dashle tviewdefs.php
=> no end tag "?>"
Stefan Ulrich Sauer
System Analyst
Devoteam Danet GmbH
Gutenbergstraße 10
D-64331 Weiterstadt
Germany
email: Stefan-Ulrich.Sauer@devoteam.com
http://www.devoteam.de
another missing end tag "?>" in manifest.php (but this is just the same in modules created with module builder).
The missing tags are not the cause of this problems.
I've tried to import the zip-file into my 6.0.1 CE installation (both: barkamleshs version and another with added tags) [@barkamlesh: which sugar version do you use?]. The reaction is always the same: I get a white page (only the header remains) and the logfile contains the following messages:
11/04/10 10:13:30 [2824][1][FATAL] HTTP Error: no data present after HTTP headers
11/04/10 10:13:30 [2824][1][FATAL] HTTP/1.1 100 Continue
HTTP/1.1 500 Internal Server Error
Server: nginx
Date: Thu, 04 Nov 2010 09:13:30 GMT
Content-Type: text/html
Connection: keep-alive
Set-Cookie: PHPSESSID=ub91gcpj2cuao820j4e0hitl05; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
X-Application-Server: 10.13.10.128
Content-Length: 0
11/04/10 10:13:32 [2824][1][FATAL] HTTP Error: no data present after HTTP headers
11/04/10 10:13:32 [2824][1][FATAL] HTTP/1.1 100 Continue
HTTP/1.1 500 Internal Server Error
Server: nginx
Date: Thu, 04 Nov 2010 09:13:32 GMT
Content-Type: text/html
Connection: keep-alive
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
X-Application-Server: 10.13.10.128
Content-Length: 0
11/04/10 10:13:33 [2824][1][FATAL] HTTP Error: no data present after HTTP headers
11/04/10 10:13:33 [2824][1][FATAL] HTTP/1.1 500 Internal Server Error
Server: nginx
Date: Thu, 04 Nov 2010 09:13:33 GMT
Content-Type: text/html
Connection: keep-alive
Set-Cookie: PHPSESSID=; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
X-Application-Server: 10.13.10.128
Content-Length: 0
Stefan Ulrich Sauer
System Analyst
Devoteam Danet GmbH
Gutenbergstraße 10
D-64331 Weiterstadt
Germany
email: Stefan-Ulrich.Sauer@devoteam.com
http://www.devoteam.de
OK, it works now (upload and installation without problems, menu is visible). I can't say if it works as it should. Attached you find a small screen shot of what it looks like in my installation. The second attachment is the module including my fixes.
I did the following changes additional to the mentioned in the other posts:
1) rename app_string.php to en_us.lang.php (alternatively change line 33 in manifest.php)
2) manifest.php: line 33 needs ',' at the end
3) hw_helloworld_sugar.php needs additional line before defining the class hw_helloworld_sugar:
require_once('include/SugarObjects/templates/basic/Basic.php');
Stefan Ulrich Sauer
System Analyst
Devoteam Danet GmbH
Gutenbergstraße 10
D-64331 Weiterstadt
Germany
email: Stefan-Ulrich.Sauer@devoteam.com
http://www.devoteam.de
hi Stefan
it's working fine.. thanks a lot.
it's just for testing i have created. not for any special purpose.
thanks and regards
Kamlesh Bar
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks