An unexpected error has occurred

Author Message

Fernando Marinò

Friday 17 July 2009 4:11:44 am

hi,
I'm trying to install ez publish 4.1.3 with ezcomp on a remote host (resellerzoom), I fixed all the setup errors that it show (date.timezone e memory limit) and proceded with the installation. Anyway now it loops asking the database information:
which one of mysql, postgrees and mysqli? enter db access data, and then again which db you use...

when for same strange reason it keep going, I get to the point when it ask me to choose the package to install, whatever I choose it say "An unexpected error has occurred. Please contact the webmaster." (that should be me...). This error come in a blank page. Now I wish to know which error is he talking about and fix it.

Some suggestion?

Gaetano Giunta

Friday 17 July 2009 4:31:55 am

maybe the webserver you are trying to install on does not have access to the web (nb: outgoing access != incoming) to download the packages from ez.no?

Principal Consultant International Business
Member of the Community Project Board

Fernando Marinò

Friday 17 July 2009 5:17:31 am

that it's what I'm thinking... how can I check and fix?

Gaetano Giunta

Friday 17 July 2009 5:32:31 am

To check, the easiest thing to do is to have a console access to the server and then try to download stuff from the web, eg "wget http://ez.no"

To fix, you will have to download the packages by hand from http://packages.ez.no/ezpublish/4.1/4.1.3/ and use the 'upload' button to upload them to the server

Principal Consultant International Business
Member of the Community Project Board

Fernando Marinò

Friday 17 July 2009 5:42:28 am

nope.

wget via console works perfectly. When I try to upload a package in that page I get the same error. It's odd... there is a log? a place in which I can find a detalied description of this error?

Gaetano Giunta

Friday 17 July 2009 7:27:20 am

The var/log dir within the ezpublish root dir

Principal Consultant International Business
Member of the Community Project Board

Fernando Marinò

Friday 17 July 2009 8:52:22 am

here is it:

[ Jul 17 2009 13:14:11 ] Unexpected error, the message was : The checksum of the file 'compress.zlib://var/cache/packages/ezwebin_site.ezpkg' is invalid. in /home/animanga/public_html/beta/lib/ezc/Archive/src/tar/headers/tar_v7.php on line 198
[ Jul 17 2009 14:40:32 ] Unexpected error, the message was : The checksum of the file 'compress.zlib:///tmp/php9FbWgC' is invalid. in /home/animanga/public_html/beta/lib/ezc/Archive/src/tar/headers/tar_v7.php on line 198

the last one should be the uploaded package

Herre Visser

Thursday 23 July 2009 7:03:50 am

I also get "An unexpected error has occured" after selcting the site package.

also when trying tot upload the files manual, using the upload function at the bottom at the site package selecting page, i get the same error.

I get the mentioned error when using FireFox... when using IE8, i get an 500-error page.

The error-log gives the following information:

This is the error after trying to upload manually

[ Jul 23 2009 12:50:59 ] Unexpected error, the message was : The archive 'compress.zlib:///var/spool/php/phpxTWeNz' has an invalid block size. At least one block expected in tar archive in /volume1/web/CMS/lib/ezc/Archive/src/tar/v7_tar.php on line 184

This is the error selecting one of the three selectable site layouts.

[ Jul 23 2009 15:15:05 ] Unexpected error, the message was : The archive 'compress.zlib://var/cache/packages/ezwebin_site.ezpkg' has an invalid block size. At least one block expected in tar archive in /volume1/web/CMS/lib/ezc/Archive/src/tar/v7_tar.php on line 184

Anyone knows how to get further?

Thanks in advange,
Herre

Jeroen Sangers

Monday 31 August 2009 9:25:49 am

I've got the same issue. Did anybody find a solution?

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

eZ debug

Timing: Jan 18 2025 14:54:59
Script start
Timing: Jan 18 2025 14:54:59
Module start 'layout'
Timing: Jan 18 2025 14:54:59
Module start 'content'
Timing: Jan 18 2025 14:55:00
Module end 'content'
Timing: Jan 18 2025 14:55:00
Script end

Main resources:

Total runtime0.8228 sec
Peak memory usage4,096.0000 KB
Database Queries79

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 588.0391152.6406
Module start 'layout' 0.00460.0030 740.679739.4766
Module start 'content' 0.00760.8138 780.1563677.1953
Module end 'content' 0.82140.0014 1,457.351620.7656
Script end 0.8227  1,478.1172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4010160.0002
Check MTime0.00130.1625160.0001
Mysql Total
Database connection0.00080.092110.0008
Mysqli_queries0.751491.3268790.0095
Looping result0.00080.0929770.0000
Template Total0.786795.620.3934
Template load0.00280.341020.0014
Template processing0.783995.273920.3919
Template load and register function0.00020.020510.0002
states
state_id_array0.00100.125410.0010
state_identifier_array0.00220.271320.0011
Override
Cache load0.00210.2550430.0000
Sytem overhead
Fetch class attribute can translate value0.00060.070240.0001
Fetch class attribute name0.00160.1944110.0001
XML
Image XML parsing0.00260.311040.0006
class_abstraction
Instantiating content class attribute0.00000.0034130.0000
General
dbfile0.00430.5256220.0002
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
9content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
13content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 33
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs