Dotclear

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

Annonce

13 février 2024 Sortie de Dotclear 2.29

#1 2015-01-27 04:56:09

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

[SOLVED] Problem ADMIN URL in config.php

Hi

I have to take care of 3 blogs which are located at the same provider and updated to latest 2.7.3 version.

When I define ADMIN URL in config.php for http://test.com/blog/admin/, it's no problem and notification in Dashboard is gone.
When I define ADMIN URL in config.php for http://this-is-test.com/blog/admin/, it's a problem and notification in Dashboard still remains.

Could somebody with dashes in domain confirm if it works on your side?
I have tried everything and ran out of ideas to look at my end.

Thanks

Dernière modification par ben_griffith (2015-02-07 17:02:47)


I Dotclear.

Hors ligne

#2 2015-01-27 08:40:33

Dsls
Modérateur couteau-suisse
Inscription : 2004-11-18
Site Web

Re : [SOLVED] Problem ADMIN URL in config.php

Are you talking about the "DC_ADMIN_URL  is not defined, you should edit your configuration file." notification ? That's quite weird, the only tests that are performed to display this notification is :
* DC_ADMIN_URL is not set
* DC_ADMIN_URL is empty.

I tried to reproduce dashes on my test blog, I don't have any notice.


Dyslexics have more fnu!

Hors ligne

#3 2015-01-28 04:50:25

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

Re : [SOLVED] Problem ADMIN URL in config.php

Hi dsls

Yes, it's the "DC_ADMIN_URL  is not defined, you should edit your configuration file." line that I would like to get rid off.

Are you sure that your test blog runs in a domain with 2 dashes? You need to have a domain like www.test-test-test.com

The dashes are the only difference (and explanation I have).


I Dotclear.

Hors ligne

#4 2015-01-28 12:02:57

Dsls
Modérateur couteau-suisse
Inscription : 2004-11-18
Site Web

Re : [SOLVED] Problem ADMIN URL in config.php

Nope, I could not reproduce that. I have set my config.php as follows :

...
define('DC_ADMIN_URL','http://www.test-test-test.com');
...

And no notice at all.


Dyslexics have more fnu!

Hors ligne

#5 2015-01-28 18:59:23

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

Re : [SOLVED] Problem ADMIN URL in config.php

Eh voila, I got it, I had missed the www in front of the domain name. Your "http://www.test-test-test.com" made me suspicious.

Thanks!!!

Dernière modification par ben_griffith (2015-01-31 04:36:44)


I Dotclear.

Hors ligne

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

Pied de page des forums

Sites map