Diamond Request
E X| Id: | 16746 |
| Product: | Gabriel Suciu P#21891 |
| Diamond: | RO36IVS1J4 |
| Created: | 2023-07-17 09:03:21 |
| Timestamp: | 2023-07-17 09:03:21 |
| Display Field: | DiamondRequest #16746 |
| Price: | 5000 |
+
| Id: | 16746 |
| Product: | Gabriel Suciu P#21891 |
| Diamond: | RO36IVS1J4 |
| Created: | 2023-07-17 09:03:21 |
| Timestamp: | 2023-07-17 09:03:21 |
| Display Field: | DiamondRequest #16746 |
| Price: | 5000 |
No post data.
No querystring data.
To view Cookies, add CookieComponent to Controller
| Query | Affected | Num. rows | Took (ms) | Actions |
|---|---|---|---|---|
| SELECT COUNT(*) AS `count` FROM `giuvaier_d`.`diamond_requests` AS `DiamondRequest` WHERE `DiamondRequest`.`id` = 16746 | 1 | 1 | 0 | |
| SELECT `DiamondRequest`.`id`, `DiamondRequest`.`product_id`, `DiamondRequest`.`diamond_id`, `DiamondRequest`.`created`, `DiamondRequest`.`timestamp`, (CONCAT("DiamondRequest #", `DiamondRequest`.`id`)) AS `DiamondRequest__display_field`, ((SELECT `DiamondRequest_Diamond`.`price` FROM diamonds DiamondRequest_Diamond WHERE `DiamondRequest`.`diamond_id` = `DiamondRequest_Diamond`.`id`)) AS `DiamondRequest__price`, `Product`.`id`, `Product`.`order_id`, `Product`.`design_id`, `Product`.`is_w`, `Product`.`size`, `Product`.`width`, `Product`.`engraving`, `Product`.`grams`, `Product`.`price`, `Product`.`print_op_id`, `Product`.`cast_op_id`, `Product`.`created`, `Product`.`timestamp`, (CONCAT((SELECT TRIM(CONCAT(`Product_Order`.`customer`, " ", `Product_Order`.`last_name`)) FROM orders Product_Order WHERE `Product`.`order_id` = `Product_Order`.`id`), " P#", `Product`.`id`)) AS `Product__display_field`, ((`Product`.`price` + IFNULL((SELECT SUM(`Product_Diamonds`.`price`) FROM diamonds Product_Diamonds WHERE `Product`.`id` = `Product_Diamonds`.`product_id`), 0) + IFNULL((SELECT SUM((SELECT `DiamondRequest_Diamond`.`price` FROM diamonds DiamondRequest_Diamond WHERE `Product_DiamondRequests`.`diamond_id` = `DiamondRequest_Diamond`.`id`)) FROM diamond_requests Product_DiamondRequests WHERE `Product`.`id` = `Product_DiamondRequests`.`product_id`), 0) + IFNULL((SELECT SUM(ROUND(ROUND(`Product_ProductGemstones`.`quantity` * (SELECT `ProductGemstone_Gemstone`.`carats` FROM gemstones ProductGemstone_Gemstone WHERE `Product_ProductGemstones`.`gemstone_id` = `ProductGemstone_Gemstone`.`id`), 2) * `Product_ProductGemstones`.`carat_price`)) FROM product_gemstones Product_ProductGemstones WHERE `Product`.`id` = `Product_ProductGemstones`.`product_id`), 0))) AS `Product__total_price`, (IFNULL((SELECT SUM((SELECT `DiamondRequest_Diamond`.`price` FROM diamonds DiamondRequest_Diamond WHERE `Product_DiamondRequests`.`diamond_id` = `DiamondRequest_Diamond`.`id`)) FROM diamond_requests Product_DiamondRequests WHERE `Product`.`id` = `Product_DiamondRequests`.`product_id`), 0)) AS `Product__diamond_requests_price`, `Diamond`.`id`, `Diamond`.`sku`, `Diamond`.`type_id`, `Diamond`.`lab_id`, `Diamond`.`report`, `Diamond`.`source_id`, `Diamond`.`xsku`, `Diamond`.`is_stock`, `Diamond`.`is_available`, `Diamond`.`is_visible`, `Diamond`.`is_hidden`, `Diamond`.`wdays`, `Diamond`.`xorder_id`, `Diamond`.`product_id`, `Diamond`.`shape_id`, `Diamond`.`carats`, `Diamond`.`color_id`, `Diamond`.`clarity_id`, `Diamond`.`cut_id`, `Diamond`.`polish_id`, `Diamond`.`symmetry_id`, `Diamond`.`fluorescence_id`, `Diamond`.`length`, `Diamond`.`width`, `Diamond`.`height`, `Diamond`.`depth_percent`, `Diamond`.`table_percent`, `Diamond`.`has_photo`, `Diamond`.`photo`, `Diamond`.`has_video`, `Diamond`.`video`, `Diamond`.`has_certi`, `Diamond`.`certi`, `Diamond`.`contents`, `Diamond`.`created`, `Diamond`.`timestamp`, (`Diamond`.`sku`) AS `Diamond__display_field`, ((SELECT COUNT(*) + 1 FROM diamonds Diamond_Diamonds WHERE `Diamond`.`xorder_id` = `Diamond_Diamonds`.`xorder_id` AND `Diamond`.`sku` > `Diamond_Diamonds`.`sku`)) AS `Diamond__xorder_pos`, (`Diamond`.`price`) AS `Diamond__price`, (`Diamond`.`cost`) AS `Diamond__cost`, ((SELECT `Diamond_Xorder`.`exchange_rate` FROM xorders Diamond_Xorder WHERE `Diamond`.`xorder_id` = `Diamond_Xorder`.`id`)) AS `Diamond__exchange_rate`, (1) AS `Diamond__profit`, (1) AS `Diamond__profit_percent` FROM `giuvaier_d`.`diamond_requests` AS `DiamondRequest` LEFT JOIN `giuvaier_d`.`products` AS `Product` ON (`DiamondRequest`.`product_id` = `Product`.`id`) LEFT JOIN `giuvaier_d`.`diamonds` AS `Diamond` ON (`DiamondRequest`.`diamond_id` = `Diamond`.`id`) WHERE `DiamondRequest`.`id` = 16746 ORDER BY `DiamondRequest`.`id` DESC LIMIT 1 | 1 | 1 | 1 | |
| SELECT COUNT(*) open_count FROM orders, tags WHERE orders.tag_id = tags.id AND tags.is_open = 1 AND orders.is_peste = 0; | 1 | 1 | 1 | |
| SELECT COUNT(*) peste_count FROM orders, tags WHERE orders.tag_id = tags.id AND tags.is_open = 1 AND orders.is_peste = 1; | 1 | 1 | 1 | |
| SELECT COUNT(*) flag_count FROM orders, tags WHERE orders.tag_id = tags.id AND tags.is_open = 1 AND orders.is_peste = 2; | 1 | 1 | 1 | |
| SELECT COUNT(*) star_count FROM orders, tags WHERE orders.tag_id = tags.id AND tags.is_open = 1 AND orders.is_peste = 3; | 1 | 1 | 1 | |
| SELECT COUNT(*) wedding_count FROM orders, tags WHERE orders.tag_id = tags.id AND tags.is_open = 1 AND orders.is_peste = 4; | 1 | 1 | 1 | |
| SELECT COUNT(*) unlock_count FROM orders, tags WHERE orders.tag_id = tags.id AND tags.is_open = 1 AND orders.is_peste = 9; | 1 | 1 | 1 | |
| SELECT `TABLE_NAME` FROM `information_schema`.`TABLES` where `TABLE_SCHEMA` = 'diamag_v9' ORDER BY `TABLE_NAME`; | 0 | 0 | 1 | maybe slow |
Peak Memory Use 4.40 MB
| Message | Memory use |
|---|---|
| Component initialization | 1.37 MB |
| Controller action start | 1.47 MB |
| Controller render start | 2.51 MB |
| View render complete | 2.83 MB |
Total Request Time: 56 (ms)
| Message | Time in ms | Graph |
|---|---|---|
| Core Processing (Derived from $_SERVER["REQUEST_TIME"]) | 8.54 | |
| Event: Controller.initialize | 0.04 | |
| Event: Controller.startup | 0.13 | |
| Controller action | 10.56 | |
| Event: Controller.beforeRender | 10.23 | |
| » Processing toolbar data | 10.12 | |
| Rendering View | 11.28 | |
| » Event: View.beforeRender | 0.04 | |
| » Rendering APP/View/DiamondRequests/view.ctp | 1.37 | |
| » Event: View.afterRender | 0.03 | |
| » Event: View.beforeLayout | 0.03 | |
| » Rendering APP/View/Layouts/default.ctp | 9.14 | |
| Event: View.afterLayout | 0.00 |
| Constant | Value |
|---|---|
| DB | giuvaier_d |
| PW | zg5_UCp-tGkt |
| Constant | Value |
|---|---|
| APP | /home2/giuvaier/b/app/ |
| APP_DIR | app |
| APPLIBS | /home2/giuvaier/b/app/Lib/ |
| CACHE | /home2/giuvaier/b/app/tmp/cache/ |
| CAKE | /home2/giuvaier/b/lib/Cake/ |
| CAKE_CORE_INCLUDE_PATH | /home2/giuvaier/b/lib |
| CORE_PATH | /home2/giuvaier/b/lib/ |
| CAKE_VERSION | 2.4.0 |
| CSS | /home2/giuvaier/b/app/webroot/css/ |
| CSS_URL | css/ |
| DS | / |
| FULL_BASE_URL | https://www.b.giuvaierul.ro |
| IMAGES | /home2/giuvaier/b/app/webroot/img/ |
| IMAGES_URL | img/ |
| JS | /home2/giuvaier/b/app/webroot/js/ |
| JS_URL | js/ |
| LOGS | /home2/giuvaier/b/app/tmp/logs/ |
| ROOT | /home2/giuvaier/b |
| TESTS | /home2/giuvaier/b/app/Test/ |
| TMP | /home2/giuvaier/b/app/tmp/ |
| VENDORS | /home2/giuvaier/b/vendors/ |
| WEBROOT_DIR | webroot |
| WWW_ROOT | /home2/giuvaier/b/app/webroot/ |
| Environment Variable | Value |
|---|---|
| Php Version | 5.6.40 |
| Php Ini Scan Dir | :/home2/giuvaier/ |
| Path | /usr/local/bin:/bin:/usr/bin |
| Document Root | /home2/giuvaier/b |
| Http Accept | */* |
| Http Accept Encoding | gzip, br, zstd, deflate |
| Http Cookie | CAKEPHP=22dqkcvjlpeg4k2sa8tsr2f404 |
| Http Host | www.b.giuvaierul.ro |
| Http User Agent | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| Remote Addr | 216.73.216.39 |
| Remote Port | 2073 |
| Server Addr | 80.96.7.196 |
| Server Name | www.b.giuvaierul.ro |
| Server Admin | webmaster@b.giuvaierul.ro |
| Server Port | 443 |
| Request Scheme | https |
| Request Uri | /DiamondRequests/view/16746 |
| Redirect Url | /app/webroot/DiamondRequests/view/16746 |
| Redirect Request Method | GET |
| Https | on |
| Redirect Status | 200 |
| X Spdy | HTTP2 |
| Ssl Protocol | TLSv1.3 |
| Ssl Cipher | TLS_AES_256_GCM_SHA384 |
| Ssl Cipher Usekeysize | 256 |
| Ssl Cipher Algkeysize | 256 |
| Script Filename | /home2/giuvaier/b/app/webroot/index.php |
| Query String | |
| Script Uri | https://www.b.giuvaierul.ro/DiamondRequests/view/16746 |
| Script Url | /DiamondRequests/view/16746 |
| Script Name | /app/webroot/index.php |
| Server Protocol | HTTP/1.1 |
| Server Software | LiteSpeed |
| Request Method | GET |
| X-lscache | on |
| Php Self | /app/webroot/index.php |
| Request Time Float | 1796585514.8617 |
| Request Time | 1796585514 |
| Argc | 0 |