Results 1 to 15 of 15

Thread: "you have reached the maximum number of domains"

  1. #1
    User
    Join Date
    01-22-11.
    Posts
    40

    Default "you have reached the maximum number of domains"

    Hello,

    I have been trying to do an update of Contao from 2.10.4 and have been getting the following error message:

    "you have reached the maximum number of domains"

    On the German forum, they said this was due to a mix of the following:

    mysite.com and www.mysite.com

    and went on to say that deleting an www made everything work again.

    Only I didn't understand from the translator tool (I don't speak German) where the www was deleted from.

    Can anyone help?

    Thanks.

  2. #2
    User Andreas's Avatar
    Join Date
    07-11-09.
    Location
    Mönchengladbach
    Posts
    499

    Default Re: "you have reached the maximum number of domains"

    Don't know exactly what to do in your installation but in general you have to decide first which domain you like to publish, without www or with the subdomain www. In case you want to publish example.org redirect the subdomain www.example.org to example.org directly in your server account, do not direct it into the folder of contao.

    If this is not possible activate the redirect in your .htaccess. This redirect is already prepared in .htaccess.default and deactivated by a '#' sign.

    In your starting point in contaos backend you don't have to fill in any domain unless you like to support several domains with several starting points in your installation.
    Web-Development, Freelancer, Burgtech, XHTML, HTML5, CSS, PHP, Javascript, MooTools, MySQL and more
    Amazon wishlist

  3. #3
    User
    Join Date
    01-22-11.
    Posts
    40

    Default Re: "you have reached the maximum number of domains"

    Quote Originally Posted by Andreas
    If this is not possible activate the redirect in your .htaccess. This redirect is already prepared in .htaccess.default and deactivated by a '#' sign.
    I've got this far in the .htaccess but its not obvious, to me at least, what the correct line should be:

    # Enable mod_rewrite
    RewriteEngine On
    # line below must be changed if you are have your website under something different from website root
    # e.g. you website is located at http://www.example.com/somedir instead of http://www.example.com
    RewriteBase /

    I think I would prefer it without the www.

  4. #4
    User Andreas's Avatar
    Join Date
    07-11-09.
    Location
    Mönchengladbach
    Posts
    499

    Default Re: "you have reached the maximum number of domains"

    Yes, I also prefer without www. Change this lines.
    Code:
      #RewriteCond %{HTTP_HOST} ^domain\.com [NC]
      #RewriteRule (.*) http://www.domain.com/$1 [R=301,L]
    to
    Code:
      RewriteCond %{HTTP_HOST} ^www\.example\.org [NC]
      RewriteRule (.*) http://example.org/$1 [R=301,L]
    Notice that you have to mask a point in the condition with a backslash. In the rule you don't have to.
    Web-Development, Freelancer, Burgtech, XHTML, HTML5, CSS, PHP, Javascript, MooTools, MySQL and more
    Amazon wishlist

  5. #5
    User
    Join Date
    01-22-11.
    Posts
    40

    Default Re: "you have reached the maximum number of domains"

    Quote Originally Posted by Andreas
    Code:
      RewriteCond %{HTTP_HOST} ^www\.example\.org [NC]
      RewriteRule (.*) http://example.org/$1 [R=301,L]
    Notice that you have to mask a point in the condition with a backslash. In the rule you don't have to.
    I added rather than replaced the suggested lines, and http://www.example.org redirects to example.org (and http://www.example.org/subpage.html redirects just to example.org).

    But I still get an "you have reached the maximum number of domains" error message when I start the update.

    Any ideas as to what I need to do? (I am looking at redirecting the www.example.com subdomain on the server panel).

  6. #6
    User
    Join Date
    01-22-11.
    Posts
    40

    Default Re: "you have reached the maximum number of domains"

    I think I have just ruined my day.

    I tried again using this code:

    Quote Originally Posted by Andreas
    Code:
      RewriteCond %{HTTP_HOST} ^www\.example\.org [NC]
      RewriteRule (.*) http://example.org/$1 [R=301,L]
    Notice that you have to mask a point in the condition with a backslash. In the rule you don't have to.
    only using the redirect from example.com to http://www.example.com, and when I clicked to start the update from 2.10.4 I got a blank white screen, which is all I have for the site and the login for the site backend, on two different computers.

    At least I did back up httpdocs and the databases yesterday, and I did manage to ftp the original .htaccess file back to the site.

    Any help would be very welcome!

  7. #7
    User Andreas's Avatar
    Join Date
    07-11-09.
    Location
    Mönchengladbach
    Posts
    499

    Default Re: "you have reached the maximum number of domains"

    Try to do your update without an .htaccess, rename it to .htaccess.anything to exclude an error caused by a bad .htaccess. Just a tip.
    Web-Development, Freelancer, Burgtech, XHTML, HTML5, CSS, PHP, Javascript, MooTools, MySQL and more
    Amazon wishlist

  8. #8
    User
    Join Date
    01-22-11.
    Posts
    40

    Default Re: "you have reached the maximum number of domains"

    Thanks for the tip, only I think things are much more serious. When I try to login to the back end, I get a blank screen and can do nothing, and the same goes for the site itself. And on two different computers.

    http://mysite.org and
    http://mysite.org/contao/index.php
    bring up blank pages.

    So I can't do any kind of update or make any other changes except by ftp-ing something.

  9. #9
    User Andreas's Avatar
    Join Date
    07-11-09.
    Location
    Mönchengladbach
    Posts
    499

    Default Re: "you have reached the maximum number of domains"

    contao/install.php? Maybe you take a look into your system/config/localconfig.php

    And please run contao-check.php
    Web-Development, Freelancer, Burgtech, XHTML, HTML5, CSS, PHP, Javascript, MooTools, MySQL and more
    Amazon wishlist

  10. #10
    User
    Join Date
    01-22-11.
    Posts
    40

    Default Re: "you have reached the maximum number of domains"

    Quote Originally Posted by Andreas
    contao/install.php? Maybe you take a look into your system/config/localconfig.php
    I replaced both files on the site with backed up versions but with no change.

    Quote Originally Posted by Andreas
    And please run contao-check.php
    I found typolight-check.php and managed to open it but not run it. Please can you tell me how to run it.

  11. #11
    User
    Join Date
    01-22-11.
    Posts
    40

    Default Re: "you have reached the maximum number of domains"

    Quote Originally Posted by Andreas
    And please run contao-check.php
    I did get something for mysite.com/typolight-check.php for a 2.7.2 system check.

    These are the error lines:

    Register globals • On Recommended setting is Off.

    Create directory • Error Error creating directory "typolight-check"
    Directory permissions • 0 Recommended directory permission setting is 775 or 755 or 750.
    Directory owner • root The new directory should be owned by b.
    Create file • Error Error creating file "typolight-check.txt"
    File permissions • 0 Recommended file permission setting is 664 or 644 or 640.
    File owner • root The new file should be owned by b.

    File • CHMOD Recommended • Owner Recommended Status
    plugins/mootools/mootools.js.gz • - 664, 644, 640 • - b Missing
    plugins/mootools/mootools_src.js • - 664, 644, 640 • - b Missing
    plugins/mootools/rainbow_src.css • - 664, 644, 640 • - b Missing
    plugins/mootools/rainbow_src.js • - 664, 644, 640 • - b Missing
    plugins/swfobject • - 775, 755, 750 • - b Missing
    plugins/swfobject/swfobject.js • - 664, 644, 640 • - b Missing
    plugins/swfobject/swfobject.js.gz • - 664, 644, 640 • - b Missing
    plugins/swfobject/swfobject_src.js • - 664, 644, 640 • - b Missing
    system/logs • 777 775, 755, 750 b b Folder
    system/modules/dfGallery/DfGallery.swf • - 664, 644, 640 • - b Missing
    system/modules/dfGallery/resources • - 775, 755, 750 • - b Missing
    system/modules/dfGallery/resources/locale • - 775, 755, 750 • - b Missing
    system/modules/dfGallery/resources/locale/dfgallery_en.eden • - 664, 644, 640 • - b Missing
    system/modules/dfGallery/resources/themes • - 775, 755, 750 • - b Missing
    system/modules/dfGallery/resources/themes/standard • - 775, 755, 750 • - b Missing
    system/modules/dfGallery/resources/themes/standard/properties.php • - 664, 644, 640 • - b Missing
    system/modules/dfGallery/resources/themes/standard/skins • - 775, 755, 750 • - b Missing
    system/modules/dfGallery/resources/themes/standard/skins/mac.png • - 664, 644, 640 • - b Missing
    system/modules/dfGallery/resources/themes/standard/skins/mac.xml • - 664, 644, 640 • - b Missing
    system/modules/dfGallery/resources/themes/standard/skins/standard.png • - 664, 644, 640 • - b Missing
    system/modules/dfGallery/resources/themes/standard/skins/standard.xml • - 664, 644, 640 • - b Missing
    system/modules/dfGallery/resources/themes/standard/skins/vista.png • - 664, 644, 640 • - b Missing
    system/modules/dfGallery/resources/themes/standard/skins/vista.xml • - 664, 644, 640 • - b Missing
    system/modules/dfGallery/resources/themes/standard/theme.swf • - 664, 644, 640 • - b Missing
    system/modules/dfGallery/templates/df_mac.tpl • - 664, 644, 640 • - b Missing
    system/modules/dfGallery/templates/df_vista.tpl • - 664, 644, 640 • - b Missing
    system/modules/glossary • - 775, 755, 750 • - buddhayana Missing
    system/modules/glossary/ModuleGlossaryList.php • - 664, 644, 640 • - b Missing
    system/modules/glossary/ModuleGlossaryMenu.php • - 664, 644, 640 • - b Missing
    system/modules/glossary/config • - 775, 755, 750 • - b Missing
    system/modules/glossary/config/.htaccess • - 664, 644, 640 • - b Missing
    system/modules/glossary/config/config.php • - 664, 644, 640 • - ba Missing
    system/modules/glossary/config/database.sql • - 664, 644, 640 • - b Missing
    system/modules/glossary/dca • - 775, 755, 750 • - b Missing
    system/modules/glossary/dca/.htaccess • - 664, 644, 640 • - b Missing
    system/modules/glossary/dca/tl_glossary.php • - 664, 644, 640 • - b Missing
    system/modules/glossary/dca/tl_glossary_term.php • - 664, 644, 640 • - b Missing
    system/modules/glossary/dca/tl_module.php • - 664, 644, 640 • - b Missing
    system/modules/glossary/html • - 775, 755, 750 • - b Missing
    system/modules/glossary/html/icon.gif • - 664, 644, 640 • - b Missing
    system/modules/glossary/languages • - 775, 755, 750 • - b Missing
    system/modules/glossary/languages/de • - 775, 755, 750 • - b Missing
    system/modules/glossary/languages/de/.htaccess • - 664, 644, 640 • - b Missing
    system/modules/glossary/languages/de/modules.php • - 664, 644, 640 • - b Missing
    system/modules/glossary/languages/de/tl_glossary.php • - 664, 644, 640 • - b Missing
    system/modules/glossary/languages/de/tl_glossary_term.php • - 664, 644, 640 • - b Missing
    system/modules/glossary/languages/de/tl_module.php • - 664, 644, 640 • - b Missing
    system/modules/glossary/languages/en • - 775, 755, 750 • - b Missing
    system/modules/glossary/languages/en/.htaccess • - 664, 644, 640 • - b Missing
    system/modules/glossary/languages/en/modules.php • - 664, 644, 640 • - b Missing
    system/modules/glossary/languages/en/tl_glossary.php • - 664, 644, 640 • - b Missing
    system/modules/glossary/languages/en/tl_glossary_term.php • - 664, 644, 640 • - b Missing
    system/modules/glossary/languages/en/tl_module.php • - 664, 644, 640 • - b Missing
    system/modules/glossary/templates • - 775, 755, 750 • - b Missing
    system/modules/glossary/templates/.htaccess • - 664, 644, 640 • - b Missing
    system/modules/glossary/templates/mod_glossary_list.tpl • - 664, 644, 640 • - b Missing
    system/modules/glossary/templates/mod_glossary_menu.tpl • - 664, 644, 640 • - b Missing
    system/modules/news/Comments.php • - 664, 644, 640 • - b Missing
    system/themes/default/images/resize.gif • - 664, 644, 640 • - b Missing
    system/themes/default/images/resize_.gif

  12. #12
    User Andreas's Avatar
    Join Date
    07-11-09.
    Location
    Mönchengladbach
    Posts
    499

    Default Re: "you have reached the maximum number of domains"

    You have to use the right contao-check.php for your version. But meanwhile it looks like there's from now on only one Contao-Check http://contao.org/en/configuring-the-li ... ntao-check. Extract it on your server and run.
    Web-Development, Freelancer, Burgtech, XHTML, HTML5, CSS, PHP, Javascript, MooTools, MySQL and more
    Amazon wishlist

  13. #13
    User
    Join Date
    01-22-11.
    Posts
    40

    Default Re: "you have reached the maximum number of domains"

    Well in brief, I ftp-ed the backed up httpdocs folder onto the server and everything works again. Thanks for your attention and advice! I'll have a look at the contao-check.php, and maybe start to think about updating my 2.10.4 when I have calmed down a little.

  14. #14
    User
    Join Date
    03-17-10.
    Posts
    83

    Default Re: "you have reached the maximum number of domains"

    I did run into the same problem, got the message ""you have reached the maximum number of domains" when logged into the backend as mydomain.tld\contao. Checked the online registration at inetrobots; the live update ID was registered at http://www.mydomain.tld. Therefore I logged out of the backend, and logged in again at http://www.mydomain.tld\contao. The update did run properly.

    My assumption is that you have to login with the exact same URL as you have registered the live update ID for. Maybe the update functions reads the active URL and sends it with the live update ID to the update server; which then sends this message back if the combination does not match their registration.

    (I have posted this remark here for anyone that may be looking for a resolution, just like i found this threat).

  15. #15
    User
    Join Date
    01-22-11.
    Posts
    40

    Default Re: "you have reached the maximum number of domains"

    Great, thanks Rian. I just found your thread. I'll try it soon.

    Andrei.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •