Add New Module / Install Plugin

Laraship QuestionsCategory: TechnicalAdd New Module / Install Plugin
tsalivesignals asked 6 years ago
Hi, Am having trouble with adding and installing a new module. I have Laraship Subs and Form Builder. The modal in the backend asks for Module Code and Module License Key. The license key is easy as that's on the order page but what is the Module Code ? Tried simply the name of the module eg 'Drag & Drop Form Builder' but no joy. What needs to be done to install this ? Thanks, Steve
4 Answers
laraship Staff answered 6 years ago

Hello,

Thanks for contacting us, the module code can be found by different ways:

1) Using downloaded package you can locate the file called module.json and get the code from

2) Under our demos, you can go to the modules section and find the codes for modules you're looking for.

In your case module code is corals-form-builder, we highly recommend to use command line manager as you will need to run composer update after installing the module

tsalivesignals replied 6 years ago

Hi,

Yes I worked out getting the codes from demo but you should really include it next to module on order form and in documentation.

So what is the point of the ‘Add New Module’ functionality ? In my case (after I found the code) it still failed. This is one of the product features so please explain to me as this was one of the reasons why I bought the platform.

Thanks,
Steve

laraship Staff replied 6 years ago

Hello,

Please send us the error you’re getting

tsalivesignals replied 6 years ago

Hi, Error is:

×couldn’t check updates: License not found

Yet I am using Product Code of ‘corals-form-builder’ and key from order page.

What do you think the issue is ?

Thanks,
Steve

P.S. This is from the Activity module:

Attributes
Action downloadnew
Object Corals\Settings\Models\Module
Message couldn’t check updates: License not found.

laraship Staff answered 6 years ago

Our Logs shows that you havent added Platform license key inside .env file

tsalivesignals replied 6 years ago

Ok. Can you point me in the direction of the docs for this ?? Also to avoid problems in future for other users, a more specific error message (relating to this cause) would be advised.

laraship Staff answered 6 years ago

Hello,

The Error is pretty clear, your license was not found,

https://www.laraship.com/docs/laraship/update-laraship/

and its the first point that is mentioned that you need to add your license key to the .env file, even you asked us before license !

tsalivesignals replied 6 years ago

Ahh well you have to understand that this was after trying to initiate the licence key for a plugin and NOT the platform. Therefore it is reasonable (after having just typed in a plugin license code and receiving a licence cannot be found error) that the error relates to the plugin and not the platform !

Think about it !

Steve

laraship Staff replied 6 years ago

For Laraship You cannot install plugins or update them remotely of the Platform license is not valid or expired, the license code of the plugin to validate the purchase however plugins will be attached to the platform license too.

tsalivesignals replied 6 years ago

Ok so in the .env file, what is the key supposed to be to enter the licence code ? In other words, what is the line:

xxx=licence_key

What does xxx need to be in the .env file ?

Thanks,
Steve

laraship Staff answered 6 years ago

https://www.laraship.com/docs/laraship/update-laraship/remote-updates-configuration/

the variable is already at .env file

LICENSE_KEY=????-????-????...

tsalivesignals replied 6 years ago

All I have is .env.example, so renamed that and there was NOT this key in the file btw

Steve

tsalivesignals replied 6 years ago

So now I get the follwing error when I try to install form builder:

cURL error 51: SSL: no alternative certificate subject name matches target host name ‘updater.laraship.com’ (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

Please advise. Thanks,
Steve

laraship Staff replied 6 years ago

Hello.

Please check our question center before posting issues.

Thanks