Forums / Install & configuration / AArgggggghhh. Install problems on last step.

AArgggggghhh. Install problems on last step.

Author Message

Reg Charie

Saturday 21 October 2006 8:18:12 pm

After getting through the install to the last screen I keep getting:

Creating sites
The setup wizard was not able to complete the creation of your selected sites.

The following errors were detected:

EZSW-004
Failed inserting data to mysql
Table 'ezapprove_items' already exists
EZSW-040
Failed to initialize site package 'complete_site'

I have dropped and made new empty databases several times.

Any suggestions?

Reg

Ɓukasz Serwatka

Tuesday 24 October 2006 12:10:14 am

Hello Reg, and welcome to eZ publish Community!

First you need to identify a problem. Turn on debug output in settings/override/site.ini.append.php. If this file does not exists create it and put inside:

[DebugSettings]
DebugOutput=enabled

Then reset your database and try again.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Klaus Mezger

Thursday 26 October 2006 8:51:30 am

have the same errors with EZpublish 3.4.8. And by searching for "EZSW-051 & EZSW-040", I find 26 matches, but no solution.

The same installation files were uploaded to another apache linux server, and it worked!
But I have to run it at my (shared) server.
I tried:
Changing main language(s), database table type, database collation, erasing and rebuilding databese, using plain site. I am trying since 2 days, and I found no really helpful hint in this forum.

ERROR MESSAGE:

Creating sites

The setup wizard was not able to complete the creation of your selected sites.
The following errors were detected:
* EZSW-051Unable to install package 'news': Can't install object 'News': Unable to fetch class with remoteID: a3d405b81be900468eb153d774f4f0d2.
* EZSW-040Failed to initialize site package 'corporate_site'
If you think you have fixed the errors you can try and click the "Retry" button.

------------
CONFIGURATION:

Site info:

Site package - corporate_site
Title - RFbeam
URL - http://www.rfbeam.ch/ezpublish/index.php?/rfbeam
Admin URL - http://www.rfbeam.ch/ezpublish/index.php?/rfbeam_admin
Access type - url
Access value - rfbeam

PHP info:
Version - 4.4.4

OS info
Name - Linux omega.ibone.ch 2.6.17.7 #1 SMP PREEMPT Thu Jul 27 13:41:06 CEST 2006 i686
CPU Type - Intel(R) Pentium(R) D CPU 3.20GHz
CPU Speed - 3200.155 MHz
Memory Size - 2111201280 (1.97 GB)

Database info:
Type - MySQL
Driver - ezmysql

Email info:
Transport - SMTP

Image conversion:
ImageMagick was found and used.
Path - /usr/bin
Executable - convert
ImageGD extension was found and used.

Regional info:
Primary - ger-DE
Additional - ger-DE

Critical tests

directory_permissions - Success
phpversion - Success
database_extensions - Success
image_conversion - Success
open_basedir - Success
safe_mode - Success
memory_limit - Success
execution_time - Success
magic_quotes_runtime - Success
allow_url_fopen - Success
accept_path_info - Success
php_session - Success
file_upload - Success

Other tests:

php_magicquotes - Failure
zlib_extension - Success
mbstring_extension - Success
imagegd_extension - Success
imagemagick_program - Success
database_all_extensions - Success
php_register_globals - Failure
texttoimage_functions - Success

Klaus Mezger

Thursday 26 October 2006 9:20:47 am

Excuse me, I forgot to say, that the error messages mentionned by Reg apper also:

EZSW-004
Failed inserting data to mysql
Table 'ezapprove_items' already exists
EZSW-040
Failed to initialize site package 'complete_site'

They appear after getting the messages : EZSW-051 & EZSW-040,
if I retry installing without deleting the database

The file settings/override/site.ini.append.php is not yet built by the install procedure.

Maybe, these informations help finding the reason.
Thanks for any tips and hints!
Klaus

Ron Papa

Tuesday 31 October 2006 9:00:46 pm

Hi!

I'm getting the same error as Reg. I followed the advice given by Lukasz and it is still not working. Further to Reg's problem, I am getting an INTERNAL SERVER error page and I need to refresh the page in order to view the error:

EZSW-004
Failed inserting data to mysql
Table 'ezapprove_items' already exists
EZSW-040
Failed to initialize site package 'news_site'

In the eZ debug page I am getting the following error message regarding the Module start 'setup':

Error: eZMySQLDB Oct 31 2006 23:56:33
Query error: Table 'ezapprove_items' already exists. Query: CREATE TABLE ezapprove_items (
collaboration_id int(11) NOT NULL DEFAULT '0',
id int(11) NOT NULL AUTO_INCREMENT,
workflow_process_id int(11) NOT NULL DEFAULT '0',
PRIMARY KEY ( id )
) TYPE=InnoDB

Error: Oct 31 2006 23:56:33
Failed inserting the SQL:
CREATE TABLE ezapprove_items (
collaboration_id int(11) NOT NULL DEFAULT '0',
id int(11) NOT NULL AUTO_INCREMENT,
workflow_process_id int(11) NOT NULL DEFAULT '0',
PRIMARY KEY ( id )
) TYPE=InnoDB

Any advice would be appreciated by this newbie.

Thanks!