Open michelefaccini opened 7 months ago
I fixed the problem setting the systemRootPath as the line below in the configuration.php file.
$global['systemRootPath']= dirname(___DIR___,2).
'/AVideo-master/';
Now I have a Bad Gateway 502 error if I try to sign in. The sign up runs well because the new user is added to the database.
Is it possibly something related to the .htaccess file ?
I don't understand because the .htaccess file is set to permit cross origin
# Set Access-Control-Allow-Origin for multiple file types
<FilesMatch "\.(php|ico|pdf|flv|jpg|jpeg|png|gif|swf|ts|webp|mp3|mp4|woff2|css|html|htm|key|m3u8)$">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>
The log file 👍
Nobody out there ?
This is an error regarding your custom configuration nas and proxy
I must be able to reproduce to be able to help
Hi Daniel, I'm looking forward to use your amazing script. I'm afraid to mess up my Synology NAS because I'm not at all an expert. I have never configured a proxy on my NAS neither I do know how that works.... I will google a little bit. Thanks for the tip.
Can a redirect upon an existing redirect generate a bad gateway error ?. Is it an infinite loop ?
Il Gio 16 Nov 2023, 11:23 Daniel Neto @.***> ha scritto:
This is an error regarding your custom configuration nas and proxy
I must be able to reproduce to be able to help
— Reply to this email directly, view it on GitHub https://github.com/WWBN/AVideo/issues/8623#issuecomment-1814164543, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASNFPGT6NJAX4VU3QVT2TB3YEXSSTAVCNFSM6AAAAAA7IUYPMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJUGE3DINJUGM . You are receiving this because you modified the open/close state.Message ID: @.***>
As another tip
if is error 500 it may be an AVideo code error or may be related to the NAS configuration if is error 502 or 503 it is your proxy configuration
It is a 502 error.I do not have a proxy server. I don't know how to solve... Is it possible to open a ticket and pay for the service ?
Comprehensive Installation Services: Please note that I do not provide partial installation services. To ensure the highest quality and efficiency, my services encompass a full installation procedure.
Hourly Consultation Option: If you prefer a more flexible approach, I offer my services on an hourly basis. However, I must inform you that in such cases, I cannot guarantee the successful completion of the installation within a specific time frame. This is due to the variable nature of technical challenges that might arise during the process.
Recommended Approach - Clean Installation: In my professional opinion, the most effective and reliable method to install AVideo is through a clean installation. This would require:
Basic Installation Service: Once the above prerequisites are met, you can engage my services for a basic installation of AVideo. This approach significantly increases the likelihood of a seamless and successful installation, providing you with a robust and properly functioning AVideo setup.
At login form, nothing is sent ? Or because there are no credentials with the XMLHttpRequest ?
, Qt = ce.ajaxSettings.xhr(); le.cors = !!Qt && "withCredentials"in Qt,
The server (that the POST request is sent to) needs to include the Access-Control-Allow-Headers header (etc) in its response. Putting them in your request from the client has no effect. You should remove the 'Access-Control-Allow-...' headers from your POST request.
This is because it is up to the server to specify that it accepts cross-origin requests (and that it permits the Content-Type request header, and so on) – the client cannot decide for itself that a given server should allow CORS.
The requestor (web browser) may 'preflight' test what the server's Same Origin Policy is by sending an 'OPTIONS' request (ie not the 'POST' or 'GET' request you intend). If the response to the 'OPTIONS' request contains 'Access-Control-Allow-...' headers that permit the headers, origin, or methods your request is using, then the requester/browser will send your 'POST' or 'GET' request.
For cross-domain requests, setting the content type to anything other than application/x-www-form-urlencoded, multipart/form-data, or text/plain will trigger the browser to send a preflight OPTIONS request to the server.
I managed to fix the error modifying the function allowOrigin()
what did you change in the allowOrigin()?
Only the index page is found but with no css all the other file are simply not found even if they are in the right place I suspect this is a .htaccess issue on my Synology NAS. The installation didn't give me any fault. Please,I need help on how to eventually tweak the .htaccess file
Warning: Undefined array key "systemRootPath" in /volume1/web/sito2/music videos/locale/function.php on line 206 Warning: Undefined array key "systemRootPath" in /volume1/web/sito2/music videos/locale/function.php on line 215 Warning: Undefined array key "systemRootPath" in /volume1/web/sito2/music videos/locale/function.php on line 223
Where can I set systemRootPath ? Pages are not found because the path seems to be empty.