File upload with oracle error

QuestionsFile upload with oracle error
Samsun asked 9 years ago

Hello,

I have grid with upload file. With the same code if use mysql is no prblem. But if use oracle the upload function not success.
May have advise for me?

Regards, Samsun.

2 Answers
Abu Ghufran answered 9 years ago

It only stores filename in database tables that is plain string (no upload process in it)
Upload process is same irrespective of any database and it is done on PHP side.

Please confirm if there is some JS error in debug console F12.
Send screenshot if any.

Abu Ghufran answered 9 years ago

In screenshot, i can see a warning. So first way is to disable the warnings in php,ini.

Second, edit the jqgrid_dist.php and find "mkdir" and put if file_exists condition above it.

if(!file_exists($uploads_dir))
@mkdir($uploads_dir,0755,true);

Your Answer

13 + 5 =

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?