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
Installing on 1and1 webspace
 
grevand
Jr. Member
 
Total Posts:  3
Joined:  2007-08-31
 

No matter what I do I cannot get Magento to install on 1and1 webspace, keeps coming up with Server error
Anyone installed yet on 1and 1 webspace successfully

 
Magento Community Magento Community
Magento Community
Magento Community
 
Andre
Member
 
Total Posts:  55
Joined:  2007-08-31
Mongolia
 

i did an install for a friend on his fasthosts server yesterday - he’s on a linux dev package and couldnt install it. 1&1;and fasthosts both limit what you can do with htaccess so 1st step is to make sure u have AllowOverrides All set in the httpd.conf of your apache install.

Cheers

 
Magento Community Magento Community
Magento Community
Magento Community
 
Rocky®
Jr. Member
 
Total Posts:  1
Joined:  2007-09-04
 

Could be a problem installing on a 1n1 account.  I have a few sites on 1n1.  Not sure which 1n1 country/package you are using, but 1n1 US servers have just recently migrated to MySQL 5 (and they admit it’s a tad buggy - still working out da kinks), but as of yet the 1n1 US LInux servers are running PHP 4.4.7 and no word on when PHP 5 will be available.

According to the Magento home page, under system requirements, it states:
____________________________________________________________________________________________________________
At the base level, Magento will require the following software:

* Linux or another UNIX-compatible operating system (Windows is also supported, but see the Known Issues section below)
* Apache Web Server (1.x or 2.x)
* PHP 5.2.0 or newer, with the following extensions/addons:
o PDO/MySQL
o MySQLi
o mcrypt
o mhash
o simplexml
o DOM
* MySQL 4.1.20 or newer
* A Sendmail-compatible Mail Transfer Agent (MTA) - Magento will connect directly to an SMTP server if you don’t have an MTA
____________________________________________________________________________________________________________

Now I’m as much of a newbie to Magento as one can get, and haven’t even yet looked under the hood at the Magento source code.  But I have a pretty good amount of PHP/MySql experience.  And if Magento is coded SPECIFICALLY to run under PHP 5, it is going to have lots of problems running in a PHP 4 environment on a 1n1 server.  Also, Andre is correct that 1n1 limits some of the things you can easily do with your .htaccess files.  There is virtually no control panel support for .htaccess files - everything has to be edited and configured manually.

Regards,
Rocky®

 
Magento Community Magento Community
Magento Community
Magento Community
 
jstrobel
Jr. Member
 
Total Posts:  3
Joined:  2007-08-31
 

I haven’t tried it yet on my 1and1-space but i think you have to force the use of php5 with this:
AddType x-mapp-php5 .php .php4 .php3
in a .htaccess-File in the maindirectory of Magento.

@Newbie: What is the error-message?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Danebrood
Jr. Member
 
Total Posts:  8
Joined:  2007-08-31
 

Just wanted to corroberate jstrobel above - on 1and1 hosting, you’ll need to add

AddType x-mapp-php5 .php

to your webroot directory .htaccess file, otherwise you’ll be using PHP 4

 
Magento Community Magento Community
Magento Community
Magento Community
 
mckooter
Sr. Member
 
Avatar
Total Posts:  91
Joined:  2007-08-31
 

I have also failed to get it to work on my 1and1 account. They are a tad behind the times. When i get a live site ill probably end up switching hosts, but maybe we can convince 1and1 to get the compatibility by then :D

 
Magento Community Magento Community
Magento Community
Magento Community
 
iPhony
Member
 
Avatar
Total Posts:  37
Joined:  2007-09-01
 

I contacted 1and1 and here are a couple of links they sent me.

The links below contain information about the version of software and
application that’s running in their server.

http://links.1and1faqs.com/check_info.php5s

http://faq.1and1.com/miscellaneous/13.html

This can help knowing more about their shared host but we still need help fixing the internal server error issue and so on…

 
Magento Community Magento Community
Magento Community
Magento Community
 
iPhony
Member
 
Avatar
Total Posts:  37
Joined:  2007-09-01
 

After researching this issue I was able to find a quick fix to the Internal Server Error Issue on 1and1

I commented out the first two lines of the .htaccess file that set the flags. I heard that in some shared host php does not allow flags to be set from the .htaccess file and should be instead set in the php.ini file.

I also changed the rewrite engine rules to solve the issue of the install directory not found.

Here is what my new .htaccess looks like the lines beginning with # are commented out:

----------
#php_flag magic_quotes_gpc off
#php_flag short_open_tag on

DirectoryIndex index.php

RewriteEngine on

#----added
RewriteCond $1 !^(index\.php|media|skin|js|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
#----endadded

#RewriteCond %{REQUEST_URI} !^/media/
#RewriteCond %{REQUEST_URI} !^/skin/
#RewriteCond %{REQUEST_URI} !^/js/
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_FILENAME} !-l

#RewriteRule .* index.php
----------

While I can see see that install page, the css does not seem to load properly; and I can’t seem to be able to pass this screen. Something must not be properly set. Anyone can help further? I don’t have access to logs on my plan so I can’t look at the logs.

 
Magento Community Magento Community
Magento Community
Magento Community
 
iPhony
Member
 
Avatar
Total Posts:  37
Joined:  2007-09-01
 

Finally running on 1and1!

Here are the two changes that I made added

1. created a mysql 5 database in the SQL Administration

2. replaced one more time my RewriteEngine parameters to :

------------
RewriteEngine on
RewriteBase /
RewriteRule !\.(js|ico|txt|gif|jpg|png|css)$ index.php

------------

I was then able to install the store and it is now running.
However I am not sure how sustainable my modifications are going to be as it may impact the way the store functions. As I play with the tool I will see what happens.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Solar Frenzy
Member
 
Avatar
Total Posts:  48
Joined:  2007-09-05
London
 

so… am i right in thinking it’s v5 or nothing?

doesn’t that negate a huge chunk of possible beta testers, myself included?

I prefer v4 as it’s pretty much stable. v5 is too new to be testing stuff on.

edit ... thinking about it, to run magento (with v5) i also have to update all the other apps I have on the server to run on v5.

Oh well. It looked good but I’ll give it a miss for now.

 
Magento Community Magento Community
Magento Community
Magento Community
 
iPhony
Member
 
Avatar
Total Posts:  37
Joined:  2007-09-01
 

You need to be more specific. If are talking about mysql v5, then wouldn’t all the old v4 applications be backward compatible with v5?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Solar Frenzy
Member
 
Avatar
Total Posts:  48
Joined:  2007-09-05
London
 

sorry ... I meant PHP.

Requirement:
PHP 5.2.0 or newer, with the following extensions/addons:

My current PHP is 4.4.4

 
Magento Community Magento Community
Magento Community
Magento Community
 
howellnick
Jr. Member
 
Avatar
Total Posts:  13
Joined:  2007-08-31
 
Solar Frenzy - 05 September 2007 09:20 AM

I prefer v4 as it’s pretty much stable. v5 is too new to be testing stuff on.

“Support for PHP 4 will be discontinued at 2007-12-31. Please consider upgrading to PHP 5.2.”
(http://www.php.net/downloads.php)

Also PHP 5 has been out since 2004 and the 5.2.x branch has been out since Nov. 2006. PHP 5 is stable and why not enjoy all the new benefits of it? I don’t get why people refuse to get off their PHP 4 hosts… oh well, Magento for us smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
RoyRubin
Enthusiast
 
Avatar
Total Posts:  968
Joined:  2007-08-07
Los Angeles, CA
 

Another point is that PHP4 development will cease at the end of the year. Developing a new application in PHP4 would have been a mistake. PHP 5 is the future, and as painful as it now, I am sure things will be easier for everyone in the future.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Solar Frenzy
Member
 
Avatar
Total Posts:  48
Joined:  2007-09-05
London
 

I stand corrected then and will now hassle my hosts to upgrade.

smile

I stand even more corrected. v4 is the default but with a tweak of the .htaccess file you can run v5.

even bigger smile as I can now continue uploading magento!

 
Magento Community Magento Community
Magento Community
Magento Community
 
iPhony
Member
 
Avatar
Total Posts:  37
Joined:  2007-09-01
 

In many hosts you can actually add a statement in your .htaccess file to use php 5 for every php code found in that particular directory.
Ask your host about the command to use for this.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 1 of 2