Page 1 of 1

Error from server 500

Posted: Thu Jun 06, 2024 9:33 am
by Oleksandr
Good day.

The following situation arose.
Now one of my pages started getting server error 500 when I publish it using wwb tools.
I have a saved archive of my project from 15 days ago.
when i publish this same page using wwb tools but from old version it works very well and no server error.
I tried to import it from the archived version to the existing one. The imported page also conflicts with the server after publishing it using wwb tools.
tell me what can influence this behavior of wwb when publishing the same page from different versions of the project.
As far as I understand, the code generation started doing it differently, which causes the conflict in this situation, for this page

Re: Error from server 500

Posted: Thu Jun 06, 2024 10:11 am
by BaconFries
This is unrelated to the software in anyway it is a response from your server. It generally means it encountered an unexpected condition and cannot fulfill the request at this time. You should be able to see what caused this by viewing the server logs.

Re: Error from server 500

Posted: Thu Jun 06, 2024 10:14 am
by wwonderfull
Not sure about your page without seeing any demo but PHP pages can encounter errors, which can result in an HTTP 500 status code being returned to the user.

In PHP, errors can occur due to various reasons, such as syntax errors, runtime errors, database connection issues, file permission problems, or resource exhaustion. When these errors happen and they are not handled properly by the PHP code, they can lead to the server returning a 500 error to the client.

Re: Error from server 500

Posted: Thu Jun 06, 2024 10:16 am
by Pablo
It is very difficult to help you without more context.
But you may be able to find out what is wrong by looking at the PHP log on the server.

If you need further assistance then please provide more information. See also the forum rules.

Re: Error from server 500

Posted: Thu Jun 06, 2024 10:45 am
by Oleksandr
I have already checked the server error log, it is empty.
I understand that this is not related to how wwb works.
I had in mind some settings of site properties or pages that I could change that could lead to such consequences

Re: Error from server 500

Posted: Thu Jun 06, 2024 11:20 am
by Pablo
The software has thousands of options and millions of possible combinations.
If you need help then please try to be more specific.

Image

Re: Error from server 500

Posted: Thu Jun 06, 2024 12:14 pm
by Oleksandr
working

does not work

Re: Error from server 500

Posted: Thu Jun 06, 2024 3:44 pm
by Pablo
Are you referring to the 'vibir_instruktuemogo' page?

The (custom code) of this page is incorrect.
For example you have inserted the code in the head section.
Also, there is a random div at the start of the code.

Another difference is that the page that is not working is configured to use themes. Which does not make much sense if the code only contains custom code.

I think you will need to review all your settings and code.
Note: I cannot help you with custom code.

Re: Error from server 500

Posted: Fri Jun 07, 2024 4:36 am
by Oleksandr
Thanks for the clarification. This is very useful for me. Your support has always helped me figure things out.