3.0-rc1: Cannot SETUP

Author Message

Michael Meron

Tuesday 17 December 2002 7:39:10 am

Win2K Server, Apache 1.3, ImageMagick, PHP 4.2.3, MySQL, all doing well.

Freshly downloaded eZPublish 3.0 rc1.

Running index.php.

Setup being run.

Clicking "System Check", then clicking "Fine Tune". No complaints, except that Fine Tune cannot find PostgreSQL (which is correct).

Clicking "Next". Setup tells me, "Your system has support for one database only, it is , ...". Strange thing since there is no name between the "is", and the comma.

Consequently, the rest of setup fails.

A look into the source code reveals the following:

----Snippet 1 start--------------------------------------
<input type="hidden" name="P_database_extensions-result" value="1" />

<input type="hidden" name="P_database_extensions-found[]" value="l" />

<input type="hidden" name="P_database_extensions-checked[]" value="l" />

<input type="hidden" name="P_database_extensions-checked[]" value="gresql" />
----Snippet 1 end--------------------------------------

...while on the former page (i.e. before I clicked "Next>>"), the same HTML read as follows:

----Snippet 2 start------------------------------------
<input type="hidden" name="P_database_extensions-result" value="1" />

<input type="hidden" name="P_database_extensions-found[]" value="mysql" />

<input type="hidden" name="P_database_extensions-checked[]" value="mysql" />

<input type="hidden" name="P_database_extensions-checked[]" value="postgresql" />
----Snippet 2 end--------------------------------------

Obviously, between these two setup steps, the value's first four characters are being discarded.

Just why?

Can somebody help please ?

--Michael

Jan Borsodi

Thursday 19 December 2002 5:21:23 am

> Win2K Server, Apache 1.3, ImageMagick, PHP 4.2.3, MySQL, all
> doing well.
>
> Freshly downloaded eZPublish 3.0 rc1.
>
> Running index.php.
>
> Setup being run.
>
> Clicking "System Check", then clicking "Fine Tune". No
> complaints, except that Fine Tune cannot find PostgreSQL
> (which is correct).
>
> Clicking "Next". Setup tells me, "Your system has support
> for one database only, it is , ...". Strange thing since
> there is no name between the "is", and the comma.
>
> Consequently, the rest of setup fails.
>
> A look into the source code reveals the following:
>
> [..]
> Obviously, between these two setup steps, the value's first
> four characters are being discarded.
>
> Just why?
>
> Can somebody help please ?

It seem like there's something wrong with your PHP installation, could you try this script I made and see if it removes characters there as well.
http://ez.no/filemanager/download/517/posttest.zip

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Michael Meron

Thursday 19 December 2002 6:49:29 am

> > Win2K Server, Apache 1.3, ImageMagick, PHP 4.2.3, MySQL,
> > [..]
> > Obviously, between these two setup steps, the value's
> first
> > four characters are being discarded.
> >
> > Just why?
> >
> > Can somebody help please ?
>
> It seem like there's something wrong with your PHP
> installation, could you try this script I made and see if it
> removes characters there as well.
> http://ez.no/filemanager/download/517/posttest.zip

Too little too late...

After having tested quite plenty of Open Source CMS's, I have now decided to use PostNuke.

While eZ publish certainly has the edge in technology, its support (both you-to-user and user-to-user) is so weak that I cannot afford to stay...

Never mind...

Mike Salazar

Thursday 19 December 2002 11:37:27 am

That's right! I guess for now you have too stick to something your are comfortable working with. But i believe you can't ignore EzPublish in the future. So i suggest while working with Postnuke don't leave EzPublish or else ... :)

> > > Win2K Server, Apache 1.3, ImageMagick, PHP 4.2.3,
> MySQL,
> > > [..]
> > > Obviously, between these two setup steps, the value's
> > first
> > > four characters are being discarded.
> > >
> > > Just why?
> > >
> > > Can somebody help please ?
> >
> > It seem like there's something wrong with your PHP
> > installation, could you try this script I made and see if
> it
> > removes characters there as well.
> > http://ez.no/filemanager/download/517/posttest.zip
>
> Too little too late...
>
> After having tested quite plenty of Open Source CMS's, I
> have now decided to use PostNuke.
>
> While eZ publish certainly has the edge in technology, its
> support (both you-to-user and user-to-user) is so weak that
> I cannot afford to stay...
>
> Never mind...

Michael Meron

Sunday 22 December 2002 12:55:14 am

> It seem like there's something wrong with your PHP
> installation, could you try this script I made and see if it
> removes characters there as well.
> http://ez.no/filemanager/download/517/posttest.zip

Jan, I have now made up my mind to be a little more co-operative ... :)

Well, I have now downloaded your file http://ez.no/filemanager/download/517/posttest.zip which is an EMPTY zip file!? Was that a mistake of yours or what should I try to do with it? Can someone else please verify if this file is really empty?

Meanwhile two short Q's:

(1) How should my PHP.INI look like? Can I please have a copy of a working one? I feel confident to do all necessary path changes etc. myself.

(2) Since I am doing an evaluation for a BIG company, it would be all right for me to pay for support. Would it be possible to receive payed support w/o having bought a license?

Thanks!!

Jan Borsodi

Sunday 22 December 2002 5:35:42 am

> > It seem like there's something wrong with your PHP
> > installation, could you try this script I made and see if
> it
> > removes characters there as well.
> > http://ez.no/filemanager/download/517/posttest.zip
>
> Jan, I have now made up my mind to be a little more
> co-operative ... :)
>
> Well, I have now downloaded your file
> http://ez.no/filemanager/download/517/posttest.zip which is
> an EMPTY zip file!? Was that a mistake of yours or what
> should I try to do with it? Can someone else please verify
> if this file is really empty?

Yes, it was a mistake. I've uploaded the file again, it should work now. I tried downloading it and unpacking it and everything was OK.
Hopefully we can figure out what's wrong, if it's an eZ publish bug it would be nice to have it fixed before the final release.

> Meanwhile two short Q's:
>
> (1) How should my PHP.INI look like? Can I please have a
> copy of a working one? I feel confident to do all necessary
> path changes etc. myself.

Try this one:
http://developer.ez.no/filemanager/download/518/php.ini

> (2) Since I am doing an evaluation for a BIG company, it
> would be all right for me to pay for support. Would it be
> possible to receive payed support w/o having bought a
> license?

Yes, the support is separate from the license, take a look here:
http://shop.ez.no/shop/support/

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Michael Meron

Monday 23 December 2002 1:51:42 am

> > > It seem like there's something wrong with your PHP
> > > installation, could you try this script I made and see
> if
> > it
> > > removes characters there as well.
> > > http://ez.no/filemanager/download/517/posttest.zip

Jan,
having dl'd and test run your script, here's the results:

First run. Script shows, "Enter some text in the input fields and click the button", followed by 3 empty input fields, followed by this:
array(2) {
[0]=>
bool(false)
[1]=>
bool(false)
}

I entered the following: "this", "is", "extraordinary" (each string into its own input field, in this order) and clicked Submit.

Script now shows, "Enter some..." (same as above), followed by "Input was read" (bolded), followed by the 3 input fields, filled with "this", "is", "aordinary" and the submit button, and followed by this:
array(2) {
[0]=>
string(2) "is"
[1]=>
string(9) "aordinary"
}

Then I ran a second test, this time with the input values "extraordinary", "is", "this".

This prints the following array:
array(2) {
[0]=>
string(2) "is"
[1]=>
string(0) ""
}

I find this weird and I don't know at all what this means.

But since input field #3 uses to "swallow" the first four characters it looks very much like you're on the right track!!

Looking forward to hearing from you again, Jan. Thanks a lot so far.

--Michael

Michael Meron

Monday 23 December 2002 4:34:27 am

I think I have found the answer myself, Jan.

Please have a look at this:

http://bugs.php.net/bug.php?id=19347
(Title: "mbstring extension truncates variables")

This ought to be very important to know for your support staff, and I suggest you add it to your knowledge base if you have one.

Best regards,

--Michael

Jan Borsodi

Monday 23 December 2002 9:07:04 am

> I think I have found the answer myself, Jan.
>
> Please have a look at this:
>
> http://bugs.php.net/bug.php?id=19347
> (Title: "mbstring extension truncates variables")
>
> This ought to be very important to know for your support
> staff, and I suggest you add it to your knowledge base if
> you have one.

Thank you very much, we'll add a check for this in our setup system.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

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 10:36:33
Script start
Timing: Jan 18 2025 10:36:33
Module start 'layout'
Timing: Jan 18 2025 10:36:33
Module start 'content'
Timing: Jan 18 2025 10:36:34
Module end 'content'
Timing: Jan 18 2025 10:36:34
Script end

Main resources:

Total runtime0.9104 sec
Peak memory usage4,096.0000 KB
Database Queries77

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0082 589.0469152.6250
Module start 'layout' 0.00820.0040 741.671939.4453
Module start 'content' 0.01220.8968 781.1172687.9219
Module end 'content' 0.90890.0014 1,469.039128.1719
Script end 0.9104  1,497.2109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.3314160.0002
Check MTime0.00120.1370160.0001
Mysql Total
Database connection0.00270.302010.0027
Mysqli_queries0.783986.1070770.0102
Looping result0.00080.0891750.0000
Template Total0.871395.720.4356
Template load0.00160.178720.0008
Template processing0.869795.522420.4348
Template load and register function0.00020.022310.0002
states
state_id_array0.00080.090610.0008
state_identifier_array0.00280.303020.0014
Override
Cache load0.00200.21572130.0000
Sytem overhead
Fetch class attribute can translate value0.00060.068130.0002
Fetch class attribute name0.00240.2677100.0002
XML
Image XML parsing0.00090.095330.0003
class_abstraction
Instantiating content class attribute0.00000.0028120.0000
General
dbfile0.00110.1244170.0001
String conversion0.00000.000940.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
23content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
20content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 57
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs