I’m getting the following error (alert box) after clicking submit during file upload:
“SyntaxError: Unexpected token <“
Please share code and screenshot of the issue. You can email me at [email protected]
Hello Abu,
Thanks for responding. I pick an image from the edit form. When I click submit, I get an alert box shown in the image. If I click OK, It still works but I can’t get rid of the alert.
The screen shots are here:
http://zomanaplaza.com/phpgrid/PHPGRID-FileUpload-Error.pdf
Relevant Code segment:
$dg = new C_DataGrid(“SELECT * FROM users_with_pic”, “rec_id”, “users_with_pic”);
$dg ->set_col_fileupload(“picture”, “/myApps/phpGrid_Enterprise_v7.2.6_WK_SHEET/examples/SampleImages/”);
$dg->set_col_img(“picture”, “/myApps/phpGrid_Enterprise_v7.2.6_WK_SHEET/examples/SampleImages/”);
We do not support this library. Please visit relevant website where you downloaded this product.