Invalid URI error after migrating Magento and no underscore in URLMagento Blank Frontend Page and Blank...

Is this nominative case or accusative case?

Problems with rounding giving too many digits

School performs periodic password audits. Is my password compromised?

Should I use HTTPS on a domain that will only be used for redirection?

PTIJ: Aliyot for the deceased

Why would the IRS ask for birth certificates or even audit a small tax return?

Is there a way to find out the age of climbing ropes?

Does the in-code argument passing conventions used on PDP-11's have a name?

What is Tony Stark injecting into himself in Iron Man 3?

How spaceships determine each other's mass in space?

Why do we call complex numbers “numbers” but we don’t consider 2 vectors numbers?

How can I be pwned if I'm not registered on the compromised site?

Why doesn't "adolescent" take any articles in "listen to adolescent agonising"?

Are there other characters in the Star Wars universe who had damaged bodies and needed to wear an outfit like Darth Vader?

I've given my players a lot of magic items. Is it reasonable for me to give them harder encounters?

Why do phishing e-mails use faked e-mail addresses instead of the real one?

Is it a Cyclops number? "Nobody" knows!

How do you make a gun that shoots melee weapons and/or swords?

Do natural melee weapons (from racial traits) trigger Improved Divine Smite?

Should we avoid writing fiction about historical events without extensive research?

Paper published similar to PhD thesis

Computing the volume of a simplex-like object with constraints

Did Amazon pay $0 in taxes last year?

Can a Mexican citizen living in US under DACA drive to Canada?



Invalid URI error after migrating Magento and no underscore in URL


Magento Blank Frontend Page and Blank Backend Page after loginAdmin error: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '0' for key 'PRIMARY'Cant access magento connect after migrating to a new serverMagento 2 error “Class does not exist” in checkout page after migrating from magento 1.9.2.2How can I fix this error I received after migrating my Magento site to new server?Migration magento problemNo theme and wrong redirection after moving live site to local server - Magento 1.7Inserting additional entries after migrating from 1.9.1.0 to 2.1.6Problem after migrating magento 2 to a new serverGetting:'Mage_Core_Exception' with message 'Invalid block type:













3















I've migrated my Magento CE 1.7.0.2. to a new domain and have updated the local.xml and core_config_data table, web/unsecure/base_url and web/secure/base_url now contain the right urls. (Installation 1)



However upon opening the main page of my store I do get the following error:



There has been an error processing your request



Invalid URI supplied



a:5:{i:0;s:20:"Invalid URI supplied";i:1;s:871:"#0 /home/my-domain.com/public_html/lib/Zend/Uri.php(143): Zend_Uri_Http->__construct('http', '//my-domain...')
#1 /home/my-domain.com/public_html/app/code/core/Mage/Core/Model/Store.php(726): Zend_Uri::factory('http://my-doma...')
#2 /home/my-domain.com/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(313): Mage_Core_Model_Store->isCurrentlySecure()
#3 /home/my-domain.com/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(161): Mage_Core_Controller_Varien_Front->_checkBaseUrl(Object(Mage_Core_Controller_Request_Http))
#4 /home/my-domain.com/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#5 /home/my-domain.com/public_html/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#6 /home/my-domain.com/public_html/index.php(87): Mage::run('', 'store')
#7 {main}";s:3:"url";s:1:"/";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:7:"default";}


The url of my Magento installation contains dashes but no underscores.



I've successfully installed a clean Magento installation (Installation 2) on the same server using a second database. This installation runs without problems, settings of the web/unsecure/base_url and web/secure/base_url in the core_config_data table are equal.



I've also configured the clean installation (Installation 2) in such a way that it links to the database of the original Magento installation (Installation 1) surprisingly this works fine too.



I feel something is wrong with one of the Magento files of Installation 1. Anybody a clue what might cause installation 1 not to work properly?










share|improve this question



























    3















    I've migrated my Magento CE 1.7.0.2. to a new domain and have updated the local.xml and core_config_data table, web/unsecure/base_url and web/secure/base_url now contain the right urls. (Installation 1)



    However upon opening the main page of my store I do get the following error:



    There has been an error processing your request



    Invalid URI supplied



    a:5:{i:0;s:20:"Invalid URI supplied";i:1;s:871:"#0 /home/my-domain.com/public_html/lib/Zend/Uri.php(143): Zend_Uri_Http->__construct('http', '//my-domain...')
    #1 /home/my-domain.com/public_html/app/code/core/Mage/Core/Model/Store.php(726): Zend_Uri::factory('http://my-doma...')
    #2 /home/my-domain.com/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(313): Mage_Core_Model_Store->isCurrentlySecure()
    #3 /home/my-domain.com/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(161): Mage_Core_Controller_Varien_Front->_checkBaseUrl(Object(Mage_Core_Controller_Request_Http))
    #4 /home/my-domain.com/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
    #5 /home/my-domain.com/public_html/app/Mage.php(683): Mage_Core_Model_App->run(Array)
    #6 /home/my-domain.com/public_html/index.php(87): Mage::run('', 'store')
    #7 {main}";s:3:"url";s:1:"/";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:7:"default";}


    The url of my Magento installation contains dashes but no underscores.



    I've successfully installed a clean Magento installation (Installation 2) on the same server using a second database. This installation runs without problems, settings of the web/unsecure/base_url and web/secure/base_url in the core_config_data table are equal.



    I've also configured the clean installation (Installation 2) in such a way that it links to the database of the original Magento installation (Installation 1) surprisingly this works fine too.



    I feel something is wrong with one of the Magento files of Installation 1. Anybody a clue what might cause installation 1 not to work properly?










    share|improve this question

























      3












      3








      3


      1






      I've migrated my Magento CE 1.7.0.2. to a new domain and have updated the local.xml and core_config_data table, web/unsecure/base_url and web/secure/base_url now contain the right urls. (Installation 1)



      However upon opening the main page of my store I do get the following error:



      There has been an error processing your request



      Invalid URI supplied



      a:5:{i:0;s:20:"Invalid URI supplied";i:1;s:871:"#0 /home/my-domain.com/public_html/lib/Zend/Uri.php(143): Zend_Uri_Http->__construct('http', '//my-domain...')
      #1 /home/my-domain.com/public_html/app/code/core/Mage/Core/Model/Store.php(726): Zend_Uri::factory('http://my-doma...')
      #2 /home/my-domain.com/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(313): Mage_Core_Model_Store->isCurrentlySecure()
      #3 /home/my-domain.com/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(161): Mage_Core_Controller_Varien_Front->_checkBaseUrl(Object(Mage_Core_Controller_Request_Http))
      #4 /home/my-domain.com/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
      #5 /home/my-domain.com/public_html/app/Mage.php(683): Mage_Core_Model_App->run(Array)
      #6 /home/my-domain.com/public_html/index.php(87): Mage::run('', 'store')
      #7 {main}";s:3:"url";s:1:"/";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:7:"default";}


      The url of my Magento installation contains dashes but no underscores.



      I've successfully installed a clean Magento installation (Installation 2) on the same server using a second database. This installation runs without problems, settings of the web/unsecure/base_url and web/secure/base_url in the core_config_data table are equal.



      I've also configured the clean installation (Installation 2) in such a way that it links to the database of the original Magento installation (Installation 1) surprisingly this works fine too.



      I feel something is wrong with one of the Magento files of Installation 1. Anybody a clue what might cause installation 1 not to work properly?










      share|improve this question














      I've migrated my Magento CE 1.7.0.2. to a new domain and have updated the local.xml and core_config_data table, web/unsecure/base_url and web/secure/base_url now contain the right urls. (Installation 1)



      However upon opening the main page of my store I do get the following error:



      There has been an error processing your request



      Invalid URI supplied



      a:5:{i:0;s:20:"Invalid URI supplied";i:1;s:871:"#0 /home/my-domain.com/public_html/lib/Zend/Uri.php(143): Zend_Uri_Http->__construct('http', '//my-domain...')
      #1 /home/my-domain.com/public_html/app/code/core/Mage/Core/Model/Store.php(726): Zend_Uri::factory('http://my-doma...')
      #2 /home/my-domain.com/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(313): Mage_Core_Model_Store->isCurrentlySecure()
      #3 /home/my-domain.com/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(161): Mage_Core_Controller_Varien_Front->_checkBaseUrl(Object(Mage_Core_Controller_Request_Http))
      #4 /home/my-domain.com/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
      #5 /home/my-domain.com/public_html/app/Mage.php(683): Mage_Core_Model_App->run(Array)
      #6 /home/my-domain.com/public_html/index.php(87): Mage::run('', 'store')
      #7 {main}";s:3:"url";s:1:"/";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:7:"default";}


      The url of my Magento installation contains dashes but no underscores.



      I've successfully installed a clean Magento installation (Installation 2) on the same server using a second database. This installation runs without problems, settings of the web/unsecure/base_url and web/secure/base_url in the core_config_data table are equal.



      I've also configured the clean installation (Installation 2) in such a way that it links to the database of the original Magento installation (Installation 1) surprisingly this works fine too.



      I feel something is wrong with one of the Magento files of Installation 1. Anybody a clue what might cause installation 1 not to work properly?







      ce-1.7.0.2 migration server






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jul 15 '14 at 10:33









      TrendyTTrendyT

      1613




      1613






















          3 Answers
          3






          active

          oldest

          votes


















          6














          Check any whitespace or new line character on core_config_data table entries for base_url fields (web/unsecure/base_url, web/secure/base_url, web/unsecure/base_url, web/secure/base_url). I encountered this once and that's how I've resolved it.



          Also another error that you may get because of this mistake is



          Warning: Header may not contain more than a single header, new line detected  in lib/Zend/Controller/Response/Abstract.php on line 363


          I would like to add this as comment but I don't have enough reputation to do so.






          share|improve this answer

































            0














            I had the same issue and my URL didn't have an underscore "_" in it.
            So the solution was to erase the var/cache folder contents and also the var/session folder content. Then refresh your page and that should do it.






            share|improve this answer































              0














              Spent quite some time resolving this issue today. The Magento 2 site we were working on would not load the admin area and was exhausting all available memory. The URL was edited in the DB and had a line break after the domain name.



              Check the URLS in web/unsecure/base_url & web/secure/base_url



              Make sure they are clean with no spaces etc.





              share








              New contributor




              Puremedia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.




















                Your Answer








                StackExchange.ready(function() {
                var channelOptions = {
                tags: "".split(" "),
                id: "479"
                };
                initTagRenderer("".split(" "), "".split(" "), channelOptions);

                StackExchange.using("externalEditor", function() {
                // Have to fire editor after snippets, if snippets enabled
                if (StackExchange.settings.snippets.snippetsEnabled) {
                StackExchange.using("snippets", function() {
                createEditor();
                });
                }
                else {
                createEditor();
                }
                });

                function createEditor() {
                StackExchange.prepareEditor({
                heartbeatType: 'answer',
                autoActivateHeartbeat: false,
                convertImagesToLinks: false,
                noModals: true,
                showLowRepImageUploadWarning: true,
                reputationToPostImages: null,
                bindNavPrevention: true,
                postfix: "",
                imageUploader: {
                brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                allowUrls: true
                },
                onDemand: true,
                discardSelector: ".discard-answer"
                ,immediatelyShowMarkdownHelp:true
                });


                }
                });














                draft saved

                draft discarded


















                StackExchange.ready(
                function () {
                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f28966%2finvalid-uri-error-after-migrating-magento-and-no-underscore-in-url%23new-answer', 'question_page');
                }
                );

                Post as a guest















                Required, but never shown

























                3 Answers
                3






                active

                oldest

                votes








                3 Answers
                3






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes









                6














                Check any whitespace or new line character on core_config_data table entries for base_url fields (web/unsecure/base_url, web/secure/base_url, web/unsecure/base_url, web/secure/base_url). I encountered this once and that's how I've resolved it.



                Also another error that you may get because of this mistake is



                Warning: Header may not contain more than a single header, new line detected  in lib/Zend/Controller/Response/Abstract.php on line 363


                I would like to add this as comment but I don't have enough reputation to do so.






                share|improve this answer






























                  6














                  Check any whitespace or new line character on core_config_data table entries for base_url fields (web/unsecure/base_url, web/secure/base_url, web/unsecure/base_url, web/secure/base_url). I encountered this once and that's how I've resolved it.



                  Also another error that you may get because of this mistake is



                  Warning: Header may not contain more than a single header, new line detected  in lib/Zend/Controller/Response/Abstract.php on line 363


                  I would like to add this as comment but I don't have enough reputation to do so.






                  share|improve this answer




























                    6












                    6








                    6







                    Check any whitespace or new line character on core_config_data table entries for base_url fields (web/unsecure/base_url, web/secure/base_url, web/unsecure/base_url, web/secure/base_url). I encountered this once and that's how I've resolved it.



                    Also another error that you may get because of this mistake is



                    Warning: Header may not contain more than a single header, new line detected  in lib/Zend/Controller/Response/Abstract.php on line 363


                    I would like to add this as comment but I don't have enough reputation to do so.






                    share|improve this answer















                    Check any whitespace or new line character on core_config_data table entries for base_url fields (web/unsecure/base_url, web/secure/base_url, web/unsecure/base_url, web/secure/base_url). I encountered this once and that's how I've resolved it.



                    Also another error that you may get because of this mistake is



                    Warning: Header may not contain more than a single header, new line detected  in lib/Zend/Controller/Response/Abstract.php on line 363


                    I would like to add this as comment but I don't have enough reputation to do so.







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Aug 11 '14 at 23:23

























                    answered Aug 11 '14 at 9:02









                    phagentophagento

                    38428




                    38428

























                        0














                        I had the same issue and my URL didn't have an underscore "_" in it.
                        So the solution was to erase the var/cache folder contents and also the var/session folder content. Then refresh your page and that should do it.






                        share|improve this answer




























                          0














                          I had the same issue and my URL didn't have an underscore "_" in it.
                          So the solution was to erase the var/cache folder contents and also the var/session folder content. Then refresh your page and that should do it.






                          share|improve this answer


























                            0












                            0








                            0







                            I had the same issue and my URL didn't have an underscore "_" in it.
                            So the solution was to erase the var/cache folder contents and also the var/session folder content. Then refresh your page and that should do it.






                            share|improve this answer













                            I had the same issue and my URL didn't have an underscore "_" in it.
                            So the solution was to erase the var/cache folder contents and also the var/session folder content. Then refresh your page and that should do it.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Dec 22 '15 at 0:56









                            LordcuzLordcuz

                            112




                            112























                                0














                                Spent quite some time resolving this issue today. The Magento 2 site we were working on would not load the admin area and was exhausting all available memory. The URL was edited in the DB and had a line break after the domain name.



                                Check the URLS in web/unsecure/base_url & web/secure/base_url



                                Make sure they are clean with no spaces etc.





                                share








                                New contributor




                                Puremedia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                Check out our Code of Conduct.

























                                  0














                                  Spent quite some time resolving this issue today. The Magento 2 site we were working on would not load the admin area and was exhausting all available memory. The URL was edited in the DB and had a line break after the domain name.



                                  Check the URLS in web/unsecure/base_url & web/secure/base_url



                                  Make sure they are clean with no spaces etc.





                                  share








                                  New contributor




                                  Puremedia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                  Check out our Code of Conduct.























                                    0












                                    0








                                    0







                                    Spent quite some time resolving this issue today. The Magento 2 site we were working on would not load the admin area and was exhausting all available memory. The URL was edited in the DB and had a line break after the domain name.



                                    Check the URLS in web/unsecure/base_url & web/secure/base_url



                                    Make sure they are clean with no spaces etc.





                                    share








                                    New contributor




                                    Puremedia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                    Check out our Code of Conduct.










                                    Spent quite some time resolving this issue today. The Magento 2 site we were working on would not load the admin area and was exhausting all available memory. The URL was edited in the DB and had a line break after the domain name.



                                    Check the URLS in web/unsecure/base_url & web/secure/base_url



                                    Make sure they are clean with no spaces etc.






                                    share








                                    New contributor




                                    Puremedia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                    Check out our Code of Conduct.








                                    share


                                    share






                                    New contributor




                                    Puremedia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                    Check out our Code of Conduct.









                                    answered 9 mins ago









                                    PuremediaPuremedia

                                    1




                                    1




                                    New contributor




                                    Puremedia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                    Check out our Code of Conduct.





                                    New contributor





                                    Puremedia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                    Check out our Code of Conduct.






                                    Puremedia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                    Check out our Code of Conduct.






























                                        draft saved

                                        draft discarded




















































                                        Thanks for contributing an answer to Magento Stack Exchange!


                                        • Please be sure to answer the question. Provide details and share your research!

                                        But avoid



                                        • Asking for help, clarification, or responding to other answers.

                                        • Making statements based on opinion; back them up with references or personal experience.


                                        To learn more, see our tips on writing great answers.




                                        draft saved


                                        draft discarded














                                        StackExchange.ready(
                                        function () {
                                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f28966%2finvalid-uri-error-after-migrating-magento-and-no-underscore-in-url%23new-answer', 'question_page');
                                        }
                                        );

                                        Post as a guest















                                        Required, but never shown





















































                                        Required, but never shown














                                        Required, but never shown












                                        Required, but never shown







                                        Required, but never shown

































                                        Required, but never shown














                                        Required, but never shown












                                        Required, but never shown







                                        Required, but never shown







                                        Popular posts from this blog

                                        “%fieldName is a required field.”, in Magento2 REST API Call for GET Method Type The Next...

                                        How to change City field to a dropdown in Checkout step Magento 2Magento 2 : How to change UI field(s)...

                                        夢乃愛華...