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.