Blog (Internal Server Error).
Auteur : Jean Claude BamsHello,
In preview everything looks fine, but on the server i can't open the blog.
HTTP-error 500 (Internal Server Error): Er is een onverwachte voorwaarde gevonden toen de server het verzoek wilde uitvoeren.
What i did to find out of the probleem is on the server or anywhere else.
I have to mention that the blog is closed with a server file ( just works and make restriction to get in, no more or less )
I put a testfile indextest.html in the blog directorie and it works ( i can see it in the browser; used chrome, firefox, opera, comodo dragon, safari and ie 10.0.xxx )
Maybe it wil be the php that d'ont work ?
So i puth a *.PHP file in the same directorie and did a test, it works like it would have to.
Now i'm scratching on my head what could be the problem ?
I have upgraded from websiteX5 version 9 to 10; and by version 9.xxx it worked just fine.
Why the php will suddenly won't work anymore only in the blog ?
E-commerce works, guestbook works and everything works (until now, i have to check it out in detail when my blog problem will be solved).
So, i tried something else, just to see if my server security is not the problem on the blog directorie.
I made a new test map, and uploaded the whole site on it.
No security on my blog directory, and still the same error.
HTTP error 500(Internal Server Error): an unexpectedconditionfound whenthe serverwanted toperformthe request.
Hi Jean,
Delete all files on your server (including any old v9 files which remain) and upload your entire X5 project afresh.
Empty your browser cache and delete your browser cookies before testing again.
Auteur
Hi Paul,
Thank's for answering.
What i did now.
Cleaned-up the whole site, except what i couldnt remove ( reactions )
I put V9 back on site (root ) ( lost my reactions )
I put V10 in a new directory -> test.
Cleaned-up my whole coockie stuff and hystory and others, completely naked browser.
Toke even a other pc to try it out ( old machine good for testing purpose, like now )
Conclusion on testing with both machines,
i had a little problem with home.html, the server give a error code 404, i put the whole adres with home.html on it, and it works ( have to find out why the url did'n work; later on )
Did the same on the test site V10 and it works.
V9 -> blog with password protection on directory = great !
V10 -> blog without password protection = error 500 !
On version 9 i got this as report when i get in the blog.
Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Connection Keep-Alive
Content-Type text/html
Date Tue, 11 Jun 2013 12:43:39 GMT
Expires Thu, 19 Nov 1981 08:52:00 GMT
Keep-Alive timeout=1, max=1000
Pragma no-cache
Server Apache
Transfer-Encoding chunked
With version 10 i get this
Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Connection close
Content-Length 0
Content-Type text/html
Date Tue, 11 Jun 2013 12:47:22 GMT
Expires Thu, 19 Nov 1981 08:52:00 GMT
Pragma no-cache
Server Apache
With regards to V10...
In Step 4 - Advanced Settings - Blog - Comments Tab - Data Save Settings... do you have a named folder in 'Subfolder on Server where data will be saved'? And if so, does this folder physically exist on your server, and have you set CHMOD folder permissions to enable you to write to it?
Likewise, in Step 4 - Advanced Settings - Data Management - Writing Access Folder... check folder exists and has write access permissions.
The above is especially important as you do not have your V10 site in root, and it co-exists with a V9 site on the same server at present.
Can you log in to your X5 V10 admin panel and run the website tests listed there?
Auteur
HI Paul
This is all i got from te admin test V9.
PHP versie: 5.3.23-pl0-gentooPASS
Sessie ondersteuningPASS
Server public folder pad (reactions/)PASS
MySQL instellingenPASS
I will follow your instructions above, and will come back.
And this is for the V10
PHP versie: 5.3.23-pl0-gentooPASS
Sessie ondersteuningPASS
Server public folder pad (reactions)FAIL
Vraag uw hosting provider om het pad van uw read/write folder. Deze folder moet als beveiligingsinstelling de waarde 777 hebben
Server public folder pad (reactions/reactions)FAIL
Vraag uw hosting provider om het pad van uw read/write folder. Deze folder moet als beveiligingsinstelling de waarde 777 hebben.
Many thank's, this gives hope.
I will be back
Yes, this is your problem:
Server public folder pad (reactions)FAIL
Vraag uw hosting provider om het pad van uw read/write folder. Deze folder moet als beveiligingsinstelling de waarde 777 hebben
Server public folder pad (reactions/reactions)FAIL
Vraag uw hosting provider om het pad van uw read/write folder. Deze folder moet als beveiligingsinstelling de waarde 777 hebben.
You can fix it by following the steps I outlined above... good luck!
Auteur
PHP versie: 5.3.23-pl0-gentooPASS
Sessie ondersteuningPASS
Server public folder pad (reacties)PASS
Server public folder pad (reacties/reacties)PASS
This is fixed.
No error, only a white screen
But i think i will find out what's the problem here.
I havecleaned upa bit too much.
Thank's Paul
You're welcome Jean... glad to hear the good news!
Auteur
Hi,
My problem isstill notsolved.
But thanks tothe instructions, I now have set up a newtest1 sitewitha new blog.
And on the first test, it just works without problems.
Thissuggests to methat there is a problemuponthe import ofmy existingblog.
Myerrorreports provide
[TueJun 1114: 28: 572013][error][client xxx.xxx.xxx.xxx]File doesnot exist:/spinternet.be/users/fbmc/public_html/public_html, referer:
What is normal, their exist no public_html/public_html.
http://fbmc.be/test/private-investigators.html
[TueJun11 14: 29: 132013][error][client xxx.xxx.xxx.xxx]File doesnot exist:/spinternet.be/users/fbmc/public_html/null, referer:http://fbmc.be/private-investigators.html
This, i do not understand, but the file exist
I think it's alink problemisthe menus.
To solve the problem,I thought of replace theblog with a new one.
How do Ireplace the old onewith a new onewithoutto preserveold data?
In other words, how do i make a new blog on the same site in WebsiteX5 ?
Thank's,
Jean,Claude
Hello Jean Claude,
You need to remove all entries in Step 4 - Blog and once done check in step 2 that the blog is no more listed under special pages. Once done then you can create the blog from scratch.
Please let me know if it works.
Many thanks!