Skip to content

Commit

Permalink
--
Browse files Browse the repository at this point in the history
--
  • Loading branch information
GaneshKandu committed Dec 9, 2021
1 parent aec60b3 commit 16edd65
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 20 deletions.
4 changes: 0 additions & 4 deletions box/assets/js/kchat.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,6 @@ kbox.start = (function(){
var kchat_email = $( "#kchat_email" ).val();
var kchat_dept = $( "#kchat_dept" ).val();
var kchat_msg = $( "#kchat_msg" ).val();
if(kchat_fname || kchat_lname || kchat_email || kchat_msg){
alert("Please Fill all fields");
return false;
}
$.post(kbox.url + "kchat.php?start",
{
kchat_start: 'kchat_start',
Expand Down
27 changes: 11 additions & 16 deletions box/logs/error.log
Original file line number Diff line number Diff line change
@@ -1,26 +1,21 @@
[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
[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
[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
Stack trace:
#0 E:\Ampps\www\kchat\box\core\sandesh.php(394): PDO->prepare('SELECT `sender_...')
#1 E:\Ampps\www\kchat\box\core\sandesh.php(66): KChat->getSupportid('1')
#2 E:\Ampps\www\kchat\box\core\kchat.php(159): KChat->start(Array)
#3 E:\Ampps\www\kchat\box\kchat.php(18): require_once('E:\\Ampps\\www\\kc...')
#4 {main}
thrown in E:\Ampps\www\kchat\box\core\sandesh.php on line 394
[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
[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
[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
[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
[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
[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
[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
#0 E:\Ampps\www\kchat\box\core\sandesh.php(103): PDOStatement->execute(Array)
#1 E:\Ampps\www\kchat\box\core\kchat.php(159): KChat->start(Array)
#2 E:\Ampps\www\kchat\box\kchat.php(18): require_once('E:\\Ampps\\www\\kc...')
#3 {main}
thrown in E:\Ampps\www\kchat\box\core\sandesh.php on line 103
[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
[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
Stack trace:
#0 E:\Ampps\www\kchat\box\core\sandesh.php(103): PDOStatement->execute(Array)
#1 E:\Ampps\www\kchat\box\core\kchat.php(159): KChat->start(Array)
#2 E:\Ampps\www\kchat\box\kchat.php(18): require_once('E:\\Ampps\\www\\kc...')
#3 {main}
thrown in E:\Ampps\www\kchat\box\core\sandesh.php on line 103
[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
[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
[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
[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
Stack trace:
#0 E:\Ampps\www\kchat\box\core\sandesh.php(103): PDOStatement->execute(Array)
#1 E:\Ampps\www\kchat\box\core\kchat.php(159): KChat->start(Array)
Expand Down

0 comments on commit 16edd65

Please sign in to comment.