Vous n'êtes pas identifié(e).
13 février 2024 Sortie de Dotclear 2.29
Pages : 1
UPDATE: My provider updated PHP to version 5.5.30 and since then error 500 is gone and all other issues with that.
Hi to all
Can you please check your PHP version on server side and confirm that there is no issue and Dotclear, its plugins and Colorbox work with PHP 5.4.41.
Since my provider updated PHP, I have an "500 Internal Server Error" when going the first time to my blog, but strange enough, not when I reload, then it works fine.
I'm currently in a process of figuring out what causes this problem.
Thanks in advance ...
Dernière modification par ben_griffith (2016-01-03 06:32:47)
I ♥ Dotclear.
Hors ligne
I didn't use colorbox and don't know if there's issue with colorbox and php 5.4.41.
I use php last releases, actually 5.6.9 and I just installed colorbox but didn't see any problem.
Je préfère être atteint de parkinson plutôt qu'alzheimer : je prefère renverser un peu de ma bière plutôt qu'oublier de la boire !
Présentez vos photos simplement avec Phyxo !
Hors ligne
Many thanks, nikrou, for confirming that it's not on DC side.
I ♥ Dotclear.
Hors ligne
Unfortunately, I haven't been able to solve my problem until now. Of course, there must have changed something on server side, but the problem is only with Dotclear. I'm in contact with my provider, but because the problem is related to the needs of a particular software, he can hardly help.
- I installed the 2.7.4/2.8 version and kept it with default setting as it comes out of the box.
- I maintain 3 other domains with blog software, a Wordpress blog has no problem at all, but only affects Dotclear blogs.
- it's not related to htaccess
- I removed the php.ini file from public
- it's not related to a theme or plugin
- no error log created on server side
- I changed the PHP version back to 5.3, but it doesn't solve the issue.
What I found out is that if I'm in admin area, then loading a page always works. The only issue that admin area has got is that not all icons are always completely loaded and I have to refresh/to reload the page and then the icons are there.
The problem only appears on the output side where we use "index.php?"
My provider doesn't support mod_rewrite, otherwise I would have tested how it works when I have no index.php? (shorten the URL by following tbtip's instructions).
The problem is easily to reproduce: when you go to my blog (click on "Website"), the home page will be loaded most of the time, otherwise reload it. Click on an entry -> could work too. Click on the blog name (which leads to the home page again), and the error appears. Once in that loop, you can't get out in IE, Safari, but reloading the link works with other browsers like Chrome.
Do you know why Dotclear uses that "index.php?" and what does it in particular and what PHP setting do we need? I suppose that when my provide updated PHP that a certaincombination was removed and the default settings are not enough. But do I have to add?
What my provider found is:
"when it failed to load, the web server actually returned a 404 (not found) error, however what we see is a 500 error. This suggests there is some rewriting going on outside of htaccess, the php its self it trying to rewrite to a non-existent path and for some reason its causing a 500 error."
Complete message is:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at address@domain.co.uk to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Any help is much appreciated.
I ♥ Dotclear.
Hors ligne
hi ben
I tested the site (your profile) with firefox + firebug
Here the error report
"NetworkError: 500 Internal Server Error - http://www.sevenwinds.co.uk/blog/index.php?pf=colorbox/themes/1/colorbox_theme.css
index.p ... eme.css
"NetworkError: 500 Internal Server Error - http://www.sevenwinds.co.uk/blog/index.php?pf=colorbox/css/colorbox_common.css
index.p ... mon.css
"NetworkError: 500 Internal Server Error - http://www.sevenwinds.co.uk/blog/index.php?pf=colorbox/js/jquery.colorbox-min.js
index.p ...- min.js
"NetworkError: 500 Internal Server Error - http://www.sevenwinds.co.uk/blog/index.php?pf=colorbox/themes/1/images/overlay.png
index.p ... lay.png
"NetworkError: 500 Internal Server Error -http://www.sevenwinds.co.uk/blog/index.php?pf=colorbox/themes/1/images/border.png
index.p ... der.png
"NetworkError: 500 Internal Server Error - http://www.sevenwinds.co.uk/blog/index.php?pf=colorbox/themes/1/images/loading_background.png
index.p ... und.png
"NetworkError: 500 Internal Server Error - http://www.sevenwinds.co.uk/blog/index.php?pf=colorbox/themes/1/images/controls.png
Is the problem of "500 error" when you click 2 times on the "name of your site" is always present if you disable color box?
What is the jQuery version used for your blog?
Dernière modification par i_love_dc (2015-05-30 10:05:06)
Hors ligne
@i_love_dc
Many thanks for looking into my website. I had tested the colorbox plugin after I noticed a delay in loading the colorbox (and the icons in dashboard).
The colorbox itself is one of the first parts that is loaded. I tested a fresh, clean 2.7.4 and 2.8, which is still installed: http://www.sevenwinds.co.uk/28/, and the same happens there. I tested JS 1.4.2 and 1.11, but no change.
I'm still wondering if the problem is the ? after index.php. This 404 error never happens with another path
I ♥ Dotclear.
Hors ligne
in this case we should try to change the mode "query_string" with "path_info"
which would give something like "domaine.com/index.php"
The links of the blog do not work PATH_INFO
In the blog settings, verify that the URL playback method is PATH_INFO and the URL of the blog ends with a slash (eg http://example.com/dotclear/index.php/).
If, despite this change the links do not work, open the file to replace /dotclear/inc/config.php:
// If you-have PATH_INFO outcome, uncomment lines Following
// if (! isset ($ _ SERVER ['ORIG_PATH_INFO'])) {
// $ _SERVER ['ORIG_PATH_INFO'] = '';
} //
// $ _ SERVER ['PATH_INFO'] = $ _SERVER ['ORIG_PATH_INFO'];
by:
// If you-have PATH_INFO outcome, uncomment lines Following
if (! isset ($ _ SERVER ['ORIG_PATH_INFO'])) {
$ _SERVER ['ORIG_PATH_INFO'] = '';
}
$ _SERVER ['PATH_INFO'] = $ _SERVER ['ORIG_PATH_INFO'];
Note:
This method may not work in all web hosts.
Hors ligne
@i_love_dc
I tried the path_info way before with the result that a 404 is shown, because my server doesn't support mod_rewrite.
I ♥ Dotclear.
Hors ligne
Hi ben
I must say that I find it weird that herbergement does not support mod rewrite.
Yet this is what is sencer be part of the "vital minimum" of a herbergement worthy of the name, same with regard to the compatibility of php versions 5.3+
The problem certainly come from a restriction of to your lodging.
As for the 2.8 version (nightly unstable), I do not know what that worth (never tested, I counsel you rather versions "nightly" but not "unstable" just versions (currently) dotclear-2.7. 6-r3001.zip
But again, I think the worry comes from the side rather "restrictive" your server ..
Sorry for not having managed to help you more.
Let's see what that says the designer Phillipe (busy now apparently)
Hors ligne
Thanks, i_love_dc
I'm reading about the problem for hours now and got some ideas, but nothing specific that could help. I need to point my provider in the right direction. It has to do with DC, because any other path works (Wordpress or sevenwinds.co.uk which is a simple html file).
I will continue looking into issue from my side too.
I ♥ Dotclear.
Hors ligne
Try this plugin, it will can be used http://plugins.dotaddict.org/dc2/details/errorlogger
Hors ligne
Thanks, i_love_dc.
No error logs is shown in DC as well as on my server side.
I continue looking into issue on my side.
I ♥ Dotclear.
Hors ligne
Hello
I tried navigating your blog and came up with the same errors as described. Maybe file permissions on colorbox plugin directory are not correct. Can you try a few things ?
1) Delete Colorbox plugin in admin, and install again from a Dotaddict archive with Plugins management > Add plugins from repository page and then try again your blog with and without colorbox plugin activated.
2) Trough FTP, check rights on plugins/colorbox/ folder and included files, and compare them to official plugins files permission. If different, change colorbox directory file permissions accordingly
4) if nothing above works, download colorbox archive from Dotaddict, unzip it and upload it by FTP to your plugins directory
Come back and tell us if it changed anything ;)
Hors ligne
Hi Philippe
Thanks for looking into this difficult issue.
I removed the colorbox completely this morning and also the noodles. When you were in and tested it, neither Colorbox nor noodles were installed.
The issue is not related to colorbox or plugins. I have also tested DC2.7.4 and DC2.8 as they come out of the box and which have no other plugins than the DC ones.
I ran so many tests meanwhile, I can really confirm that the issue is by something that Dotclear needs on server side, but what?
I have no clue why the index.php? websites from Dotclear create that issue recently.
I took off the 2.8 version and installed a demo of 2.7.5 with nothing else added: http://sevenwinds.co.uk/275/index.php?
And I got confirmation that mod_rewrite is working. I will check tbtip's instructions again and will try path-info again. It always jumbed back to the main domain rather inside a folder like 275 or blog.
Dernière modification par ben_griffith (2015-06-07 05:07:09)
I ♥ Dotclear.
Hors ligne
Just a quick update: It's no index.php? issue, as I have the same when using path_info/pretty URL
Maybe it's just simple that I have to change my htaccess file.
Could somebody please write to me what the common entries are? I found many entries in the internet about this topic in related to "error 500 and additionally 404", but I'm not sure what to write. Until now, I only used it for "deny from".
Many thanks in advance!
I ♥ Dotclear.
Hors ligne
Merci, pierrevg, essayé un nouveau .htaccess avec ANSI, mais aucun changement.
I Tried a new .htaccess with ANSI, but no change.
I ♥ Dotclear.
Hors ligne
Yes, I tried this morning:
- followed instruction to create .htaccess file using Notepad, ANSI and saved with ".htaccess"
- played around with CHMOD to figure out if it has impact.
- Error console in Seamonkey says that there is something with Javascript:
Timestamp: 04/06/2015 20:09:28
Error: ReferenceError: jQuery is not defined
Source File: http://sevenwinds.co.uk/275/index.php?p … .cookie.js
Line: 2
Timestamp: 04/06/2015 20:13:53
Error: ReferenceError: $ is not defined
Source File: http://sevenwinds.co.uk/275/index.php?pf=post.js
Line: 2
Timestamp: 04/06/2015 20:07:50
It seems that there is no way out.
I ♥ Dotclear.
Hors ligne
Ton hébergeur a bien les pré-requis indispensables pour faire fonctionner dotclear ?
http://dotclear.org/documentation/2.0/a … requisites
Hors ligne
Thanks, pierrevg, I will send you screenshots from my php settings that I can enable.
Merci, pierrevg, je t'enverrai captures d'écran de ma configuration de php que je peux activer.
Apache Version 2.4.12
PHP Version 5.4.41
MySQL Version 5.6.22-cll-lve
Perl Version 5.8.8
mbstring = enabled
iconv = enabled
ob_ function support = not listed
utf8 support on preg_ functions = not listed
simplexml and domxml = enabled
SPL = enabled
How important are ob_ and preg_ ?
I ♥ Dotclear.
Hors ligne
I'm on holiday next week, so I can't reply.
I ♥ Dotclear.
Hors ligne
Sorry for coming back in this matter.
Iconv is listed in the requirements to run Dotclear. Can somebody please tell me what "iconv" does from a point of Dotclear and what could happen if it's not part of if the PHP info list?
I have read http://php.net/manual/en/function.iconv.php, but I'm lacking knowledge in context to Dotclear.
I ♥ Dotclear.
Hors ligne
UPDATE: My provider updated PHP to version 5.5.30 and since then error 500 is gone and all other issues with that.
I ♥ Dotclear.
Hors ligne
Pages : 1
Vous n'êtes pas identifié(e).