unpack(): Type V: not enough input, need 4, have 0

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
SandipDas
Posts: 6
Joined: 06 Oct 2020, 12:09

unpack(): Type V: not enough input, need 4, have 0

Post by SandipDas » 06 Oct 2020, 13:19

when I click on admin part and click the order tab it gets error.
but if i switch over from english to detch or any other language it works fine, english version doesnot work,please help

User avatar
SandipDas
Posts: 6
Joined: 06 Oct 2020, 12:09

Re: [solved] new extension not working

Post by SandipDas » 06 Oct 2020, 13:31

ext/ai-gettext/lib/custom/src/MW/Translation/File/Mo.php line no 189
when i convert english it gets error but it works fine in local

User avatar
aimeos
Administrator
Posts: 7835
Joined: 01 Jan 1970, 00:00

Re: unpack(): Type V: not enough input, need 4, have 0

Post by aimeos » 06 Oct 2020, 13:36

The binary Gettext files (.../i18n/{en,de,ar,etc}) seem to be corrupt.
Please make sure that the are not changed when uploading them to your server.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
SandipDas
Posts: 6
Joined: 06 Oct 2020, 12:09

Re: unpack(): Type V: not enough input, need 4, have 0

Post by SandipDas » 06 Oct 2020, 15:02

The binary Gettext files (.../i18n/{en,de,ar,etc}) seem to be corrupt.
ok if i upload files within gettext then it will work, it is an error only for english.so which one i will upload this files, can you say the path "ext/ai-admin-jqadm/admin/i18n" actually locally it works fine

User avatar
SandipDas
Posts: 6
Joined: 06 Oct 2020, 12:09

Re: unpack(): Type V: not enough input, need 4, have 0

Post by SandipDas » 06 Oct 2020, 15:14

anyone can help me why i am getting error it is only for english, and which file will i upload ? can you say me the specific path just because same folder set up in my local it works fine, so i will replace those files

User avatar
aimeos
Administrator
Posts: 7835
Joined: 01 Jan 1970, 00:00

Re: unpack(): Type V: not enough input, need 4, have 0

Post by aimeos » 06 Oct 2020, 15:30

"ext/ai-admin-jqadm/admin/i18n" contains all translations for the admin interface including the English one.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
SandipDas
Posts: 6
Joined: 06 Oct 2020, 12:09

Re: unpack(): Type V: not enough input, need 4, have 0

Post by SandipDas » 06 Oct 2020, 15:43

"ext/ai-admin-jqadm/admin/i18n" contains all translations for the admin interface including the English one.
ok i understood but what will i do now? will i replace en.po from my local to server. But i didnot see any en.po file within this path ext/ai-admin-jqadm/admin/i18n but i saw en.po files within "ext/ai-client-html/client/i18n" or "/ext/ai-admin-jqadm/admin/i18n" or " /ext/ai-controller-frontend/controller/frontend/i18n" and so on. so what should i do ? i will replace files or i will upload files once again

User avatar
SandipDas
Posts: 6
Joined: 06 Oct 2020, 12:09

Re: unpack(): Type V: not enough input, need 4, have 0

Post by SandipDas » 07 Oct 2020, 07:47

What should i do ?

User avatar
aimeos
Administrator
Posts: 7835
Joined: 01 Jan 1970, 00:00

Re: unpack(): Type V: not enough input, need 4, have 0

Post by aimeos » 07 Oct 2020, 11:08

Upload the files once again to your server.
You can zip all files and unzip them on the server as this provides more data integrity.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply