• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

WoWonder - The Ultimate PHP Social Network Platforms

WoWonder - The Ultimate PHP Social Network Platform v4.3.3 12-29-2023

No permission to download
when making a new post it just keeps loading

CPANEL shared hosting
PHP 7.4
 

Attachments

  • Screenshot_2.png
    Screenshot_2.png
    39.6 KB · Views: 4
try to check previous page and you will find what's the problem that make this bug happen.
Hello, first of all thank you for your help. The case is, no matter if I install NodeJS and use it or not, cache or not cache, the issue could´t solve...

The Error Log tell me,.. - - [23/Sep/2021:18:22:32 +0200] "GET /requests.php?f=load_posts HTTP/2.0"
anybody any idea,. what to change in request.php
 
Hello, first of all thank you for your help. The case is, no matter if I install NodeJS and use it or not, cache or not cache, the issue could´t solve...

The Error Log tell me,.. - - [23/Sep/2021:18:22:32 +0200] "GET /requests.php?f=load_posts HTTP/2.0"
anybody any idea,. what to change in request.php

maybe u miss some point.. u need to use http/1.1 instead http/2.0
 
  • Like
Reactions: Tommyman
}
if (!in_array($f, $allow_array)) {
if (!empty($_SERVER['HTTP_X_REQUESTED_WITH'])) {
if (strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) != 'xmlhttprequest') {
exit("Restrcited Area");
}
} else {
exit("Restrcited Area");
}
}
if (!in_array($f, $non_login_array)) {
if ($wo['loggedin'] == false && ($s != 'load_more_posts')) {
if ($s != 'load-comments') {
exit("Please login or signup to continue.");
}
}

This is the code, are you sure, that its because of http2 .. is there any possibility to change in htaccess,..
I will try to change it like you recommend,.. but worry that i destroy something in my configuration,..

EDIT: now i see in the logfiles, that 2.0 is only in the loading error,.- mostly every other solution is on 1.1
 
}
if (!in_array($f, $allow_array)) {
if (!empty($_SERVER['HTTP_X_REQUESTED_WITH'])) {
if (strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) != 'xmlhttprequest') {
exit("Restrcited Area");
}
} else {
exit("Restrcited Area");
}
}
if (!in_array($f, $non_login_array)) {
if ($wo['loggedin'] == false && ($s != 'load_more_posts')) {
if ($s != 'load-comments') {
exit("Please login or signup to continue.");
}
}

This is the code, are you sure, that its because of http2 .. is there any possibility to change in htaccess,..
I will try to change it like you recommend,.. but worry that i destroy something in my configuration,..

EDIT: now i see in the logfiles, that 2.0 is only in the loading error,.- mostly every other solution is on 1.1

read this..
http 1.1 with http2 disabled, you can find it in the modules depending on your hosting then it should work fine, so far only http2 module presents a bug (infinite loading)

already try with htaccess but not work.

Code:
RewriteCond %{SERVER_PROTOCOL} ^HTTP/2\.0$ [NC]
RewriteRule . [F,L]
 
}
if (! in_array ($ f, $ allow_array)) {
if (! vazio ($ _ SERVER ['HTTP_X_REQUESTED_WITH'])) {
if (strtolower ($ _ SERVER ['HTTP_X_REQUESTED_WITH'])! = 'xmlhttprequest') {
saída ("Área restrita");
}
} outro {
saída ("Área restrita");
}
}
if (! in_array ($ f, $ non_login_array)) {
if ($ wo ['loggingin'] == false && ($ s! = 'load_more_posts')) {
if ($ s! = 'carregar comentários') {
exit ("Faça o login ou cadastre-se para continuar.");
}
}

Este é o código, tem certeza, que é por causa do http2 .. existe alguma possibilidade de alteração no htaccess, ..
Vou tentar mudá-lo como você recomenda, .. mas temo que eu destrua algo em minha configuração ..

EDIT: agora vejo nos arquivos de log, que 2.0 está apenas no erro de carregamento, .- principalmente todas as outras soluções estão em 1.1


managed to resolve?
 
managed to resolve?
I play with the htaccess, try to implement this one

# REQUIRE HTTP 1.1 POST <IfModule mod_rewrite.c> RewriteCond %{THE_REQUEST} !^POST\ HTTP/1\.1$ [NC] RewriteRule .* - [F,L] </IfModule>

but no chance,..
I will change on my apache server, the httpd.conf to http 1.1, but worried about the consequenzes for any other issues, or it doesnt matter 2.0 or 1.1?
 
  • Like
Reactions: silvagno
The Loading Problem is solved,.. So like we spoke,. it was the issue that my server, like many server uses the http 2.0 protocol. I input in my kind of panel the SSL entrys,..

I put in
<IfModule http2_module>
ProtocolsHonorOrder On
Protocols http/1.1
</IfModule>

after I press Go,.. the issue was immediently solved
 
  • Like
Reactions: XZNT
in htaccess ??
I have a cloud hosting, so i have a different cpanel as you,,. i dont think you have a chance in the htaccess,.. if you have the possibility the use ssh, its possible, or you have, for your ssl entrys, such a form like in the attachment

EDIT
if you have access to the root, you need to change the httpd.conf in case you use a apache server, this change is only for the domain, but you can make it for a php version in general
 

Attachments

  • Bildschirmfoto 2021-09-24 um 13.56.52.png
    Bildschirmfoto 2021-09-24 um 13.56.52.png
    82.8 KB · Views: 52
Yes ! but i don't use ssh yet , can i get a tutorial or instruction documentation ? sorry for my lack of knowledge
Which Server did you use?
Which System did you use, Linux?
Do you have root to your hosting? or ssh permission to change different settings?
Which Panel do you use?
 
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock