Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Magento Forum

   
This url is invalid
 
ActusMedia
Member
 
Avatar
Total Posts:  45
Joined:  2007-11-01
Netherlands, Enschede
 
Napier - 25 May 2008 01:31 PM

LoL - so let me get this straight - the newest release of Magento doesn’t even install?  Aka: it doesnt work?  Maybe you should test a release before releasing it!  Come on now!

When will this be fixed so I can use your software… i dont really feel like deleting and uploading an old version… can we just get a patch to fix this?  Why has no team member addressed the issue ... its obvious noone can install the newest version. lol.

Same issue here trying to install the latest Magento version.
If this is really a bug (which it seems) there is not one single excuse Varien can make for this bug to appear in a stable production release. Let alone let the community wait for several days to fix this issue…
This is more than a shame for Magento

 Signature 

Dedicated Magento Hosting nu 25,- per maand!  Goedkoopste van Nederland

Pascal Vos
Actus Media

Magento Hosting / Design & Support

 
Magento Community Magento Community
Magento Community
Magento Community
 
Swevel
Jr. Member
 
Total Posts:  2
Joined:  2008-05-04
 

Hi to all, This is a possible solution

I have checked the changes from the 1.0.19870 to 1.0.19870.1 in the SVN repository to search the problem, I have found that the problem is the file app/code/core/Mage/Install/Model/Installer/config php in the lines 136-141. When the unsecure URL is checked to validate it with a Response test in the line 75, the result is “File Not Found” because the url checked is e.g http://localhost/magento/install/wizard/checkHost/ but this url don’t work, the url that work is e.g http://localhost/magento/index.php/install/wizard/checkHost/ . note the index.php.

For that reason a temporaly solution to this is change the line 138 from the file app/code/core/Mage/Install/Model/Installer/config php

$prefix $secure 'install/wizard/checkSecureHost/' 'install/wizard/checkHost/';

to

$prefix $secure 'index.php/install/wizard/checkSecureHost/' 'index.php/install/wizard/checkHost/';

I hope that magento developers will be found a better solution.

Posdata: Excuseme my english.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1771
Joined:  2007-08-07
Los Angeles
 

Hi, to install 1.0.19870.1, please edit app/code/core/Mage/Install/Model/Installer/Config.php on line 139, replace:

$client = new Varien_Http_Client($url.$prefix);
with
$client = new Varien_Http_Client($url.'index.php/'.$prefix);

UPDATE: missed the post above, use either smile

 Signature 

- I would love to change the world, but they won’t give me the source code -

 
Magento Community Magento Community
Magento Community
Magento Community
 
brolaf
Jr. Member
 
Avatar
Total Posts:  4
Joined:  2008-05-03
SLC, Utah
 
Swevel - 26 May 2008 08:20 PM

Hi to all, This is a possible solution

I have checked the changes from the 1.0.19870 to 1.0.19870.1 in the SVN repository to search the problem, I have found that the problem is the file app/code/core/Mage/Install/Model/Installer/config php in the lines 136-141. When the unsecure URL is checked to validate it with a Response test in the line 75, the result is “File Not Found” because the url checked is e.g http://localhost/magento/install/wizard/checkHost/ but this url don’t work, the url that work is e.g http://localhost/magento/index.php/install/wizard/checkHost/ . note the index.php.

For that reason a temporaly solution to this is change the line 138 from the file app/code/core/Mage/Install/Model/Installer/config php

$prefix $secure 'install/wizard/checkSecureHost/' 'install/wizard/checkHost/';

to

$prefix $secure 'index.php/install/wizard/checkSecureHost/' 'index.php/install/wizard/checkHost/';

I hope that magento developers will be found a better solution.

Posdata: Excuseme my english.

This works for installation.
Now, once Magento is running, only the home page works. All of the links lead to error pages because they need to have that “index.php” in the url, but they don’t. For example the sample store button ‘electronics’ links to “example.com/electronics” which is dead. However, “example.com/index.php/electronics” works.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1771
Joined:  2007-08-07
Los Angeles
 

@brolaf:

Go to Admin > System > Configuration > Web > Search Engines Optimization

Set “Use Web Server Rewrites” to “No”

Go to System > Cache management, set “All Cache” to “Refresh” and click Save.

 Signature 

- I would love to change the world, but they won’t give me the source code -

 
Magento Community Magento Community
Magento Community
Magento Community
 
brolaf
Jr. Member
 
Avatar
Total Posts:  4
Joined:  2008-05-03
SLC, Utah
 

@Moshe:

Thanks. That works.
Is this how the url should be displaying? With the index.php/ in there?
Or is this something that I will need to change back sometime?
I appreciate your help.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1771
Joined:  2007-08-07
Los Angeles
 

If you can enable mod_rewrite in your apache, you’ll be able to take advantage of URLs without index.php.

 Signature 

- I would love to change the world, but they won’t give me the source code -

 
Magento Community Magento Community
Magento Community
Magento Community
 
xiaolin
Jr. Member
 
Total Posts:  22
Joined:  2008-05-04
 

tried both suggestions but i still get problem : url is invalid . any ideas?

 
Magento Community Magento Community
Magento Community
Magento Community
 
koj*
Jr. Member
 
Total Posts:  1
Joined:  2007-10-23
Hinckley, Leicester UK
 

I’ve followed this through and it all works correctly and I get to the “You’re All Set!” screen.

However on clicking the Go to Frontend, or Go to Backend buttons I get blank pages with no output. I have earlier builds of Mageno working on this server without any issue.

Does anybody else have this problem? Should I just wait until an updated Magento installation package is released?

David.

 
Magento Community Magento Community
Magento Community
Magento Community
 
juanmanolo
Jr. Member
 
Total Posts:  6
Joined:  2008-05-23
 
brolaf - 26 May 2008 10:01 PM

Swevel - 26 May 2008 08:20 PM
Hi to all, This is a possible solution


This works for installation.
Now, once Magento is running, only the home page works. All of the links lead to error pages because they need to have that “index.php” in the url, but they don’t. For example the sample store button ‘electronics’ links to “example.com/electronics” which is dead. However, “example.com/index.php/electronics” works.

Why disable mod_rewrite? Just follow this thread http://www.magentocommerce.com/boards/viewthread/8589/

 
Magento Community Magento Community
Magento Community
Magento Community
 
cantaberry
Jr. Member
 
Total Posts:  1
Joined:  2008-04-28
 
Moshe - 26 May 2008 09:49 PM

Hi, to install 1.0.19870.1, please edit app/code/core/Mage/Install/Model/Installer/Config.php on line 139, replace:

$client = new Varien_Http_Client($url.$prefix);
with
$client = new Varien_Http_Client($url.'index.php/'.$prefix);

UPDATE: missed the post above, use either smile

It was actually in line 137 of that file in my install.  FYI, the vi command is 137G for those who are VI challenged like me today.  - Ray

 
Magento Community Magento Community
Magento Community
Magento Community
 
Lovlss
Jr. Member
 
Total Posts:  1
Joined:  2008-05-28
 

Is there a fix coming up soon?

Oddly enough on one machine this invalid url error occurred, which lead me to this thread on my error search. I just tried to install it on my other machine and it worked.

 
Magento Community Magento Community
Magento Community
Magento Community
 
benne
Jr. Member
 
Total Posts:  2
Joined:  2008-05-28
 

When I do the above named changes I get the following message after the connection times out:

Too many redirects occurred trying to open “http://localhost/webstore/index.php/default/install/”. This might occur if you open a page that is redirected to open another page which then is redirected to open the original page.

When I try to replace the edited copy of config.php to get back to the installation process nothing happens and I get the same message. I have now re installed Magento 4 times in 2 days. Any help would be much appreciated.

Thanks Cris

 
Magento Community Magento Community
Magento Community
Magento Community
 
johanlm
Jr. Member
 
Total Posts:  5
Joined:  2008-05-20
 
Moshe - 26 May 2008 09:49 PM

Hi, to install 1.0.19870.1, please edit app/code/core/Mage/Install/Model/Installer/Config.php on line 139, replace:

$client = new Varien_Http_Client($url.$prefix);
with
$client = new Varien_Http_Client($url.'index.php/'.$prefix);

Had the same issue with the 1.0.19870.1.zip version for a fesh installation.
Did the above alteration and then it went very smoothly. So far so good.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Gabriel Queiroz
Member
 
Avatar
Total Posts:  73
Joined:  2008-05-28
Brazil
 

This fix works but, just as an advice, the download package should be corrected…
Everyone who’s downloading this new version is getting this error… that’s not good at all for magento…

 Signature 

Gabriel Queiroz Silva

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
53205 users|799 users currently online|107240 forum posts