Skip to content

Commit 16edd65

Browse files
committed
--
--
1 parent aec60b3 commit 16edd65

File tree

2 files changed

+11
-20
lines changed

2 files changed

+11
-20
lines changed

box/assets/js/kchat.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,6 @@ kbox.start = (function(){
196196
var kchat_email = $( "#kchat_email" ).val();
197197
var kchat_dept = $( "#kchat_dept" ).val();
198198
var kchat_msg = $( "#kchat_msg" ).val();
199-
if(kchat_fname || kchat_lname || kchat_email || kchat_msg){
200-
alert("Please Fill all fields");
201-
return false;
202-
}
203199
$.post(kbox.url + "kchat.php?start",
204200
{
205201
kchat_start: 'kchat_start',

box/logs/error.log

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,21 @@
1-
[16-Mar-2020 17:25:56 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'GROUP BY sender_id' at line 1 in E:\Ampps\www\kchat\box\core\sandesh.php:394
1+
[09-Dec-2021 14:21:23 UTC] PHP Warning: min(): Array must contain at least one element in E:\Ampps\www\kchat\box\core\sandesh.php on line 407
2+
[09-Dec-2021 14:21:23 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`kchat`.`kcso_group_users`, CONSTRAINT `group_users_ibfk_2` FOREIGN KEY (`users`) REFERENCES `kcso_users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE) in E:\Ampps\www\kchat\box\core\sandesh.php:103
23
Stack trace:
3-
#0 E:\Ampps\www\kchat\box\core\sandesh.php(394): PDO->prepare('SELECT `sender_...')
4-
#1 E:\Ampps\www\kchat\box\core\sandesh.php(66): KChat->getSupportid('1')
5-
#2 E:\Ampps\www\kchat\box\core\kchat.php(159): KChat->start(Array)
6-
#3 E:\Ampps\www\kchat\box\kchat.php(18): require_once('E:\\Ampps\\www\\kc...')
7-
#4 {main}
8-
thrown in E:\Ampps\www\kchat\box\core\sandesh.php on line 394
9-
[16-Mar-2020 17:29:52 UTC] PHP Warning: min(): Array must contain at least one element in E:\Ampps\www\kchat\box\core\sandesh.php on line 408
10-
[31-Mar-2021 13:24:00 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; config has a deprecated constructor in /home/soft/public_html/manual/kchat/box/core/config.php on line 3
11-
[05-Apr-2021 12:55:13 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; config has a deprecated constructor in /home/soft/public_html/manual/kchat/box/core/config.php on line 3
12-
[05-Apr-2021 12:55:30 UTC] PHP Notice: Undefined offset: 0 in /home/soft/public_html/manual/kchat/box/core/sandesh.php on line 407
13-
[09-Dec-2021 13:55:13 UTC] PHP Warning: min(): Array must contain at least one element in E:\Ampps\www\kchat\box\core\sandesh.php on line 407
14-
[09-Dec-2021 14:11:50 UTC] PHP Warning: min(): Array must contain at least one element in E:\Ampps\www\kchat\box\core\sandesh.php on line 407
15-
[09-Dec-2021 14:11:50 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`kchat`.`kcso_group_users`, CONSTRAINT `group_users_ibfk_2` FOREIGN KEY (`users`) REFERENCES `kcso_users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE) in E:\Ampps\www\kchat\box\core\sandesh.php:103
4+
#0 E:\Ampps\www\kchat\box\core\sandesh.php(103): PDOStatement->execute(Array)
5+
#1 E:\Ampps\www\kchat\box\core\kchat.php(159): KChat->start(Array)
6+
#2 E:\Ampps\www\kchat\box\kchat.php(18): require_once('E:\\Ampps\\www\\kc...')
7+
#3 {main}
8+
thrown in E:\Ampps\www\kchat\box\core\sandesh.php on line 103
9+
[09-Dec-2021 14:22:27 UTC] PHP Warning: min(): Array must contain at least one element in E:\Ampps\www\kchat\box\core\sandesh.php on line 407
10+
[09-Dec-2021 14:22:27 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`kchat`.`kcso_group_users`, CONSTRAINT `group_users_ibfk_2` FOREIGN KEY (`users`) REFERENCES `kcso_users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE) in E:\Ampps\www\kchat\box\core\sandesh.php:103
1611
Stack trace:
1712
#0 E:\Ampps\www\kchat\box\core\sandesh.php(103): PDOStatement->execute(Array)
1813
#1 E:\Ampps\www\kchat\box\core\kchat.php(159): KChat->start(Array)
1914
#2 E:\Ampps\www\kchat\box\kchat.php(18): require_once('E:\\Ampps\\www\\kc...')
2015
#3 {main}
2116
thrown in E:\Ampps\www\kchat\box\core\sandesh.php on line 103
22-
[09-Dec-2021 14:17:05 UTC] PHP Warning: min(): Array must contain at least one element in E:\Ampps\www\kchat\box\core\sandesh.php on line 407
23-
[09-Dec-2021 14:17:05 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`kchat`.`kcso_group_users`, CONSTRAINT `group_users_ibfk_2` FOREIGN KEY (`users`) REFERENCES `kcso_users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE) in E:\Ampps\www\kchat\box\core\sandesh.php:103
17+
[09-Dec-2021 14:22:55 UTC] PHP Warning: min(): Array must contain at least one element in E:\Ampps\www\kchat\box\core\sandesh.php on line 407
18+
[09-Dec-2021 14:22:56 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`kchat`.`kcso_group_users`, CONSTRAINT `group_users_ibfk_2` FOREIGN KEY (`users`) REFERENCES `kcso_users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE) in E:\Ampps\www\kchat\box\core\sandesh.php:103
2419
Stack trace:
2520
#0 E:\Ampps\www\kchat\box\core\sandesh.php(103): PDOStatement->execute(Array)
2621
#1 E:\Ampps\www\kchat\box\core\kchat.php(159): KChat->start(Array)

0 commit comments

Comments
 (0)