Post by avatecpl » Fri Feb 01, 2019 11:12 pm

Hi everyone,

Can someone help me - what I doing wrong. I prepare extension, with upload folder with files and install.xml inside it. I pack it to zip and named my extension.ocmod.zip. Then when I try to install it, it shows on list, but files isn't copy to its destination folders - I need to copy it manually. I've try to add <xml on top of xml file, but it isn't work. This xml is modified copy of another extension, that installs perfectly.

Here You can check it out:
https://www.opencart.com/index.php?rout ... n_id=34513

Please help me someone

Newbie

Posts

Joined
Fri Feb 01, 2019 11:06 pm

Post by xxvirusxx » Fri Feb 01, 2019 11:53 pm

Is wrong made ocmod...

If you use like this in controller....poczta_polska then you name files need to be like this: poczta_polska.php, .twig...etc... and not pocztapolska.php

And language file is still PL :)

Attachments


My Extensions | OC 3.0.3.1, 3.0.2.0, 2.3.0.2 with bugs fixed.


Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm

Post by avatecpl » Sat Feb 02, 2019 8:00 pm

Thank You a lot - it is strange, but I have that way in the first place and didn't work - maybe there was a invalid letter somewhere. Thank You again !

Edit: I was change like this in my second extension - but it still doesn't work. It is possible, that this problem is by using Mac OS and zip using Mac OS packer ?
i have admin/controller/extension/shipping/my_extension.php and inside this controller, i load files shipping/my_extension (before there was without _)

I will try to zip in on windows

Edit2: ... zip on windows doesn't matter. I'm afraid, that I do not understand that :-(

Newbie

Posts

Joined
Fri Feb 01, 2019 11:06 pm

Post by OSWorX » Sat Feb 02, 2019 9:03 pm

Quite funny, you are developing an extension and do not how to do ...
Strange ..

Anyway, post here the structure of your extension and a sample code how you call the controller(s) inside.

Forum Rules [en]: viewtopic.php?f=176&t=200480
Forumregeln [de]: viewtopic.php?f=37&t=114208
Commercial Request: viewforum.php?f=88

Image


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by xxvirusxx » Sat Feb 02, 2019 9:07 pm

You can zip on windows, linux, mac...etc....with many software if you know how...
See the image. Maybe now you understand how to zip

Attachments

Screenshot_2019-02-02_15-05-38.png

Screenshot_2019-02-02_15-05-38.png (6.9 KiB) Viewed 234 times

Last edited by xxvirusxx on Sun Feb 03, 2019 3:17 am, edited 2 times in total.

My Extensions | OC 3.0.3.1, 3.0.2.0, 2.3.0.2 with bugs fixed.


Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm

Post by avatecpl » Sat Feb 02, 2019 9:43 pm

I bloody s*##* :-) I pack whole catalog not upload and install.xml inside it... Now its work perfectly. Thank You again !
This stupid mistake get at least few days of my life :-D

Thank You again !

Newbie

Posts

Joined
Fri Feb 01, 2019 11:06 pm
Who is online

Users browsing this forum: No registered users and 2 guests