Error when uploading image

QuestionsError when uploading image
Wilson asked 6 years ago

I’m getting the following error (alert box) after clicking submit during file upload:

“SyntaxError: Unexpected token <“

3 Answers
Abu Ghufran Staff answered 6 years ago

Please share code and screenshot of the issue. You can email me at [email protected]

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
wilson okushi answered 6 years ago

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/”);

Abu Ghufran Staff answered 6 years ago

We do not support this library. Please visit relevant website where you downloaded this product.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

2 + 2 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?