Post by Dev. » Fri Oct 27, 2023 11:35 am

When trying to install a custom payment plugin for
Extensions->installer will get the below error
" Warning: Could not find install.json!"
I can see the plugin in the storage -> marketplace folder Also I already add install.json file

Code: Select all

{
    "name": "",
    "version": "1.1",
    "author": "",
    "link": ""
}
opencart Version 4.0.2.3
PHP 8.1

How can solve it !!!

New member

Posts

Joined
Sun Jul 17, 2022 10:02 pm

Post by paulfeakins » Fri Oct 27, 2023 7:55 pm

Dev. wrote:
Fri Oct 27, 2023 11:35 am
When trying to install a custom payment plugin for
What payment plugin?

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by JNeuhoff » Fri Oct 27, 2023 8:02 pm

Ask the plugin author for help. Or give us more details, as per the forum rules, if you want help here.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by Dev. » Fri Oct 27, 2023 9:26 pm

paulfeakins wrote:
Fri Oct 27, 2023 7:55 pm
Dev. wrote:
Fri Oct 27, 2023 11:35 am
When trying to install a custom payment plugin for
What payment plugin?
I'm developing the plugin
it's working on OC 4.0.0.0 But when installing last version of opencart will show this error

New member

Posts

Joined
Sun Jul 17, 2022 10:02 pm

Post by JNeuhoff » Fri Oct 27, 2023 10:43 pm

Are you using the correct folder structure for your ocmod.zip file? E.g. something like this:
install.json
admin
catalog

Also, you should fill in the install.json correctly, for name, version etc.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by Dev. » Sat Oct 28, 2023 12:07 am

JNeuhoff wrote:
Fri Oct 27, 2023 10:43 pm
Are you using the correct folder structure for your ocmod.zip file? E.g. something like this:
install.json
admin
catalog

Also, you should fill in the install.json correctly, for name, version etc.
Yes, all things are correct
In opencart version, I'm changing the line in this file
upload/admin/view/template/marketplace/installer.twig
from
accept="ocmod.zip".
To
accept=".zip".

In this version 4.0.2.3 needs any changes?

New member

Posts

Joined
Sun Jul 17, 2022 10:02 pm

Post by straightlight » Sat Oct 28, 2023 9:14 pm

Dev. wrote:
Sat Oct 28, 2023 12:07 am
JNeuhoff wrote:
Fri Oct 27, 2023 10:43 pm
Are you using the correct folder structure for your ocmod.zip file? E.g. something like this:
install.json
admin
catalog

Also, you should fill in the install.json correctly, for name, version etc.
Yes, all things are correct
In opencart version, I'm changing the line in this file
upload/admin/view/template/marketplace/installer.twig
from
accept="ocmod.zip".
To
accept=".zip".

In this version 4.0.2.3 needs any changes?
It has been known on Github this issue occurs when people are using MAC devices or servers. The accept method is not the same.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by JNeuhoff » Sat Oct 28, 2023 10:59 pm

Dev. wrote:
Sat Oct 28, 2023 12:07 am
Yes, all things are correct
In opencart version, I'm changing the line in this file
upload/admin/view/template/marketplace/installer.twig
from
accept="ocmod.zip".
To
accept=".zip".

In this version 4.0.2.3 needs any changes?
Yours doesn't make sense, because there is no accept="ocmod.zip" to be found anywhere in that particular file. In fact I can't find it in any file!

If you really want some help, then please provide some details of what exactly you have done!

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by grgr » Mon Oct 30, 2023 7:45 am

I've had a " Warning: Could not find install.json!" a few times where it was quite clearly actually there.

After giving it a poke with a big stick and getting nowhere, I simply deleted and added a new one. Actually, I copied a know working one and edited it suit.

No idea of the what, how or why of it, not looked into it - better things to do. But doing the above worked.

-
Image Image Image
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS


User avatar
Active Member

Posts

Joined
Mon Mar 28, 2011 4:08 pm
Location - UK

Post by paulfeakins » Mon Oct 30, 2023 9:02 pm

Dev. wrote:
Fri Oct 27, 2023 9:26 pm
it's working on OC 4.0.0.0 But when installing last version of opencart will show this error
Well, obviously. The latest version has many changes.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by Dev. » Fri Nov 03, 2023 10:33 am

paulfeakins wrote:
Mon Oct 30, 2023 9:02 pm
Dev. wrote:
Fri Oct 27, 2023 9:26 pm
it's working on OC 4.0.0.0 But when installing last version of opencart will show this error
Well, obviously. The latest version has many changes.
Okay. How I can know what needs to change in the custom plugin, Is there any article that can help to know what needs to change?

New member

Posts

Joined
Sun Jul 17, 2022 10:02 pm

Post by Dev. » Fri Nov 03, 2023 10:37 am

JNeuhoff wrote:
Sat Oct 28, 2023 10:59 pm
Dev. wrote:
Sat Oct 28, 2023 12:07 am
Yes, all things are correct
In opencart version, I'm changing the line in this file
upload/admin/view/template/marketplace/installer.twig
from
accept="ocmod.zip".
To
accept=".zip".

In this version 4.0.2.3 needs any changes?
Yours doesn't make sense, because there is no accept="ocmod.zip" to be found anywhere in that particular file. In fact I can't find it in any file!

If you really want some help, then please provide some details of what exactly you have done!
Sir, I mean I did that when was working on version 4.0.0.0

But in the last version, I didn't know if I needed to change any website files or what the meant change needed to do in the custom plugin

New member

Posts

Joined
Sun Jul 17, 2022 10:02 pm

Post by paulfeakins » Fri Nov 03, 2023 8:37 pm

Dev. wrote:
Fri Nov 03, 2023 10:33 am
Is there any article that can help to know what needs to change?
This might help: https://github.com/opencart/opencart/bl ... ANGELOG.md

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom
Who is online

Users browsing this forum: gunownergear and 4 guests