28
hi'
--- A simple hypothesis.Blank page appears only when we want to create a new product, the form does not work... sometimes.
If I look into xxx_oledrion_products table, I can see two "strange" things :
• 1 : product_id field contains illogical sequences of numbers (I mean 102 before 17 etc.)
• 2 : cloned products are easily recognizable because their thumb does not have thumb_ prefix (example : 53c666ab1a7c458f.jpg instead of thumb_53c666ab1a7c458f.jpg). This scenario occurs when we keep the same image
The second point is not important, except that most often cloned products seem to have an id "incoherent". Example :

Orange : cloned product / Green : product created from scratch
--- Questions 01When we use clone feature, code called is :
le="color: #000000"><?php // **************************************************************************************************************** case 'copy': // Copier un produit // **************************************************************************************************************** xoops_cp_header(); $id = isset($_GET['id']) ? intval($_GET['id']) : 0; if(empty($id)) { oledrion_utils::redirect(_AM_OLEDRION_ERROR_1, $baseurl, 5); } $opRedirect = 'products'; $product = null; $product = $h_oledrion_products->get($id); if(is_object($product)) { $newProduct = $h_oledrion_products->cloneProduct($product); $newProductId = $newProduct->product_id; if($newProduct !== false) { oledrion_utils::redirect(_AM_OLEDRION_SAVE_OK, $baseurl.'?op='.$opRedirect."&action=edit&id=".$newProductId, 2); } else { oledrion_utils::redirect(_AM_OLEDRION_SAVE_PB, $baseurl.'?op='.$opRedirect, 5); } } break;
Do you see something wrong ?
(oledrion/admin/actions/products.php)
--- Questions 02Can I clean my products table without danger ? I mean change product ID to obtain a logical sequence of number ...
Still learning CSS and... english