Dotclear

Vous n'êtes pas identifié(e).

Annonce

13 février 2024 Sortie de Dotclear 2.29

#1 2015-05-25 04:49:04

ben_griffith
Membre
Lieu : Wiltshire
Inscription : 2009-09-28

[SOLVED] Error 500 Dotclear and PHP Version 5.4.41

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

#2 2015-05-25 07:48:21

nikrou
Membre
Inscription : 2007-10-02
Site Web

Re : [SOLVED] Error 500 Dotclear and PHP Version 5.4.41

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

#3 2015-05-25 12:38:33

ben_griffith
Membre
Lieu : Wiltshire
Inscription : 2009-09-28

Re : [SOLVED] Error 500 Dotclear and PHP Version 5.4.41

Many thanks, nikrou, for confirming that it's not on DC side.


I Dotclear.

Hors ligne

#4 2015-05-30 07:42:35

ben_griffith
Membre
Lieu : Wiltshire
Inscription : 2009-09-28

Re : [SOLVED] Error 500 Dotclear and PHP Version 5.4.41

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

#5 2015-05-30 10:03:02

i_love_dc
Membre
Inscription : 2007-07-13

Re : [SOLVED] Error 500 Dotclear and PHP Version 5.4.41

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

#6 2015-05-30 19:51:29

ben_griffith
Membre
Lieu : Wiltshire
Inscription : 2009-09-28

Re : [SOLVED] Error 500 Dotclear and PHP Version 5.4.41

@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

#7 2015-05-30 20:04:25

i_love_dc
Membre
Inscription : 2007-07-13

Re : [SOLVED] Error 500 Dotclear and PHP Version 5.4.41

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

#8 2015-05-31 04:03:55

ben_griffith
Membre
Lieu : Wiltshire
Inscription : 2009-09-28

Re : [SOLVED] Error 500 Dotclear and PHP Version 5.4.41

@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

#9 2015-05-31 05:31:35

i_love_dc
Membre
Inscription : 2007-07-13

Re : [SOLVED] Error 500 Dotclear and PHP Version 5.4.41

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

#10 2015-05-31 07:22:14

ben_griffith
Membre
Lieu : Wiltshire
Inscription : 2009-09-28

Re : [SOLVED] Error 500 Dotclear and PHP Version 5.4.41

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

#11 2015-05-31 18:48:22

i_love_dc
Membre
Inscription : 2007-07-13

Re : [SOLVED] Error 500 Dotclear and PHP Version 5.4.41

Try this plugin, it will can be used http://plugins.dotaddict.org/dc2/details/errorlogger

Hors ligne

#12 2015-06-01 06:10:25

ben_griffith
Membre
Lieu : Wiltshire
Inscription : 2009-09-28

Re : [SOLVED] Error 500 Dotclear and PHP Version 5.4.41

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

#13 2015-06-01 10:55:31

Philippe
Stagiaire
Lieu : Toulon
Inscription : 2004-06-13
Site Web

Re : [SOLVED] Error 500 Dotclear and PHP Version 5.4.41

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

#14 2015-06-01 16:45:45

ben_griffith
Membre
Lieu : Wiltshire
Inscription : 2009-09-28

Re : [SOLVED] Error 500 Dotclear and PHP Version 5.4.41

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

#15 2015-06-02 19:13:06

ben_griffith
Membre
Lieu : Wiltshire
Inscription : 2009-09-28

Re : [SOLVED] Error 500 Dotclear and PHP Version 5.4.41

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

#16 2015-06-02 21:21:17

pierrevg
Membre
Inscription : 2005-04-13
Site Web

Re : [SOLVED] Error 500 Dotclear and PHP Version 5.4.41

Pour éviter les erreurs 500, enregistre/encode ton .htaccess en ANSI et non en utf8.

Hors ligne

#17 2015-06-04 03:49:22

ben_griffith
Membre
Lieu : Wiltshire
Inscription : 2009-09-28

Re : [SOLVED] Error 500 Dotclear and PHP Version 5.4.41

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

#18 2015-06-04 07:52:47

pierrevg
Membre
Inscription : 2005-04-13
Site Web

Re : [SOLVED] Error 500 Dotclear and PHP Version 5.4.41

Again error 500 ?

Hors ligne

#19 2015-06-04 19:17:33

ben_griffith
Membre
Lieu : Wiltshire
Inscription : 2009-09-28

Re : [SOLVED] Error 500 Dotclear and PHP Version 5.4.41

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

#20 2015-06-04 20:57:48

pierrevg
Membre
Inscription : 2005-04-13
Site Web

Re : [SOLVED] Error 500 Dotclear and PHP Version 5.4.41

Ton hébergeur a bien les pré-requis indispensables pour faire fonctionner dotclear ?
http://dotclear.org/documentation/2.0/a … requisites

Hors ligne

#21 2015-06-05 04:25:03

ben_griffith
Membre
Lieu : Wiltshire
Inscription : 2009-09-28

Re : [SOLVED] Error 500 Dotclear and PHP Version 5.4.41

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

#22 2015-06-07 04:15:24

ben_griffith
Membre
Lieu : Wiltshire
Inscription : 2009-09-28

Re : [SOLVED] Error 500 Dotclear and PHP Version 5.4.41

I'm on holiday next week, so I can't reply.


I Dotclear.

Hors ligne

#23 2015-10-09 03:19:01

ben_griffith
Membre
Lieu : Wiltshire
Inscription : 2009-09-28

Re : [SOLVED] Error 500 Dotclear and PHP Version 5.4.41

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

#24 2016-01-03 06:32:10

ben_griffith
Membre
Lieu : Wiltshire
Inscription : 2009-09-28

Re : [SOLVED] Error 500 Dotclear and PHP Version 5.4.41

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

Vous n'êtes pas identifié(e).

Pied de page des forums

Sites map