Install errors 3.8.6 and 3.9 on 1and1 shared hosting

Author Message

Tom Wolf

Sunday 18 February 2007 9:36:46 pm

I've searched for these forums for almost 12 hours and I still cannot get an installation of either subject version. Bottom line, is it possible to install ezPublish on a shared host (i.e. 1and1) or not? 1and1 does allow htaccess files, but their presence causes an error 500 even if the file is empty. 1and1 uses the following which is supposed to be supported by ezPublish:

PHP Version 4.4.4
MySQL 4.0.25
Apache/1.3.33

Depending on what I try, I either get the error 500, or
* EZSW-004Failed inserting data to mysql
Table 'ezapprove_items' already exists
* EZSW-040Failed to initialize site package 'plain_site'

I've tried installing the plain package and the intranet site package. Neither works.

On version 3.9 I also get the error, "The database would not accept the connection, please review your settings and try again." I don't get this error with 3.8.6.

There seems to be a lot of frustration in this forum for these issues over and over again, but I don't see any solid solutions. If the answer is that it won't work, or that nobody knows how to make it work, then simply say so. I originally tried Plone and it wouldn't work either, but the answer was that Plone won't work on most shared host providers. Fine, but as a non-profit shared hosting is a necessity.

Sorry for the rant. It's 12:30 AM and I just want the answer.
Tom

Claudia Kosny

Monday 19 February 2007 1:04:42 pm

Hi Tom

I have the eZport for PHP5 running on hosteurope, but this is just for playing around a bit so I can't tell you whether it can be used for a real site on a hosted server. That an htaccess does not work should not definitely not happen - you definitely should contact 1und1 about this. On the other hand you don't need the htaccess to run eZ, you just have to be careful with your ini files as everyone can load them without protection (always keep the data in php comments and give the files a php extension).

A hosted server might be a problem if you don't have cronjobs and/or shell access available. Some maintenance (e.g clearing the expired sessions, clearing the old baskets, clearing unused drafts) is not easy to do without it (although it is possible). Also make sure that the number of your sql queries is not limited - eZ needs quite a lot. Also forget about using eZ if your PHP has only 8MB of memory, below 64 MB it is way to slow.
Make sure that the extension .php is mapped to PHP4 as eZ does not work with PHP 5.x
Some versions of PHP run as cgi on 1und1 but this is a bit slower and causes an ugly question mark in the url. So check that as well.

I unfortunately don't know how to fix the problem with the data that is imported twice into MySQL - there are quite a few forum topics about this, but no solution. As a workaround I would make ainstall on my local machine and then copy the database to the server. On the other hand there does not seem to be a bug report for this - maybe you could open one so the eZ crew takes a closer look at this.

On the off-chance that you haven't found this yet: http://ez.no/community/forum/install_configuration/database_initialization_error_during_the_set_up
This solved the error with the rejected connection for me, but it might be difficult to implement on a hosted machine. Again contact 1und1 about it, they should be able to solve it.

Good luck

Claudia

Tom Wolf

Monday 19 February 2007 3:02:28 pm

Thanks for the reply Claudia. Actually, 1and1 has the features you mention. I have shell access, jut not root access. I can interact with MySQL using phpMyAdmin. I regularly run cron jobs. To date, I've been satisfied with it. I even run SugarCRM on this web site so I was very surprised to run into problems with the ezPublish installation.

What I don't understand is: version 3.9 fails to connect to the database halfway through the installation, but 3.8.6 does. 3.8.6 fails on the very last step when it says it's going to send a registration email. So, what did the install script not finish? It does create 101 tables in my database that I can see in phpMyAdmin. Is there something I can finish manually?

3.8.6 either finishes with the error below or gives me the Internal Server Error. 3.9 always finishes with the ISE, but then again that may be because it didn't connect to the database earlier in the script. I don't really care which version I use, but I would like to get one of them to work. It seems like a good program that will be easy for my users to learn.

Tom

Claudia Kosny

Wednesday 21 February 2007 11:13:49 am

Hi Tom

Unfortunately I can't help you much there as I never had such problems and thus never looked deeper into what is going on during the installation.
The installation is not finished when it asks whether to send the registration email as the ini files are not written yet.

Try to install without the htaccess and without sending the registration form - maybe the connection to the mailserver causes the problem - having a typo there causes the eZ installation to hang on my server :-(
You could also try to use the kickstart system (just check the kickstart.ini-dist file in the ezroot for usage) - maybe this jumps over whereever eZ has the problems.

Regarding the problem with the 'the database would not accept...' - can you check the MySQL error logs? It would be intereresting to see the original error message returned by MySQL. Although this might already be possible if you enable debugoutput and sqloutput in the main site.ini before the installation - try it out.

Good luck

Claudia

Thibault Bonnevie

Friday 13 April 2007 11:50:31 am

Hi Tom,

I try to install ez-publish, like you, on a 1and1 shared host.
I have exactly the same error than you "error 500" after installation ask me if I want to send an e-mail or not.

Did you find a solution for this error ?

Or did someone success on ez-publish intallation on a 1and1 server.

I still have the same error 500 with .htaccess, I call 1 and1 but they said that .htaccess are supported.
I don't understand why I have an error 500 with empty.htaccess

If I can't find a solution I must find an other server or an other CMS :-(

Thibault

Rainer Kraft

Saturday 14 April 2007 6:17:59 am

The error 500 has nothing to do with htaccess.

I have nearly same problems with setup on t-online shared webspace and solved some details yet.
Use the kickstart.ini to tell ez about your database and don't forget, there is no "drop table" in the sql
file. The database has to be empty, if you wish to use the wizard.

The database is writen, but the konfiguration of the programms fails with error 500. Looking into the log file
of the server you will find a "Fatal error - emalloc() unable to allocate xx bytes".

Sometimes I got through the whole routine, but than the system acts curious. You can log into the backend,
but not the frontend - or the other way round.

What makes me wonder: If it is running for a while and you get the 500 error in the middle of the work,
there is no chance to get back to normal state. You must delete the whole ez and start all over.

Edward Allan

Thursday 28 February 2008 4:31:27 pm

Hi, Just wanted to add that I'm having the same problems and symptoms. Again on 1&1.

Rainer Kraft

Friday 29 February 2008 1:18:15 am

Hi,
I ran into this several time ago, not on 1und1, but on T-Online. I first had no idea, why it comes to error 500 at the very end. Now it works, because I found the problem (hope so).

It seems, the running script is terminated by the server in quite a short time and if your running program comes back for the next intruction, there is nothing to come back to - result error 500.

I took absolutly everything out, what is not necessary for the intallation and install the packages after the system is running. Often it runs without this error, but somrtimes it shows this da... 500 again - than I click the "do it again" button of the browser and there it is.

So try a very slim install - this should work.

I have a running version on T-Online, so it should work for you too. I don't use it regulary, for it is to slow and T-Online don't allow any cronjob, but I can give you a link to the site, if you like to see it for yourself.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.