Invalid URI error after moving Magento but no underscore in URLMissing argument and undefined variable 'text'getting Error in magentoMagento error “Currency 'USD' not found”Invalid URI error after migrating Magento but no underscore in URLError after successfull patch SUPEE-5994: Class 'Mage_Install_Controller_Router_Install' not foundHow to diagnose “Invalid block type ..” error?Wierd error in error.log fileMagento Errors - was running fine a week ago - 2 Traces BelowMagento 2 module error after version upgradeDeleted ShipperHQ module causing error in “All Customers” section of Magento 2

how to change dot to underline in multiple file-names?

What do "unsettled funds" mean?

Awk to get all my regular users in shadow

what can you do with Format View

What are the limitations of the Hendersson-Hasselbalch equation?

Is there a booking app or site that lets you specify your gender for shared dormitories?

“The Fourier transform cannot measure two phases at the same frequency.” Why not?

How to win against ants

Repeated! Factorials!

Why are there yellow dot stickers on the front doors of businesses in Russia?

What is the difference between "un plan" and "une carte" (in the context of map)?

How to increase Solr JVM memory

Vectorised way to calculate mean of left and right neighbours in a vector

Can a Sikh enter a buddhist temple with a turban?

How to call made-up data?

Based on what criteria do you add/not add icons to labels within a toolbar?

How easy is it to get a gun illegally in the United States?

Can the Cauchy product of divergent series with itself be convergent?

The Game of the Century - why didn't Byrne take the rook after he forked Fischer?

Is an "are" omitted in this sentence

A Checkmate of Dubious Legality

How can I perform a deterministic physics simulation?

How do I know when and if a character requires a backstory?

Piece de Resistance - Introduction & Ace and A's



Invalid URI error after moving Magento but no underscore in URL


Missing argument and undefined variable 'text'getting Error in magentoMagento error “Currency 'USD' not found”Invalid URI error after migrating Magento but no underscore in URLError after successfull patch SUPEE-5994: Class 'Mage_Install_Controller_Router_Install' not foundHow to diagnose “Invalid block type ..” error?Wierd error in error.log fileMagento Errors - was running fine a week ago - 2 Traces BelowMagento 2 module error after version upgradeDeleted ShipperHQ module causing error in “All Customers” section of Magento 2






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I have recently migrated my site to a new dedicated server and as part of the move have updated the URL to a new one.



I am getting an invalid URI error and have searched the forums and the wider web but only find references to URLs with underscores in them.



Neither the old URL nor the new URL contain any underscores but I get the following error when trying to access any page:



There has been an error processing your request



Invalid URI supplied



Trace:




#0 /var/www/vhosts/unitymedia-dev.co.uk/elmers.unitymedia-dev.co.uk/lib/Zend/Uri.php(143): Zend_Uri_Http->__construct('http', '//elmers.unitym...')
#1 /var/www/vhosts/unitymedia-dev.co.uk/elmers.unitymedia-dev.co.uk/app/code/core/Mage/Core/Model/Store.php(726): Zend_Uri::factory('http://elmers.u...')
#2 /var/www/vhosts/unitymedia-dev.co.uk/elmers.unitymedia-dev.co.uk/app/code/core/Mage/Core/Controller/Varien/Front.php(313): Mage_Core_Model_Store->isCurrentlySecure()
#3 /var/www/vhosts/unitymedia-dev.co.uk/elmers.unitymedia-dev.co.uk/app/code/core/Mage/Core/Controller/Varien/Front.php(161): Mage_Core_Controller_Varien_Front->_checkBaseUrl(Object(Mage_Core_Controller_Request_Http))
#4 /var/www/vhosts/unitymedia-dev.co.uk/elmers.unitymedia-dev.co.uk/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#5 /var/www/vhosts/unitymedia-dev.co.uk/elmers.unitymedia-dev.co.uk/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#6 /var/www/vhosts/unitymedia-dev.co.uk/elmers.unitymedia-dev.co.uk/index.php(87): Mage::run('', 'store')
#7 main


The url I am trying to set it up on is: http://elmers.unitymedia-dev.co.uk/



I have changed the urls in the core config data table to the new url and checked there are no random spaces or characters, but it still won't have it.



If someone could help it would be really appreciated.



Thanks










share|improve this question






























    1















    I have recently migrated my site to a new dedicated server and as part of the move have updated the URL to a new one.



    I am getting an invalid URI error and have searched the forums and the wider web but only find references to URLs with underscores in them.



    Neither the old URL nor the new URL contain any underscores but I get the following error when trying to access any page:



    There has been an error processing your request



    Invalid URI supplied



    Trace:




    #0 /var/www/vhosts/unitymedia-dev.co.uk/elmers.unitymedia-dev.co.uk/lib/Zend/Uri.php(143): Zend_Uri_Http->__construct('http', '//elmers.unitym...')
    #1 /var/www/vhosts/unitymedia-dev.co.uk/elmers.unitymedia-dev.co.uk/app/code/core/Mage/Core/Model/Store.php(726): Zend_Uri::factory('http://elmers.u...')
    #2 /var/www/vhosts/unitymedia-dev.co.uk/elmers.unitymedia-dev.co.uk/app/code/core/Mage/Core/Controller/Varien/Front.php(313): Mage_Core_Model_Store->isCurrentlySecure()
    #3 /var/www/vhosts/unitymedia-dev.co.uk/elmers.unitymedia-dev.co.uk/app/code/core/Mage/Core/Controller/Varien/Front.php(161): Mage_Core_Controller_Varien_Front->_checkBaseUrl(Object(Mage_Core_Controller_Request_Http))
    #4 /var/www/vhosts/unitymedia-dev.co.uk/elmers.unitymedia-dev.co.uk/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
    #5 /var/www/vhosts/unitymedia-dev.co.uk/elmers.unitymedia-dev.co.uk/app/Mage.php(683): Mage_Core_Model_App->run(Array)
    #6 /var/www/vhosts/unitymedia-dev.co.uk/elmers.unitymedia-dev.co.uk/index.php(87): Mage::run('', 'store')
    #7 main


    The url I am trying to set it up on is: http://elmers.unitymedia-dev.co.uk/



    I have changed the urls in the core config data table to the new url and checked there are no random spaces or characters, but it still won't have it.



    If someone could help it would be really appreciated.



    Thanks










    share|improve this question


























      1












      1








      1








      I have recently migrated my site to a new dedicated server and as part of the move have updated the URL to a new one.



      I am getting an invalid URI error and have searched the forums and the wider web but only find references to URLs with underscores in them.



      Neither the old URL nor the new URL contain any underscores but I get the following error when trying to access any page:



      There has been an error processing your request



      Invalid URI supplied



      Trace:




      #0 /var/www/vhosts/unitymedia-dev.co.uk/elmers.unitymedia-dev.co.uk/lib/Zend/Uri.php(143): Zend_Uri_Http->__construct('http', '//elmers.unitym...')
      #1 /var/www/vhosts/unitymedia-dev.co.uk/elmers.unitymedia-dev.co.uk/app/code/core/Mage/Core/Model/Store.php(726): Zend_Uri::factory('http://elmers.u...')
      #2 /var/www/vhosts/unitymedia-dev.co.uk/elmers.unitymedia-dev.co.uk/app/code/core/Mage/Core/Controller/Varien/Front.php(313): Mage_Core_Model_Store->isCurrentlySecure()
      #3 /var/www/vhosts/unitymedia-dev.co.uk/elmers.unitymedia-dev.co.uk/app/code/core/Mage/Core/Controller/Varien/Front.php(161): Mage_Core_Controller_Varien_Front->_checkBaseUrl(Object(Mage_Core_Controller_Request_Http))
      #4 /var/www/vhosts/unitymedia-dev.co.uk/elmers.unitymedia-dev.co.uk/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
      #5 /var/www/vhosts/unitymedia-dev.co.uk/elmers.unitymedia-dev.co.uk/app/Mage.php(683): Mage_Core_Model_App->run(Array)
      #6 /var/www/vhosts/unitymedia-dev.co.uk/elmers.unitymedia-dev.co.uk/index.php(87): Mage::run('', 'store')
      #7 main


      The url I am trying to set it up on is: http://elmers.unitymedia-dev.co.uk/



      I have changed the urls in the core config data table to the new url and checked there are no random spaces or characters, but it still won't have it.



      If someone could help it would be really appreciated.



      Thanks










      share|improve this question














      I have recently migrated my site to a new dedicated server and as part of the move have updated the URL to a new one.



      I am getting an invalid URI error and have searched the forums and the wider web but only find references to URLs with underscores in them.



      Neither the old URL nor the new URL contain any underscores but I get the following error when trying to access any page:



      There has been an error processing your request



      Invalid URI supplied



      Trace:




      #0 /var/www/vhosts/unitymedia-dev.co.uk/elmers.unitymedia-dev.co.uk/lib/Zend/Uri.php(143): Zend_Uri_Http->__construct('http', '//elmers.unitym...')
      #1 /var/www/vhosts/unitymedia-dev.co.uk/elmers.unitymedia-dev.co.uk/app/code/core/Mage/Core/Model/Store.php(726): Zend_Uri::factory('http://elmers.u...')
      #2 /var/www/vhosts/unitymedia-dev.co.uk/elmers.unitymedia-dev.co.uk/app/code/core/Mage/Core/Controller/Varien/Front.php(313): Mage_Core_Model_Store->isCurrentlySecure()
      #3 /var/www/vhosts/unitymedia-dev.co.uk/elmers.unitymedia-dev.co.uk/app/code/core/Mage/Core/Controller/Varien/Front.php(161): Mage_Core_Controller_Varien_Front->_checkBaseUrl(Object(Mage_Core_Controller_Request_Http))
      #4 /var/www/vhosts/unitymedia-dev.co.uk/elmers.unitymedia-dev.co.uk/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
      #5 /var/www/vhosts/unitymedia-dev.co.uk/elmers.unitymedia-dev.co.uk/app/Mage.php(683): Mage_Core_Model_App->run(Array)
      #6 /var/www/vhosts/unitymedia-dev.co.uk/elmers.unitymedia-dev.co.uk/index.php(87): Mage::run('', 'store')
      #7 main


      The url I am trying to set it up on is: http://elmers.unitymedia-dev.co.uk/



      I have changed the urls in the core config data table to the new url and checked there are no random spaces or characters, but it still won't have it.



      If someone could help it would be really appreciated.



      Thanks







      error






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jul 13 '15 at 16:40









      GavGav

      61 bronze badge




      61 bronze badge























          1 Answer
          1






          active

          oldest

          votes


















          0














          Can you please open lib/Zend/Uri/Http.php file and add the following lines:



          $a = $this->validateUsername();
          $b = $this->validatePassword();
          $c = $this->validateHost();
          $d = $this->validatePort();
          $e = $this->validatePath();
          $f = $this->validateQuery();
          $g = $this->validateFragment();
          var_dump($a, $b, $c, $d, $e, $f, $g);
          exit;


          above the



          // Validate the URI
          if ($this->valid() === false) {


          And post the output here.
          This way we can check what part of the url can't pass validation.



          Also, could you please tell what the values are for "web/unsecure/base_url" and "web/secure/base_url" in your core_config_data table?






          share|improve this answer





























            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%2f74221%2finvalid-uri-error-after-moving-magento-but-no-underscore-in-url%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Can you please open lib/Zend/Uri/Http.php file and add the following lines:



            $a = $this->validateUsername();
            $b = $this->validatePassword();
            $c = $this->validateHost();
            $d = $this->validatePort();
            $e = $this->validatePath();
            $f = $this->validateQuery();
            $g = $this->validateFragment();
            var_dump($a, $b, $c, $d, $e, $f, $g);
            exit;


            above the



            // Validate the URI
            if ($this->valid() === false) {


            And post the output here.
            This way we can check what part of the url can't pass validation.



            Also, could you please tell what the values are for "web/unsecure/base_url" and "web/secure/base_url" in your core_config_data table?






            share|improve this answer































              0














              Can you please open lib/Zend/Uri/Http.php file and add the following lines:



              $a = $this->validateUsername();
              $b = $this->validatePassword();
              $c = $this->validateHost();
              $d = $this->validatePort();
              $e = $this->validatePath();
              $f = $this->validateQuery();
              $g = $this->validateFragment();
              var_dump($a, $b, $c, $d, $e, $f, $g);
              exit;


              above the



              // Validate the URI
              if ($this->valid() === false) {


              And post the output here.
              This way we can check what part of the url can't pass validation.



              Also, could you please tell what the values are for "web/unsecure/base_url" and "web/secure/base_url" in your core_config_data table?






              share|improve this answer





























                0












                0








                0







                Can you please open lib/Zend/Uri/Http.php file and add the following lines:



                $a = $this->validateUsername();
                $b = $this->validatePassword();
                $c = $this->validateHost();
                $d = $this->validatePort();
                $e = $this->validatePath();
                $f = $this->validateQuery();
                $g = $this->validateFragment();
                var_dump($a, $b, $c, $d, $e, $f, $g);
                exit;


                above the



                // Validate the URI
                if ($this->valid() === false) {


                And post the output here.
                This way we can check what part of the url can't pass validation.



                Also, could you please tell what the values are for "web/unsecure/base_url" and "web/secure/base_url" in your core_config_data table?






                share|improve this answer















                Can you please open lib/Zend/Uri/Http.php file and add the following lines:



                $a = $this->validateUsername();
                $b = $this->validatePassword();
                $c = $this->validateHost();
                $d = $this->validatePort();
                $e = $this->validatePath();
                $f = $this->validateQuery();
                $g = $this->validateFragment();
                var_dump($a, $b, $c, $d, $e, $f, $g);
                exit;


                above the



                // Validate the URI
                if ($this->valid() === false) {


                And post the output here.
                This way we can check what part of the url can't pass validation.



                Also, could you please tell what the values are for "web/unsecure/base_url" and "web/secure/base_url" in your core_config_data table?







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jul 14 '15 at 12:46

























                answered Jul 14 '15 at 8:57









                Neklo.comNeklo.com

                2,3191 gold badge7 silver badges18 bronze badges




                2,3191 gold badge7 silver badges18 bronze badges






























                    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%2f74221%2finvalid-uri-error-after-moving-magento-but-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

                    Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

                    Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                    Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form