OmerAslan Posted March 21, 2016 Report Posted March 21, 2016 Hello, I want to add simbrief module on my phpvms 5_5_x and all my files .php format but their module files .tpl format. So if i add those files to my folders would it work? or i have to make some changes? Thanks Quote
Moderators servetas Posted March 22, 2016 Moderators Report Posted March 22, 2016 Changes the file's extensions from .tpl to .php. I hope that it will work. Quote
OmerAslan Posted March 22, 2016 Author Report Posted March 22, 2016 no i did everything it says but didn't worked. Quote
web541 Posted March 22, 2016 Report Posted March 22, 2016 then go into core/modules/SimBrief/SimBrief.php and change this $this->render('SimBrief/SimBrief.tpl'); to this $this->render('SimBrief/SimBrief.php'); Quote
OmerAslan Posted March 23, 2016 Author Report Posted March 23, 2016 i did it and i see simbrief button on pilot brief page but when i press nothing happens. also when i try to start script with putty (./ name start) i get this ./simbrief.apiv1.js: line 1: /bin: is a directory ./simbrief.apiv1.js: line 2: acarsmap.js: command not found ./simbrief.apiv1.js: line 3: acarsmap.js: command not found ./simbrief.apiv1.js: line 4: acarsmap.js: command not found ./simbrief.apiv1.js: line 5: acarsmap.js: command not found ./simbrief.apiv1.js: line 6: acarsmap.js: command not found ./simbrief.apiv1.js: line 7: acarsmap.js: command not found ./simbrief.apiv1.js: line 7: without: command not found ./simbrief.apiv1.js: line 8: acarsmap.js: command not found ./simbrief.apiv1.js: line 9: acarsmap.js: command not found ./simbrief.apiv1.js: line 10: acarsmap.js: command not found ./simbrief.apiv1.js: line 12: acarsmap.js: command not found ./simbrief.apiv1.js: line 13: acarsmap.js: command not found ./simbrief.apiv1.js: line 14: acarsmap.js: command not found ./simbrief.apiv1.js: line 15: ckeditor/: is a directory ./simbrief.apiv1.js: line 18: /bin: is a directory ./simbrief.apiv1.js: line 19: acarsmap.js: command not found ./simbrief.apiv1.js: line 20: acarsmap.js: command not found ./simbrief.apiv1.js: line 21: ckeditor/: is a directory ./simbrief.apiv1.js: line 23: var: command not found ./simbrief.apiv1.js: line 23: //Ex.: No such file or directory ./simbrief.apiv1.js: line 27: /bin: is a directory ./simbrief.apiv1.js: line 28: acarsmap.js: command not found ./simbrief.apiv1.js: line 29: ckeditor/: is a directory ./simbrief.apiv1.js: line 31: var: command not found ./simbrief.apiv1.js: line 32: var: command not found ./simbrief.apiv1.js: line 33: var: command not found ./simbrief.apiv1.js: line 34: var: command not found ./simbrief.apiv1.js: line 35: var: command not found ./simbrief.apiv1.js: line 36: var: command not found ./simbrief.apiv1.js: line 37: var: command not found ./simbrief.apiv1.js: line 39: var: command not found ./simbrief.apiv1.js: line 41: var: command not found ./simbrief.apiv1.js: line 42: var: command not found ./simbrief.apiv1.js: line 43: var: command not found ./simbrief.apiv1.js: line 45: var: command not found ./simbrief.apiv1.js: line 46: var: command not found ./simbrief.apiv1.js: line 52: /bin: is a directory ./simbrief.apiv1.js: line 53: acarsmap.js: command not found ./simbrief.apiv1.js: line 54: acarsmap.js: command not found ./simbrief.apiv1.js: line 55: acarsmap.js: command not found ./simbrief.apiv1.js: line 56: acarsmap.js: command not found ./simbrief.apiv1.js: line 657: unexpected EOF while looking for matching `'' ./simbrief.apiv1.js: line 681: syntax error: unexpected end of file Quote
Members Vangelis Posted March 24, 2016 Members Report Posted March 24, 2016 Website address please ? Quote
OmerAslan Posted March 24, 2016 Author Report Posted March 24, 2016 Main page http://www.aalvirtual.com but phpvms works under subdomain http://a.aalvirtual.com Quote
OmerAslan Posted March 24, 2016 Author Report Posted March 24, 2016 Ok i fixed. i put subdomain and now working. It's awesome. Thank you all for the helps. Summary, change .tpl to .php format and change $this->render('SimBrief/SimBrief.tpl'); to $this->render('SimBrief/SimBrief.php'); in core/modules/SimBrief/SimBrief.php done. please close the topic. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.