kalcaddle / kodbox

kodbox is a file manager for web. It is a newly designed product based on kodexplorer. It is also a web code editor, which allows you to develop websites directly within the web browser.You can run kodbox either online or locally,on Linux, Windows or Mac based platforms
https://kodcloud.com
2.18k stars 373 forks source link

1.40 can't upload any file #166

Closed RallyTuning closed 1 year ago

RallyTuning commented 1 year ago

Since i update to 1.40 i can't upload any file. Error 403 access denied. Cache cleaned + logoff and logon. Still not work.

In the same host i have another version running, the 1.37 and is working good.

kalcaddle commented 1 year ago

When asking questions, try to provide the operating environment [server: system and version, php version, web server and version; client: operating system and version, browser or App type and version]; for example

server: centos 8.1 / php8.1 / nginx 1.2 / mysql 5.6
client: windows 11 / chrome 101

We did not find this problem, it may be caused by server compatibility issues. 1.40 In the upload part, in order to optimize the speed, we use binary upload by default. It may be optimized with this one, provide the server operating environment, and we will make it compatible. It would be better if you can provide an access site and account(email: warlee#kodcloud.com)

RallyTuning commented 1 year ago

When asking questions, try to provide the operating environment [server: system and version, php version, web server and version; client: operating system and version, browser or App type and version]

Sorry for that, but i thought was useless considering what i said before: "In the same host i have another version running, the 1.37 and is working good". This means that in the SAME HOST i have TWO KodBox, one 1.40 and one 1.37. The 1.37 works good, the 1.40 no more after the update. But for be more detailed as possible, here are all the details: image

We did not find this problem, it may be caused by server compatibility issues. 1.40 In the upload part, in order to optimize the speed, we use binary upload by default. It may be optimized with this one, provide the server operating environment, and we will make it compatible. It would be better if you can provide an access site and account(email: warlee#kodcloud.com)

Take a look at the details, if there is all ok and still can't find the problem, i will send the email with a temp account to give you access.

kalcaddle commented 1 year ago

we still cannot find this problem ,  please email to me a temp site/admin account , thanks.

------------------ Original ------------------ From: Gianluigi @.> Date: Thu,Jun 1,2023 11:39 PM To: kalcaddle/kodbox @.> Cc: warlee @.>, Comment @.> Subject: Re: [kalcaddle/kodbox] 1.40 can't upload any file (Issue #166)

When asking questions, try to provide the operating environment [server: system and version, php version, web server and version; client: operating system and version, browser or App type and version]

Sorry for that, but i thought was useless considering what i said before: "In the same host i have another version running, the 1.37 and is working good". This means that in the SAME HOST i have TWO KodBox, one 1.40 and one 1.37. The 1.37 works good, the 1.40 no more after the update. But for be more detailed as possible, here are all the details:

We did not find this problem, it may be caused by server compatibility issues. 1.40 In the upload part, in order to optimize the speed, we use binary upload by default. It may be optimized with this one, provide the server operating environment, and we will make it compatible. It would be better if you can provide an access site and account(email: warlee#kodcloud.com)

Take a look at the details, if there is all ok and still can't find the problem, i will send the email with a temp account to give you access.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

RallyTuning commented 1 year ago

Email sent

kalcaddle commented 1 year ago

1.41 has fixed, you can have a try.

Some servers are configured with security and other circumstances (apache binary upload 403), and cannot be compatible with binary upload (automatically detect and cache the result)

RallyTuning commented 11 months ago

1.41 was fixed, but since 1.42 its broken again. I have update to 1.44 just now and still can't upload (error 403, access denied. Same problem as the original post)

RallyTuning commented 11 months ago

@kalcaddle Another info, as the first post say, i still have another host with the old 1.37 version and there is still working 100%. I'm thinking to copy-paste this version to my main host and stay with this forever :D

kalcaddle commented 11 months ago

This issue has been handled with compatibility and runs well on similar servers. Through the website you provided earlier, we found that you have not enabled or disabled the "client" plugin. The relevant functional adaptation is written in this plugin. Please enable or enable the "client" plugin in the plugin center.

If you really want to disable this plugin.You can manually configure the upload method. Add the following content to config/setting_user.php

$config['settings']['upload']['sendAsBinary']=0;

By the way. It's not that 1.41 was fixed, but it reappeared after 1.42 and 1.43. As long as it is a version after 1.41 and the client plugin is disabled or uninstalled, this will happen because the automatic recognition and compatibility related functions are included in this plugin. After version 1.41, we change the default upload method to streaming upload, which will have higher performance.

RallyTuning commented 11 months ago

@kalcaddle Thanks for the detailed answer. After enabled the Client plugin, the upload works again. I have disabled it because i don't use the PC app, just the web interface, so i thought would be a performance saver to disable plugin that i don't use. But i will keep it enabled now. Anyway, i will save the $config entry, just in case i need it in future. Thanks!