Warning: mysql_query(): Unable to save result set in /home/fancykids/public_html/includes/functions/database.php on line 48
1317 - Query execution was interrupted

select distinct p.products_id, p.designers_id, pd.products_name, meta_title, mark_status from products p, products_description pd, products_quantity pq where (p.products_id=145 or p.products_id=177 or p.products_id=178 or p.products_id=179 or p.products_id=192 or p.products_id=197 or p.products_id=216 or p.products_id=228 or p.products_id=233 or p.products_id=234 or p.products_id=264 or p.products_id=265 or p.products_id=266 or p.products_id=267 or p.products_id=280 or p.products_id=291 or p.products_id=376 or p.products_id=385 or p.products_id=386 or p.products_id=387 or p.products_id=388 or p.products_id=389 or p.products_id=390 or p.products_id=391 or p.products_id=393 or p.products_id=394 or p.products_id=395 or p.products_id=396 or p.products_id=398 or p.products_id=400 or p.products_id=403 or p.products_id=457 or p.products_id=460 or p.products_id=466 or p.products_id=480 or p.products_id=482 or p.products_id=487 or p.products_id=489 or p.products_id=490 or p.products_id=492 or p.products_id=494 or p.products_id=501 or p.products_id=507 or p.products_id=509 or p.products_id=510 or p.products_id=511 or p.products_id=512 or p.products_id=513 or p.products_id=514 or p.products_id=516 or p.products_id=518 or p.products_id=535 or p.products_id=551 or p.products_id=552 or p.products_id=553 or p.products_id=556 or p.products_id=557 or p.products_id=570 or p.products_id=573 or p.products_id=574 or p.products_id=575 or p.products_id=577 or p.products_id=578 or p.products_id=579 or p.products_id=581 or p.products_id=584 or p.products_id=595 or p.products_id=617 or p.products_id=619 or p.products_id=620 or p.products_id=621 or p.products_id=622 or p.products_id=623 or p.products_id=624 or p.products_id=639 or p.products_id=641 or p.products_id=644 or p.products_id=645 or p.products_id=698 or p.products_id=699 or p.products_id=700 or p.products_id=702 or p.products_id=706 or p.products_id=727 or p.products_id=728 or p.products_id=730 or p.products_id=731 or p.products_id=733 or p.products_id=737 or p.products_id=739 or p.products_id=740 or p.products_id=741 or p.products_id=744 or p.products_id=747 or p.products_id=760 or p.products_id=766 or p.products_id=769 or p.products_id=777 or p.products_id=778 or p.products_id=780 or p.products_id=791 or p.products_id=792 or p.products_id=793 or p.products_id=794 or p.products_id=797 or p.products_id=801 or p.products_id=804 or p.products_id=808 or p.products_id=815 or p.products_id=830 or p.products_id=834 or p.products_id=835 or p.products_id=836 or p.products_id=842 or p.products_id=846 or p.products_id=847 or p.products_id=848 or p.products_id=887 or p.products_id=888 or p.products_id=906 or p.products_id=907 or p.products_id=910 or p.products_id=911 or p.products_id=913 or p.products_id=914 or p.products_id=918 or p.products_id=930 or p.products_id=931 or p.products_id=932 or p.products_id=933 or p.products_id=939 or p.products_id=940 or p.products_id=941 or p.products_id=944 or p.products_id=945 or p.products_id=948 or p.products_id=954 or p.products_id=955 or p.products_id=956 or p.products_id=957 or p.products_id=958 or p.products_id=959 or p.products_id=960 or p.products_id=961 or p.products_id=963 or p.products_id=964 or p.products_id=965 or p.products_id=977 or p.products_id=978 or p.products_id=979 or p.products_id=980 or p.products_id=981 or p.products_id=982 or p.products_id=983 or p.products_id=984 or p.products_id=985 or p.products_id=998 or p.products_id=1000 or p.products_id=1001 or p.products_id=1004 or p.products_id=1005 or p.products_id=1006 or p.products_id=1007 or p.products_id=1008 or p.products_id=1009 or p.products_id=1010 or p.products_id=1011 or p.products_id=1012 or p.products_id=1013 or p.products_id=1014 or p.products_id=1015 or p.products_id=1016 or p.products_id=1017 or p.products_id=1018 or p.products_id=1019 or p.products_id=1020 or p.products_id=1021 or p.products_id=1022 or p.products_id=1023 or p.products_id=1030 or p.products_id=1031 or p.products_id=1032 or p.products_id=1033 or p.products_id=1034 or p.products_id=1035 or p.products_id=1036 or p.products_id=1037 or p.products_id=1038 or p.products_id=1039 or p.products_id=1040 or p.products_id=1041 or p.products_id=1042 or p.products_id=1043 or p.products_id=1045 or p.products_id=1046 or p.products_id=1047 or p.products_id=1048 or p.products_id=1049 or p.products_id=1051 or p.products_id=1067 or p.products_id=1068 or p.products_id=1069 or p.products_id=1070 or p.products_id=1071 or p.products_id=1072 or p.products_id=1073 or p.products_id=1074 or p.products_id=1075 or p.products_id=1076 or p.products_id=1208 or p.products_id=1209 or p.products_id=1211 or p.products_id=1212 or p.products_id=1214 or p.products_id=1215 or p.products_id=1217 or p.products_id=1218 or p.products_id=1219 or p.products_id=1220 or p.products_id=1222 or p.products_id=1223 or p.products_id=1225 or p.products_id=1226 or p.products_id=1230 or p.products_id=1232 or p.products_id=1237 or p.products_id=1238 or p.products_id=1239 or p.products_id=1240 or p.products_id=1241 or p.products_id=1264 or p.products_id=1270 or p.products_id=1272 or p.products_id=1274 or p.products_id=1277 or p.products_id=1279 or p.products_id=1280 or p.products_id=1281 or p.products_id=1289 or p.products_id=1291 or p.products_id=1310 or p.products_id=1311 or p.products_id=1312 or p.products_id=1313 or p.products_id=1319 or p.products_id=1349 or p.products_id=1350 or p.products_id=1351 or p.products_id=1392 or p.products_id=1394 or p.products_id=1395 or p.products_id=1396 or p.products_id=1397 or p.products_id=1398 or p.products_id=1399 or p.products_id=1400 or p.products_id=1407 or p.products_id=1408 or p.products_id=1409 or p.products_id=1410 or p.products_id=1411 or p.products_id=1412 or p.products_id=1413 or p.products_id=1414 or p.products_id=1431 or p.products_id=1432 or p.products_id=1433 or p.products_id=1434 or p.products_id=1435 or p.products_id=1441 or p.products_id=1442 or p.products_id=1443 or p.products_id=1444 or p.products_id=1445 or p.products_id=1446 or p.products_id=1447 or p.products_id=1448 or p.products_id=1449 or p.products_id=1450 or p.products_id=1451 or p.products_id=1452 or p.products_id=1453 or p.products_id=1454 or p.products_id=1455 or p.products_id=1458 or p.products_id=1459 or p.products_id=1460 or p.products_id=1462 or p.products_id=1463 or p.products_id=1465 or p.products_id=1466 or p.products_id=1467 or p.products_id=1468 or p.products_id=1469 or p.products_id=1470 or p.products_id=1471 or p.products_id=1472 or p.products_id=1473 or p.products_id=1474 or p.products_id=1475 or p.products_id=1476 or p.products_id=1478 or p.products_id=1479 or p.products_id=1480 or p.products_id=1481 or p.products_id=1482 or p.products_id=1483 or p.products_id=1485 or p.products_id=1488 or p.products_id=1489 or p.products_id=1490 or p.products_id=1491 or p.products_id=1492 or p.products_id=1493 or p.products_id=1494 or p.products_id=1495 or p.products_id=1496 or p.products_id=1497 or p.products_id=1498 or p.products_id=1499 or p.products_id=1500 or p.products_id=1501 or p.products_id=1502 or p.products_id=1503 or p.products_id=1504 or p.products_id=1505 or p.products_id=1506 or p.products_id=1507 or p.products_id=1508 or p.products_id=1509 or p.products_id=1510 or p.products_id=1511 or p.products_id=1512 or p.products_id=1513 or p.products_id=1514 or p.products_id=1515 or p.products_id=1516 or p.products_id=1524 or p.products_id=1525 or p.products_id=1526 or p.products_id=1527 or p.products_id=1528 or p.products_id=1529 or p.products_id=1530 or p.products_id=1531 or p.products_id=1532 or p.products_id=1533 or p.products_id=1534 or p.products_id=1535 or p.products_id=1536 or p.products_id=1537 or p.products_id=1538 or p.products_id=1539 or p.products_id=1540 or p.products_id=1541 or p.products_id=1542 or p.products_id=1544 or p.products_id=1545 or p.products_id=1546 or p.products_id=1547 or p.products_id=1561 or p.products_id=1562 or p.products_id=1563 or p.products_id=1564 or p.products_id=1565 or p.products_id=1566 or p.products_id=1567 or p.products_id=1568 or p.products_id=1570 or p.products_id=1571 or p.products_id=1572 or p.products_id=1576 or p.products_id=1577 or p.products_id=1578 or p.products_id=1585 or p.products_id=1586 or p.products_id=1587 or p.products_id=1588 or p.products_id=1589 or p.products_id=1590 or p.products_id=1599 or p.products_id=1600 or p.products_id=1601 or p.products_id=1602 or p.products_id=1603 or p.products_id=1604 or p.products_id=1605 or p.products_id=1606 or p.products_id=1616 or p.products_id=1617 or p.products_id=1618 or p.products_id=1619 or p.products_id=1620 or p.products_id=1621 or p.products_id=1622 or p.products_id=1623 or p.products_id=1624 or p.products_id=1625 or p.products_id=1626 or p.products_id=1627 or p.products_id=1628 or p.products_id=1629 or p.products_id=1630 or p.products_id=1631 or p.products_id=1632 or p.products_id=1633 or p.products_id=1634 or p.products_id=1635 or p.products_id=1636 or p.products_id=1637 or p.products_id=1638 or p.products_id=1639 or p.products_id=1640 or p.products_id=1641 or p.products_id=1642 or p.products_id=1643 or p.products_id=1644 or p.products_id=1645 or p.products_id=1646 or p.products_id=1647 or p.products_id=1654 or p.products_id=1656 or p.products_id=1657 or p.products_id=1658 or p.products_id=1659 or p.products_id=1660 or p.products_id=1661 or p.products_id=1662 or p.products_id=1663 or p.products_id=1664 or p.products_id=1665 or p.products_id=1666 or p.products_id=1667 or p.products_id=1668 or p.products_id=1669 or p.products_id=1670 or p.products_id=1671 or p.products_id=1672 or p.products_id=1673 or p.products_id=1674 or p.products_id=1675 or p.products_id=1676 or p.products_id=1677 or p.products_id=1678 or p.products_id=1704 or p.products_id=1725 or p.products_id=1726 or p.products_id=1727 or p.products_id=1728 or p.products_id=1729 or p.products_id=1730 or p.products_id=1731 or p.products_id=1732 or p.products_id=1733 or p.products_id=1734 or p.products_id=1735 or p.products_id=1736 or p.products_id=1738 or p.products_id=1739 or p.products_id=1740 or p.products_id=1741 or p.products_id=1742 or p.products_id=1743 or p.products_id=1744 or p.products_id=1745 or p.products_id=1746 or p.products_id=1747) and p.status = 1 and p.products_id = pq.products_id and p.products_id = pd.products_id and pd.languages_id = '1' order by pd.products_id desc

[TEP STOP]

2006 - MySQL server has gone away

select count(*) as total from sessions where sesskey = '96e7b94ef08645bb025aacbe754f2207'

[TEP STOP]