
03-11-2009, 01:56 AM
|
|
|
Join Date: Jan 2009
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by ZexTasy
@smooth-c
To fix the errormessage, apply the following changes to the product xml file:
In the product xml-file find:
PHP Code:
$repm->pre_save();
$re_errors = array_merge($re_errors, $repm->errors);
Write this between those two lines:
PHP Code:
$re_errors = array();
So that it becomes:
PHP Code:
$repm->pre_save();
$re_errors = array();
$re_errors = array_merge($re_errors, $repm->errors);
In the product xml-file find:
PHP Code:
$repm->pre_save();
$fw_errors = array_merge($fw_errors, $repm->errors);
Write this between those two lines:
PHP Code:
$fw_errors = array();
So that it becomes:
PHP Code:
$repm->pre_save();
$fw_errors = array();
$fw_errors = array_merge($fw_errors, $repm->errors);
After that just import the product again with overwrite.
Alternatively you could also edit the plugin directly in the plugin-manager, edit the plugin Send the Auto-Reply with hook location private_insertpm_complete and do the changes mentioned above directly in there, but personally I like to have a correct xml plugin file available to import again if necessary!
Good luck!
- ZexTasy
|
This also works in 3.8. Thanks!
|