Hello all, for those who are getting formatException(Unexpected character(character 1) error it may be because of the sql query defined in PHP file. I encountered this error because i was using mysqli_connection instead of mysqli_query. Changing to mysqli_query($con,$query) fixed the error.
and what i did last debug it was deleting conn.php and adding in every file connect not using from another file as (include '../conn.php'), this gonna help just try it.
Thanks sir. But it has an error accurred for me that is: formatException(Unexpected character(at line5, character 1) What do u think about this error??
@@CodingCafe I don't think sooo, bkz sometime it insert empty record on db. And also from admin panel it works fine. And insert signup new users. Just it shows error in application. And
I have the source code. I literally copied and pasted his source code of all the PHP files until now. Still got the same error. What makes me even frustrated is his arrogant attitude. He doesn't think his code is wrong. I can send you guys the source code if you need.
@@yananmatthewxie revisa en tu php de signup o sino ve probando con mensajes de flutter hasta que llegues al punto donde te muestre el error y con eso puedes ver el lugar exacto donde se esta generando el error y poder solucionar
sir i have test my api in post man and there is no error in backend api but im getting formatException:unexpected character ( at character 1) please help to resolve this if u want me to help in this course
@@Ichanyr btw i can run it properly It's my fault that I forgot on the signup_screen. dart file put validateUserEmail(); but yeah tnx for the reply :)))
I have the source code. I literally copied and pasted his source code of all the PHP files until now. Still got the same error. What makes me even frustrated is his arrogant attitude. He doesn't think his code is wrong. I can send you guys the source code if you need.
@@yananmatthewxie mr. with due respect, why i will be arrogant with you. Please don't be rude. Error, simple indicates that you have problem in your backend php file. Instead of copy paste, please watch video step by step and you will learn and make your own fully functional app. Or you can directly contact me instagram: alizeb438
Hm.... Error in Format Exception : syntax error is not valid JSON. because body : {'user_email': emailController.text.trim()} if i comment this, register successfully but my email validate not work. How to solve?
Hi sir I am facing this error while validating the email means it runs a catch block while the status code is 200 it means it is hitting the api but there is somewhere formate is not correct please help me to get ride of this FormatException: Unexpected character (at character 1) I/flutter ( 7330): I/flutter ( 7330): ^
my register button didnt work, and on my php validate have this error Warning: Undefined array key "user_email" in C:\xampp\htdocs\aid_planner\user\validate_email.php on line 4 Fatal error: Uncaught mysqli_sql_exception: Unknown column '' in 'where clause' in C:\xampp\htdocs\aid_planner\user\validate_email.php:8 Stack trace: #0 C:\xampp\htdocs\aid_planner\user\validate_email.php(8): mysqli->query('SELECT * FROM s...') #1 {main} thrown in C:\xampp\htdocs\aid_planner\user\validate_email.php on line 8
Hello all, for those who are getting formatException(Unexpected character(character 1) error it may be because of the sql query defined in PHP file. I encountered this error because i was using mysqli_connection instead of mysqli_query. Changing to mysqli_query($con,$query) fixed the error.
for me it is still not fixed, do you have any solution?
but i am not using msqli_query still getting it
@@abubakarkamal1187 i just fixed it, i just reinstalled the vsc and retype the code in login.php and it runs.
@@kyleangela1053 still getting it
and what i did last debug it was deleting conn.php and adding in every file connect not using from another file as (include '../conn.php'), this gonna help just try it.
thank u sir
Working fine with me..
thanks a lot
Sir i am buy your project from udemy help me sir one problem Format exception Unexpected character please help me sir
You used Android studio and VScode. Can i use Vscode for both?
Thanks sir.
But it has an error accurred for me that is: formatException(Unexpected character(at line5, character 1)
What do u think about this error??
you have write something wrong in backend .php file. Please check.
@@CodingCafe I don't think sooo, bkz sometime it insert empty record on db.
And also from admin panel it works fine. And insert signup new users.
Just it shows error in application.
And
I have the source code. I literally copied and pasted his source code of all the PHP files until now. Still got the same error. What makes me even frustrated is his arrogant attitude. He doesn't think his code is wrong. I can send you guys the source code if you need.
@@yananmatthewxie revisa en tu php de signup o sino ve probando con mensajes de flutter hasta que llegues al punto donde te muestre el error y con eso puedes ver el lugar exacto donde se esta generando el error y poder solucionar
@@yananmatthewxie can i have the source code?
sir i have test my api in post man and there is no error in backend api but im getting formatException:unexpected character ( at character 1) please help to resolve this if u want me to help in this course
Do you have the solution to fix it?
solution?
@@rajeeell do you have the solution?
Hello i have also an error in valide_email.php file undefined index user_email how can I fix it?
I have the same problem and .. the same problem whit singup.php
do u have a solution for your problem?
@@adamouseydou8993 no but today i will try to find it
I can fix it. Please show me your code.
@@kyawthu3755 how
my register section why doesn't the notif appear below yes sir? guess what went wrong?
same here, did you fix it?
@@kyleangela1053 nope
@@Ichanyr btw i can run it properly It's my fault that I forgot on the signup_screen. dart file put validateUserEmail(); but yeah tnx for the reply :)))
@@kyleangela1053 I need a video of your problem
@@kyleangela1053 same have u a solution
I have error but not showing what's the error. When I tap on the sign up button, there is not pop up or anything. Can someone help me with this error?
error type 'String' is not a subtype of type 'int' of 'index'
❤
Format exception: SyntaxError: unexpected token 'C', "Connection"...is not valid JSON
How to solve these error sir ?
look the replies at @isaqpasha394
HOW TO FIX THE ERROR
next video plz
Hi sir
it has an error accurred for me that is: formatException(Unexpected character(at line5, character 1)
Is it working for you??
@@atena_ma412 same error me bro, how can solved this error, please help me
I don't know, if u solve it , plz share me
you have write something wrong in backend .php file. Please check.
@@CodingCafe there is nothing wrong 😑 maybe u forget to show us an important step so that is why most of the comments have the sammmmme error
But it has an error accurred for me that is: formatException(Unexpected character(at line5, character 1) how can solved it, anyone help me please
you have write something wrong in backend .php file. Please check.
I have the source code. I literally copied and pasted his source code of all the PHP files until now. Still got the same error. What makes me even frustrated is his arrogant attitude. He doesn't think his code is wrong. I can send you guys the source code if you need.
@@yananmatthewxie mr. with due respect, why i will be arrogant with you. Please don't be rude. Error, simple indicates that you have problem in your backend php file. Instead of copy paste, please watch video step by step and you will learn and make your own fully functional app.
Or you can directly contact me instagram: alizeb438
@@yananmatthewxie Any solution?
FormatException: Unexpected character (at character 1)
did anyone solve this error?
Mee two bro
Hm.... Error in Format Exception : syntax error is not valid JSON. because body : {'user_email': emailController.text.trim()} if i comment this, register successfully but my email validate not work.
How to solve?
Hi sir I am facing this error while validating the email means it runs a catch block while the status code is 200 it means it is hitting the api but there is somewhere formate is not correct please help me to get ride of this
FormatException: Unexpected character (at character 1)
I/flutter ( 7330):
I/flutter ( 7330): ^
It's done and ready to go....
How do you fix it bro?
@@toontalesanimation how did you fix the error?
How did u fix it😭
Do you have the solution to fix it?
excuse me sir i have a question in insta thank you
my register button didnt work, and on my php validate have this error
Warning: Undefined array key "user_email" in C:\xampp\htdocs\aid_planner\user\validate_email.php on line 4
Fatal error: Uncaught mysqli_sql_exception: Unknown column '' in 'where clause' in C:\xampp\htdocs\aid_planner\user\validate_email.php:8 Stack trace: #0 C:\xampp\htdocs\aid_planner\user\validate_email.php(8): mysqli->query('SELECT * FROM s...') #1 {main} thrown in C:\xampp\htdocs\aid_planner\user\validate_email.php on line 8
Just Follow Ali's video carefully, even i got the same issue and I got rectified...
did you solve the first error i couldn't know why ?
FormatException: Unexpected character (at character 1) did anyone solve this error ?
fixed , i had ( ) in validation email and not [ ] $userEmail = $_POST['user_email'];
Me