Skip to content

Commit

Permalink
fix getLanguages
Browse files Browse the repository at this point in the history
should fix issue some had on line 160 with languages
  • Loading branch information
Casper-O committed Jul 10, 2021
1 parent d384cc1 commit 8974d62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gshoppingflux/gshoppingflux.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public function installDb()

public function initDb($id_shop)
{
$languages = $this->context->controller->getLanguages();
$languages = Language::getLanguages(true, $id_shop);
$id_lang = $this->context->language->id;
$str = array();

Expand Down

4 comments on commit 8974d62

@adekloet
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have German and Dutch now exporting, but the French feed I see in the languages but exports 0 products:
French language 0 products exported google flux

Is there any config I could check?
Thanks..

@d1m007
Copy link
Owner

@d1m007 d1m007 commented on 8974d62 Feb 11, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possible that you run out of memory, if so you would need to increase your memory_limit from 256M to maybe 512M (php.ini)

@adekloet
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, it's on 512M already, I believe the job is finishing but somehow sees the Dutch and German products, but not the French language. I have double checked the locales, languages and currency, all look oke. Any other tips where to check?

Thanks

@d1m007
Copy link
Owner

@d1m007 d1m007 commented on 8974d62 Feb 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible you try to active export for french only? just to see if it works when there's no other language exported (that could help to determine if problem is related especially on french export or if it's due to too much languages to export)
Otherwise I have no idea...

Please sign in to comment.