Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Can't creating modules, even with Next-SDK

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 12-07-2014, 09:00 PM
 
shaz shaz is offline
 

Senior Member
  
Join Date: Jul 2008
Location: Sydney, Australia
Posts: 174
 

Default Can't creating modules, even with Next-SDK

Hi Again,
After manually creating some modules I found they do not appear when I rebuild and check the Installed Modules page.

So next I've installed Next-SDK and get the error below when I run it from the domain URL....

Error: Server API must be CLI!

So then.... I've tried to do it using Putty now and am having no luck their either Are there any comprehensive instructions on this?

Tad frustrated and on a too tight a timeline to keep figuring everything out... I've never had to ask so many questions!

While the knowledge base is getting completed, your assistance here is super appreciated. Thanks!
__________________
Shaz
X-Cart Developer
Sydney - Australia
Reply With Quote
  #2  
Old 12-07-2014, 09:19 PM
 
shaz shaz is offline
 

Senior Member
  
Join Date: Jul 2008
Location: Sydney, Australia
Posts: 174
 

Default Re: Can't creating modules, even with Next-SDK

Ah sorted!! I was executing it in Putty from the wrong place.

(note: my /next-sdk folder is located in my public_html)

For others:
1.Log into putty as root
2. navigate to the public html folder (command shows root@skc [home/yourpath/public_html] #)
3. Type in the following to execute ./next-sdk/devkit/macros/create-module.php --module=MyName\\SidebarMenu

and it worked! yay!
__________________
Shaz
X-Cart Developer
Sydney - Australia
Reply With Quote

The following user thanks shaz for this useful post:
tony_sologubov (12-09-2014)
  #3  
Old 12-08-2014, 03:47 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Can't creating modules, even with Next-SDK

Glad you got it sorted out. I have a tutorial on creating a custom skin/ module on my site: http://xcartguru.com/tutorials/x-cart-5-tutorials/building-a-custom-skin-in-x-cart-5/

It may help you.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote

The following user thanks totaltec for this useful post:
shaz (12-08-2014)
  #4  
Old 12-08-2014, 03:42 PM
 
shaz shaz is offline
 

Senior Member
  
Join Date: Jul 2008
Location: Sydney, Australia
Posts: 174
 

Default Re: Can't creating modules, even with Next-SDK

Thanks Mike! Between your tutorial and Tony's I'm pretty much cooking with gas
__________________
Shaz
X-Cart Developer
Sydney - Australia
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:56 PM.

   

 
X-Cart forums © 2001-2020