eZpublish, unstable PHP5 vers: Configuration problem

Author Message

a s

Monday 01 October 2007 12:05:16 pm

Hi,

I want to run the PHP5 version of eZpublish available here:
http://pubsvn.ez.no/nextgen/unstable/2007-03-21-php5/

I installed this eZpublish version and eZcomponents with SVN, updated "include_path" for eZc and now I am stucked configure eZp. Calling "index.php" results in an error - "Failed opening required 'autoloads/ezp_kernel.php'" in file "autoload.php".
eZcomp I have installed but I can not find any "autoloads" folder within eZc, neither within installed eZp.

I am sure, I "missed" something or whatever. Can sombody enlighten me and show me what to do so I can work with this eZp PHP5 version?

Many thanks in advance!

Best regards,
Andreas

Heath

Monday 01 October 2007 12:24:32 pm

Hello Andreas,

Welcome to eZ Community. You are very close to running the very latest of the eZ Publish (3.10) + PHP5 + eZ Components once you resolve this one key issue you will have a working build!

Cheers,
Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

Kristof Coomans

Monday 01 October 2007 11:29:13 pm

Hello guys

As far as I know you need to generate the autload file first with the ezpgenerateautoloads.php script. Good luck!

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Heath

Tuesday 02 October 2007 12:19:21 am

Thank you for the tip Kristof!

I found I had to create the directory 'autoloads' with proper permissions before running the program ezpgenerateautoloads.php would generate output.

Cheers,
Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

a s

Tuesday 02 October 2007 10:23:50 am

@ Heath
@ Kristof

Thx for your support and suggested solutions.

With email help from Heath I was able to find a workaround, which btw. is now included in newly updated "autoload.php" file, and I could initiate the configuration process. Initiate and not finish, because I just updated the installation and have following problems now:

a) updated [i]autoload.php[/i] produces following PHP error:
[i]PHP Parse error: syntax error, unexpected T_SL in /xxx/autoload.php on line 3[/i]

I maybe found following explanation for it:
http://www.faqts.com/knowledge_base/view.phtml/aid/18379/fid/51

b) using [i]ezpgenerateautoloads.php[/i] does not work because of [i]require_once '[b]Structures/[/b]Graph.php';[/i] - + two other files in this folder, but there is no such folder "Structures".

Sorry, in case this is not the right place to report such issues about an unstable version, but I did not find any other "communication channels"...

Andreas

a s

Thursday 04 October 2007 6:56:15 am

@ all

With newly updated files, installation and configuration went without any problems - beside a lot of other warnings (max 275) and errors (136 max) showed in debug mode.

Errors and warnings maybe "normal" for an unstable version, but I take liberty to mention that there a always alot of "Strict PHP" messages concerning server timezone and changed into time zone.

Unfortunately my ezp installation went over 200MB (inclduing some SVN updates) and I had to clean my webserver including ezc (went over 250MB) to avoid troubles with my hosting company. I started about this a new topic in ezc forum. Hope to be able to solve this disk space problem soon to continue to test ezp.

Thanks to all for your support!

Regards,
Andreas

Kristof Coomans

Thursday 04 October 2007 7:25:30 am

Structures_Graph is a PEAR package, so you need to install and configure PEAR first properly to be able to use it. Maybe we will remove this dependency again, still need to think about it a bit more. You can also download the 4.0 alpha release of today, which contains pre-generated autoload files for the kernel and the default extensions.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

a s

Thursday 04 October 2007 9:41:58 am

@ Kristof

Many thanks for your support.

Yes, it seems that I don't have Structures_Graph installed, have to check this with hoster.

I already installed 4.0.alpha and can report following in case it is helpful - concerning the timezone errors:

<i>PHP Strict Standards: strtotime(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /pathtoezp/lib/ezutils/classes/ezdebug.php on line 879

PHP Strict Standards: strftime(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /pathtoezp/lib/ezutils/classes/ezdebug.php on line 879</i>

...a lot of such entires in PHP error log file.

Referring to phpinfo() "date/time" is supported and "Default timezone" is "America/New_York".

Problem/Reason for these entires on user/server or script side?

Thx in advance!

Regards,
Andreas

PS:
Maybe I should have started another topic...or post at "issues.ez.no", but I am not sure if this is a bug or not.

André R.

Thursday 04 October 2007 2:21:44 pm

From the requirements page:

General
* UTF-8

* In PHP 5, the setting date.timezone must be set to the correct timezone in php.ini (See: http://no.php.net/timezones )

* Latest stable version of eZ Components (only required if extensions other than the ones included in the default installation are used, or if you are testing your own extensions)

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Heath

Thursday 04 October 2007 7:18:09 pm

We have seen this used with success in addressing the timezone related related issues within the webserver vhost configuration.

    php_value date.timezone America/Chicago
    php_value magic_quotes_gpc 0
    php_value magic_quotes_runtime 0

Cheers,
Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

a s

Friday 05 October 2007 6:45:00 am

@ André
@ Heath

Your answers and the error message were a little bit confusing as "America/New_York" is the system default value for date.timezone -> my thoughts were "Why setting a value when this value already is set?"
Anyway, in root .htaccess I set "America/New_York" as date.timezone value and I am more confused now, as I was before..because there are no PHP errors anymore...never mind and go ahead.

Thx for your support!

Regards,
Andreas

André R.

Friday 05 October 2007 8:30:21 am

Thats why it's in the requirement list :) ( since it doesn't make sense ;) )

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Paul Leclercq

Sunday 14 October 2007 9:31:58 am

I got the same error message the quick and easy way of solving this is to set the variable:
date.timezone = Europe/Paris

In the [Date] section of your php.ini file.

d b

Friday 08 February 2008 5:02:14 am

If i login in ezPublish, I got the error message "Strict Standards: strftime()".

php5 is correctly configured with "date.timezone = Europe/Berlin"!

How i can fix this problem? Actually I can't use ezPublish without errors! :-(

Jamie Robe

Saturday 03 May 2008 8:25:16 pm

My first install and I also had the following errors in parts of the wizard, as well as in the admin login page - but not ever in the user site itself. I was installing the ezflow option.

I followed the advice and added this line to to my .htaccess file by doing:

$ echo "php_value date.timezone America/New_York" >> .htaccess

So my whole file has:
$ more .htaccess
php_value magic_quotes_gpc 0
php_value date.timezone America/New_York

Everything cleared up. Thanks,
Jamie

A heavy Plone user who feels like he is "cheating" by looking at EZ Publish, but it looks so good so far :-)

André R.

Sunday 04 May 2008 2:53:53 am

d B:
There are 3 ways to set timezone, php.ini, htaccess and settings/override/site.ini.append.php:
http://ez.no/developer/forum/install_configuration/timezone_on_php5_unstabel_version_solved

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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