Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Page 1 of 2
://:/install/ ->???? 
 
licentia
Sr. Member
 
Avatar
Total Posts:  78
Joined:  2007-08-31
Portugal
 

Hi,

After entering the data on the second page (normal server and secure server), I’m redirected to the following address

://:/install/

Does this happen to anyone else?

Regards,
Mascker

 
Magento Community Magento Community
Magento Community
Magento Community
 
Burak
Jr. Member
 
Total Posts:  13
Joined:  2007-08-31
 

I had many problems before this one. But I am in this phase now smile

I am faced with this: http://localhost/magento/://:/install/ in address bar and
You don’t have permission to access /magento/://:/install/ on this server. in the page

 
Magento Community Magento Community
Magento Community
Magento Community
 
wimdenocker
Jr. Member
 
Total Posts:  6
Joined:  2007-08-31
Antwerp, Belgium
 

I also got this strange rewrite url… (pasted from my setup, right after completing the screen where one enters the http and/or https entries
http://stage.unx.nl/magent/://:/install/://:/install/://:/install/://:
/install/://:/install/://:/install/://:/install/://:/install/://:/install/://:/install/://:
/install/://:/install/://:/install/://:/install/://:/install/://:/install/://:/install/://:/install/://:/install/

any idea what generates these url’s ? (probably some rewrite ?)

 
Magento Community Magento Community
Magento Community
Magento Community
 
Siddharth Menon
Jr. Member
 
Avatar
Total Posts:  20
Joined:  2007-08-31
Mumbai
 

Did u download the latest package with .htaccess file ?

Plus make sure that everything has been uploaded to your host ... best way to do that is to upload the zip file and then extract it on the server using shell access cmd.

 
Magento Community Magento Community
Magento Community
Magento Community
 
licentia
Sr. Member
 
Avatar
Total Posts:  78
Joined:  2007-08-31
Portugal
 
Siddharth Menon - 01 September 2007 06:48 AM

Did u download the latest package with .htaccess file ?

Plus make sure that everything has been uploaded to your host ... best way to do that is to upload the zip file and then extract it on the server using shell access cmd.

Yes,

my ,htaccess file his there and I have uploaded all my files…

Can this be a apache version problem, and how he deals with .htaccess files?

Regards

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

Does this happen when you point your browser to http://localhost/magento/install or any other url?
Do you run it on Windows?

 
Magento Community Magento Community
Magento Community
Magento Community
 
licentia
Sr. Member
 
Avatar
Total Posts:  78
Joined:  2007-08-31
Portugal
 

Hi,

I’m on a mac, and this happens when I first point to localhost/magento

and I’m redirected to the install process

then I insert the required data (normal and secure server), and after press continue I’m redirected to the ://:/install/ URL

Regards

 
Magento Community Magento Community
Magento Community
Magento Community
 
wimdenocker
Jr. Member
 
Total Posts:  6
Joined:  2007-08-31
Antwerp, Belgium
 

my settup is a pretty standard freebsd box with apache 2.2.x and php 5.2.3
I got some issues getting the .htaccess mechanism right in the vhost section of this site, but got across this…

After having completed the install questions on database and http locations, I’m always redirected to the url shown in my original post.

wim

 
Magento Community Magento Community
Magento Community
Magento Community
 
wimdenocker
Jr. Member
 
Total Posts:  6
Joined:  2007-08-31
Antwerp, Belgium
 

I also tested the magento setup on a windows xp machine (php 5.2.3 / apache 2.2.x), and got exactly the same problem just after completing the screen where the host setup is filled out.
after this screen the webserver redirects me to http://localhost/magento/://:/install/
(giving an error 403)

wim

 
Magento Community Magento Community
Magento Community
Magento Community
 
ekosch
Jr. Member
 
Total Posts:  4
Joined:  2007-08-31
 

any one has passed installation procedure on windows?
we need help here…

 
Magento Community Magento Community
Magento Community
Magento Community
 
Dr. Volker Goebbels
Jr. Member
 
Avatar
Total Posts:  2
Joined:  2007-08-31
Aachen, Germany
 

I got the same problem on a mac using the apple apache and entropy php5 package.
There seems to be a problem with the call to getBaseURL in app.Mage.php because when getting the error it is called with an empty parameter array instead of a set of valid parameters.
This results in a false header() redirect. On a linux (debiag 4.0) machine everything works well.

Best regards,
Volker

 
Magento Community Magento Community
Magento Community
Magento Community
 
Shpigford
Sr. Member
 
Avatar
Total Posts:  171
Joined:  2007-09-03
Denver, CO
 

I, like others, am having this same problem.

I’m installing it on OS X with MySQL 5.1.16-beta and PHP 5.2.1

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

This has been fixed in trunk and will be available in next minor release

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

For those who are willing to update current code:

in app/code/core/Mage/Core/Model/Store.php:225 replace

$protocol $config['protocol'];
$host $config['host'];
$port $config['port'];
with
if (false!==$config{
  $protocol 
$config['protocol'];
  
$host $config['host'];
  
$port $config['port'];
else {
  $protocol 
= empty($_SERVER['HTTPS']) ? 'http' 'https';
  list(
$host$port) = explode(':'$_SERVER['HTTP_HOST']);
}
 
Magento Community Magento Community
Magento Community
Magento Community
 
Shpigford
Sr. Member
 
Avatar
Total Posts:  171
Joined:  2007-09-03
Denver, CO
 
Moshe - 06 September 2007 09:07 AM

For those who are willing to update current code:

in app/code/core/Mage/Core/Model/Store.php:225 replace

$protocol $config['protocol'];
$host $config['host'];
$port $config['port'];
with
if (false!==$config{
  $protocol 
$config['protocol'];
  
$host $config['host'];
  
$port $config['port'];
else {
  $protocol 
= empty($_SERVER['HTTPS']) ? 'http' 'https';
  list(
$host$port) = explode(':'$_SERVER['HTTP_HOST']);
}

I’m not totally sure this fixed it. It did fix the initial issue but now it seems to get stuck in a loop after doing the install.

From Safari:

Too many redirects occurred trying to open “http://magento.dev:/install/”

(Note my local development is “magento.dev")

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

One more thing:

in same file in next function getBaseUrl() replace

if (empty($params['_type'])) {
  $basePath 
$config['base_path'];
else {
  $basePath 
$this->getConfig('web/url/'.$params['_type']);
}
with
if (false!==$config{
  
if (empty($params['_type'])) {
    $basePath 
$config['base_path'];
  
else {
    $basePath 
$this->getConfig('web/url/'.$params['_type']);
  
}
else {
  $basePath 
dirname($_SERVER['SCRIPT_NAME']).'/';
}
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 1 of 2