WebSite X5Help Center

 
Giovanny P.
Giovanny P.
User

Blog not working  en

Autore: Giovanny P.
Visite 817, Followers 1, Condiviso 0  
Parole Chiave: blog,website x5 pro 2023.3

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/

Postato il
17 RISPOSTE
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

Leggi di più
Postato il da Eric C.
Giovanny P.
Giovanny P.
User
Autore

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

Leggi di più
Postato il da Giovanny P.
Giovanny P.
Giovanny P.
User
Autore

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

Leggi di più
Postato il da Giovanny P.
Daniel W.
Daniel W.
User

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.

Leggi di più
Postato il da Daniel W.
Daniel W.
Daniel W.
User

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.

Leggi di più
Postato il da Daniel W.
Giovanny P.
Giovanny P.
User
Autore

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

Leggi di più
Postato il da Giovanny P.
Daniel W.
Daniel W.
User

Blog works

-----

Leggi di più
Postato il da 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

Leggi di più
Postato il da Eric C.
Giovanny P.
Giovanny P.
User
Autore

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

Leggi di più
Postato il da Giovanny P.
Giovanny P.
Giovanny P.
User
Autore

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

Leggi di più
Postato il da Giovanny P.
Giovanny P.
Giovanny P.
User
Autore

Not even in the preview page it's working

Leggi di più
Postato il da Giovanny P.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Utente del mese ESUtente del mese PT

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

.

Leggi di più
Postato il da  ‪ KolAsim ‪ ‪
Giovanny P.
Giovanny P.
User
Autore

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

Leggi di più
Postato il da Giovanny P.
Giovanny P.
Giovanny P.
User
Autore

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. 

Leggi di più
Postato il da Giovanny P.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Utente del mese ESUtente del mese PT
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 ...

.

Leggi di più
Postato il da  ‪ KolAsim ‪ ‪
Giovanny P.
Giovanny P.
User
Autore

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

Leggi di più
Postato il da Giovanny P.