Blog not working
Auteur : Giovanny P.
Visité 762,
Followers 1,
Partagé 0
My BLOG tool stopped working. I've updated the Website X5 and now Blog doesn't work anymore. I add the articles as I usually do, but when I put the site on my server (that i've been using for years), I can't access this section... not any article and not the blog page. Can someone help me, please?
I Receive the HTTP ERROR 500
The blog page of my site is https://www.secmesp.org.br/blog/
Posté le
Hello Giovanny,
unfortunately error 500 is an unspecified error on the server's side which usually does not display details, so in order to have additional information about what is causing, it I recommend contacting your hosting provider.
You could also check the PHP version that is currently being used, making sure that it is 8.2, the latest one supported by the software.
Eric
Auteur
Hey, Eric. Thanks for the support. I'll verify with host provider and keep you informed.
Auteur
Hey, have news... the error is -
Parse error: syntax error, unexpected string content "", expecting "-" or identifier or variable or number in /home4/secmespo/public_html/res/blog.inc.php on line 43
and I can't access the blog page or their contents
For simple PHP error messages, it helps to switch off the PHP error output in the web host's customer area.
display_errors = off
Information on how to disable the PHP errors can be found at the web host under Help, FAQ, instructions, etc. You may also can to contact the web host's support.
In my blogs you can find similar content in line 43.
-----
'id' => '000000009',
'rel_url' => '?wallbox-installieren',
'title' => 'Mein 2. Test-Blogbeitrag',
-----
According to your own blog's error message, nothing appears to be specified here.
If turning off the PHP error messages doesn't help, then wait for the Incomedia employees.
Auteur
that's the error log. Can someone help me? It happened just after I upload a new post in the blog.
Blog works
-----
Hello,
I have tried as well, using Chrome, Firefox and Edge, and the blog is visible.
Have you or the hosting provider already made some other change?
Eric
Auteur
Hey, Eric. It's visible cause the host provider took a ancient backup.
I tried to put this site as a test in my domain - https://www.giovanny.com.br/sec/
Here you can see the blog isn't working too. Definetly is a problem with the blog tool in website x5. In the moment I put the last version of project, blog tool doesn't work anymore :(
Auteur
sorry - https://www.giovanny.com.br/sec/blog/
Auteur
I tried to a version of this backup project without blog... and this way it works.
Auteur
Not even in the preview page it's working
... in some article or blog text perhaps you used some special reserved character (",',$,%, &,/,?,#,...), or a carriage return...
... check by deleting item by item and trying online until you find the corrupt one...
.
ciao
.
Auteur
Hey, KolAsim, I'll try it and be back with the results. Tnx for the help!
Auteur
Well, I deleted the last post where I used the content of this link (https://pronatec.pro.br/7-cruzamentos-de-informacoes-que-podem-fazer-voce/) and now it's ok. I don't know why but this content has something who causes error. I don't know what is. If someone can help me, I apreciate and others will know the cause of problem.
Now, there's only a link in the blog to original post as you can see here - https://www.secmesp.org.br/blog/?7-cruzamentos-de-informacoes-que-podem-fazer-voce-cair-na-malha-fina-do-imposto-de-renda--cuidado---
Until I don't discover why the error happened, I'm not confortable to do what I did all this time, inserting part of origininal content of post and redirecting by link to original post in a foreign site.
Thanks Eric, Daniel W. and KolAsim for your help, time and support.
(It > En) ...so the problem was what I had previously assumed...
...normally you should avoid copying/pasting from third-party pages, ...from the web, word, etc....
... if you use external content, first you have to copy them into Windows Notepad, clean them of any proprietary formatting and reserved special characters, then copy them from Notepad with a new selection and paste them into the BLOG...
... the real PHP test carried out online will give the response whether positive or not...
.
HI. ... ciao ...
.
Auteur
KolAsim, thanks for all you effort. Excelent tip for me.