Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: Invalid CRT parameters detected #10

Closed
qimmik opened this issue Nov 1, 2011 · 3 comments
Closed

Warning: Invalid CRT parameters detected #10

qimmik opened this issue Nov 1, 2011 · 3 comments

Comments

@qimmik
Copy link

qimmik commented Nov 1, 2011

I am getting this (first) error over and over again, but doesn't seem to stop the functionality of the store except to import the catalog. When importing I also get another error (last code) as well as many of the first error. How can I fix this?

Oct 31 22:12:44 XLite [warning] Warning: Invalid CRT parameters detected in ...\modules\lc_connector\litecommerce\var\run\classes\XLite\Core\TranslationDriver\Gettext.php on line 188
Server API: cgi-fcgi;
Request method: GET;
URI: changes

Oct 31 15:22:55 XLite [error] Exception: XLite\Model\Image\Product\Image::getImageId() - method not exists or invalid getter/setter in ...\modules\lc_connector\litecommerce\var\run\classes\XLite\Model\AEntity.php on line 232
Server API: cgi-fcgi;
Request method: POST;
URI: /modules/lc_connector/litecommerce/admin.php?target=import_export&action=import&;
Backtrace:
file /classes\XLite\Controller\Admin\ImportExport.php : 1156
file /classes\XLite\Controller\Admin\ImportExport.php : 849
file /classes\XLite\Controller\Admin\ImportExport.php : 655
file /classes\XLite\Controller\Admin\ImportExport.php : 538
file /classes\XLite\Controller\AControllerAbstract.php : 1028
file /classes\XLite\Controller\AControllerAbstract.php : 1049
file /classes\XLite\Controller\Admin\ImportExport.php : 520
file /classes\XLite\Controller\AControllerAbstract.php : 342
file /classes\XLite\Controller\Admin\AAdmin.php : 158
file /classes\XLite.php : 312
file /classes\XLite.php : 341
file /admin.php : 30

Sorry if this is not in the right place to post this but thanks for any help :) Love the product!!

@svowl
Copy link
Member

svowl commented Nov 1, 2011

It seems your environment does not support gettext utility. Try to change the translation driver:

  1. Open litecommerce-dir/etc/config.php in editor
  2. Scroll down and find out the following lines:

;
; Other options
;
[other]
; Translation drive code - auto / gettext / db
translation_driver = auto

  1. Replace auto ==> db
  2. Remove directory litecommerce-dir/var/locale

@qimmik
Copy link
Author

qimmik commented Nov 1, 2011

Nice! That worked with removing the Gettext errors! But still get the AEntity.php error while importing. Any ideas about that? Thank you so much for the response and help. Do you need more information about my environment to help report or fix this for others?
P.S. sent an email about the errors also and it was moved into your bug-tracking system: http://bt.litecommerce.com/view.php?id=40537

@qimmik
Copy link
Author

qimmik commented Nov 1, 2011

Got it taken care of! Thank you all so much for the help, support here is great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants