WebSite X5Help Center

 
Giovanny P.
Giovanny P.
User

Blog not working  en

Autor: Giovanny P.
Visitado 760, Followers 1, Compartido 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/

Publicado en
17 RESPUESTAS
Incomedia
Eric C.
Incomedia

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

Leer más
Publicado en de Eric C.
Giovanny P.
Giovanny P.
User
Autor

Hey, Eric. Thanks for the support. I'll verify with host provider and keep you informed. 

Leer más
Publicado en de Giovanny P.
Giovanny P.
Giovanny P.
User
Autor

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

Leer más
Publicado en de Giovanny P.
Daniel W.
Daniel W.
User
Usuario del mes EN

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.

Leer más
Publicado en de Daniel W.
Daniel W.
Daniel W.
User
Usuario del mes EN

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.

Leer más
Publicado en de Daniel W.
Giovanny P.
Giovanny P.
User
Autor

that's the error log. Can someone help me? It happened just after I upload a new post in the blog.

Leer más
Publicado en de Giovanny P.
Daniel W.
Daniel W.
User
Usuario del mes EN

Blog works

-----

Leer más
Publicado en de Daniel W.
Incomedia
Eric C.
Incomedia

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

Leer más
Publicado en de Eric C.
Giovanny P.
Giovanny P.
User
Autor

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 :(

Leer más
Publicado en de Giovanny P.
Giovanny P.
Giovanny P.
User
Autor

I tried to a version of this backup project without blog... and this way it works.

Leer más
Publicado en de Giovanny P.
Giovanny P.
Giovanny P.
User
Autor

Not even in the preview page it's working

Leer más
Publicado en de Giovanny P.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

... 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

.

Leer más
Publicado en de  ‪ KolAsim ‪ ‪
Giovanny P.
Giovanny P.
User
Autor

Hey, KolAsim, I'll try it and be back with the results. Tnx for the help!

Leer más
Publicado en de Giovanny P.
Giovanny P.
Giovanny P.
User
Autor

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. 

Leer más
Publicado en de Giovanny P.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Giovanny P.
... ... ...  Until I don't discover why the error happened, I'm not confortable to do what I did all this time, ... ... ... 

(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 ...

.

Leer más
Publicado en de  ‪ KolAsim ‪ ‪
Giovanny P.
Giovanny P.
User
Autor

KolAsim, thanks for all you effort. Excelent tip for me. 

Leer más
Publicado en de Giovanny P.