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:
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
add a comment |
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
add a comment |
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
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
ce-1.7.0.2 migration server
asked Jul 15 '14 at 10:33
TrendyTTrendyT
1613
1613
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
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.
add a comment |
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.
add a comment |
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.
New contributor
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
edited Aug 11 '14 at 23:23
answered Aug 11 '14 at 9:02
phagentophagento
38428
38428
add a comment |
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
answered Dec 22 '15 at 0:56
LordcuzLordcuz
112
112
add a comment |
add a comment |
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.
New contributor
add a comment |
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.
New contributor
add a comment |
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.
New contributor
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.
New contributor
New contributor
answered 9 mins ago
PuremediaPuremedia
1
1
New contributor
New contributor
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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