Hi
I'm getting this errors on install
Code:
[07-Nov-2015 11:11:48 UTC] PHP Warning: sprintf(): Too few arguments in /home/daniel/public_html/zen154.dev/zenadmin/includes/init_includes/init_product_type_bookx.php on line 247
[07-Nov-2015 11:11:48 UTC] PHP Fatal error: 1064:You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 :: REPLACE INTO admin_pages_to_profiles (profile_id, page_key) VALUES ('2', 'bookxProduct' ==> (as called by) /home/daniel/public_html/zen154.dev/zenadmin/includes/init_includes/init_product_type_bookx.php on line 903 <== in /home/daniel/public_html/zen154.dev/includes/classes/db/mysql/query_factory.php on line 155
I've check some older threads about the init_product_type_bookx.php , but It looks that I have the updated files :
I have this on line 631, and 903.
Or my eyes are messed up, or they look the same
Line 631
PHP Code:
while (!$profile_ids->EOF) {
$db->Execute("REPLACE INTO {$const['TABLE_ADMIN_PAGES_TO_PROFILES']} (profile_id, page_key) VALUES ('{$profile_ids->fields['profile_id']}', 'bookxProduct'");
$profile_ids->MoveNext();
}
Line 903
PHP Code:
$db->Execute("REPLACE INTO {$const['TABLE_ADMIN_PAGES_TO_PROFILES']} (profile_id, page_key) VALUES ('{$profile_ids->fields['profile_id']}', 'bookxProduct'");
$profile_ids->MoveNext();
About line 247 , it's something about languages..... Now, I had just my language. Now I place English again, but I still get this warning
PHP Code:
if (!empty($files_missing)) {
$messageStack->add('' . sprintf(BOOKX_MS_SOME_LANGUAGE_FILES_MISSING, $language) . '<br />'.implode(', ', $files_missing), 'caution');
}
help ?
Thanks
Bookmarks