Issue with Automatic File Upload Not Working Properly
Issue with Automatic File Upload Not Working Properly
I want to solve the problem of automatically uploading files to the website. I tried using the (Upload) button, but it puts the site in maintenance mode and then closes it without uploading the modified files as shown in the attached image. Please note that I have uploaded the (file-uploader.php) to the root directory.
It only activates maintenance mode and then deactivates it without uploading the files
It only activates maintenance mode and then deactivates it without uploading the files
WafyFawaz From KSA
Re: Issue with Automatic File Upload Not Working Properly
Please check the upload.log file inside your local app folder. It should contain more details about what's going on.
AppGini plugins to add more power to your apps:
- DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
- Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.
- Need personalized consulting on your specific app and customizations? Book an online call with me here.
Re: Issue with Automatic File Upload Not Working Properly
In my upload log file says: 'file-uploader.php' is configured with the correct secret upload key: FAILED
All the other checks are OK.
What should I do?
All the other checks are OK.
What should I do?
Re: Issue with Automatic File Upload Not Working Properly
Is it https?
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.14 Revision 1665 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.14 Revision 1665 + all AppGini Helper tools
Re: Issue with Automatic File Upload Not Working Properly
Yes, Application URL https://g_______.online/app
Even after manually upload file-uploader.php to remote server, the error message exists.
Even after manually upload file-uploader.php to remote server, the error message exists.
Re: Issue with Automatic File Upload Not Working Properly
I don't know if this helps in your scenario:https://g_______.online/app
I once had similar problems when pointing to a subdomain of a website in which the SSL-certificate was not a wildcard-certificate. Certificate worked for
https://www.MYSITE.de/path
but not for https://subdomain.MYSITE.de
.
- To be precise: The browser-redirection from
subdomain.mysite.de
to app-directorywww.mysite.de/mypath
worked fine in browser, but AppGini upload process failed in one of the last steps after telling me thatfile-uploader.php
was found.
xyz.YOURDOMAIN.online
of www.YOURSITE.online
, as I can see from your last answer, you could check with a sub-directory under the main domain, eg https://www.YOURSITE.online/xyz
. Strange, and I spent a lot of time in finding that, but finally, that helped in my case.
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.14 Revision 1665 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.14 Revision 1665 + all AppGini Helper tools
Re: Issue with Automatic File Upload Not Working Properly
At first, many thanks for Mr Jsetzer for your effort to help me. I'm confirm that the upload files going to https://mydomain.online/app
Unfortunately, it always failed using the automatic upload feature. So I do manually upload the generated files.
My regards,
Soewandi
Unfortunately, it always failed using the automatic upload feature. So I do manually upload the generated files.
My regards,
Soewandi
Re: Issue with Automatic File Upload Not Working Properly
ok this file upload
31/08/24 04:29:58 م:
Started uploading files from: C:\Users\******* ohs
to: https://ohs******/ohs
Secret upload key configured in AppGini Preferences: Ok
Application URL specified in project properties > Security settings: Ok
curl is installed: Ok
Application URL is valid: Ok
'file-uploader.php' uploaded to your server: Ok
'file-uploader.php' is configured with the correct secret upload key: Ok
Retrieving md5 hashes of local files ...
31/08/24 04:30:04 م: Storing md5 hashes of local files to c:\Users\********ohs\md5s.832782.tmp
Executing cmd /c ""C:\Program Files (x86)\AppGini\md5sum.exe" -r "c:\************ ohs" > "c:\Users\******** ohs\md5s.832782.tmp.tmp" && copy "c:\Users\***** ohs\md5s.832782.tmp.tmp" "c:\Users\*******ohs\md5s.832782.tmp""
31/08/24 04:30:23 م: Finished storing hashes. File contains 454 lines.
Parsing local md5 hashes temp file: c:\Users\********** ohs\md5s.832782.tmp
Done parsing c:\Users\************ohs\md5s.832782.tmp
Checking remote file md5 hashes ...
Lines in remote response: -1
Listing local files ...
Uploading changed files ...
Maintenance mode: On
Maintenance mode: Off
Finshed processing 0 files! Uploaded: 0, Skipped: 0, Failed: 0
WafyFawaz From KSA
Re: Issue with Automatic File Upload Not Working Properly
This is the problem line (should be a postive number rather than -1) ... usually indicates incorrect folder permissions on the server .. Make sure the folder owner and the owner ofLines in remote response: -1
file-uploader.php
is the same as the owner of the apache server process. This is usually www-data
but could differ depending on your server config. You can change the folder owner via FTP, or through this shell command (run from within the folder containing your AppGini app):Code: Select all
sudo chown -R www-data:www-data .
www-data
to the username running apache process. AppGini plugins to add more power to your apps:
- DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
- Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.
- Need personalized consulting on your specific app and customizations? Book an online call with me here.
Re: Issue with Automatic File Upload Not Working Properly
Hello Sir, until now I'm still can't use Automatic File Upload to remote server.
My upload file log content as:
11/27/2024 10:54:54 AM:
Started uploading files from: C:\xampp\htdocs\myaplication\app
to: https://gkisulung.org/myaplication/app
Secret upload key configured in AppGini Preferences: Ok
Application URL specified in project properties > Security settings: Ok
curl is installed: Ok
Application URL is valid: Ok
'file-uploader.php' uploaded to your server: Ok
'file-uploader.php' is configured with the correct secret upload key: FAILED
Uploading aborted due to failed check(s)
Please help me and thank you in advanced.
My regards,
Soewandi
My upload file log content as:
11/27/2024 10:54:54 AM:
Started uploading files from: C:\xampp\htdocs\myaplication\app
to: https://gkisulung.org/myaplication/app
Secret upload key configured in AppGini Preferences: Ok
Application URL specified in project properties > Security settings: Ok
curl is installed: Ok
Application URL is valid: Ok
'file-uploader.php' uploaded to your server: Ok
'file-uploader.php' is configured with the correct secret upload key: FAILED
Uploading aborted due to failed check(s)
Please help me and thank you in advanced.
My regards,
Soewandi
Re: Issue with Automatic File Upload Not Working Properly
Hello
I updated to AppGini 24.18 today. Since then, the automatic file upload no longer works.
The security key is correct! In AppGini and in the file.
The upload log says this.
Is there a solution? Kind regards Josef F.
I updated to AppGini 24.18 today. Since then, the automatic file upload no longer works.
The security key is correct! In AppGini and in the file.
The upload log says this.
Is there a solution? Kind regards Josef F.
Re: Issue with Automatic File Upload Not Working Properly
Hello everyone
Found an error! The antivirus program prevented the upload. If you stop the protection, the upload works perfectly!
Best wishes
Found an error! The antivirus program prevented the upload. If you stop the protection, the upload works perfectly!
Best wishes
Re: Issue with Automatic File Upload Not Working Properly
Hello jfischer - Yes you're right. I tried to deactivate the anti virus program (AVG) and then success to upload all files to remote server.
Many thanks for your info.
Best regards,
Soewandi
Many thanks for your info.
Best regards,
Soewandi