ezpublish problems, problems and more problems...

Author Message

J. Field

Monday 14 April 2003 5:18:06 pm

Hello.
For several months I have been working and experiencing the diverse capacities of ezpublish. Ever since I began the inverted hours of work and study have been many. In more of a little while the results they have been quite bleak. Next I will expose some of the problems that I have at this moment.

1) After having several articles translated to three languages, I have still not obtained that a simple navigator of Internet gathers he I articulate in the language that corresponds to him. If the navigator this in German, would have to load the articles that exist in that language. But he does not do it! I have made thousands of tests and there is no possible form that this happens! The same case is for other languages.

2) In addition to this, when ezpublish is in way multi language, (thing that seems necessary for the translation) the time to render of the pages php he is 10 times greater! This seems to me an enormous slowness! The tests I have made them with a 800 PIII Mhz. Dual and 750 megas of ram, and a 15,000 HD SCSI of rmps. I have read which it is possible to accelerate php by means of applications like php-accelerator, but nowhere, nor in wiki explains like forming ezpublish so that this works!

3) Also the problems with the adjustments of shipment of emails from forms are great! There is no possible form that emails coming from forms is sent, neither with the sendmail, nor aiming towards a machine with smtp! I have made thousands and one tests in the section [ MailSettings ] in the file site.ini and is no form! Certainly I am desperate and I do not know that to do, it would be thankful beforehand that somebody helped me.

Kai Duebbert

Monday 14 April 2003 9:21:36 pm

Hi,

to 1)
We have our eZ publish 3.0 running in multi-language mode. It has English, German and Chinese and works without problems. We are using Postgresql because we need UTF-8. It's not possible to say why yours isn't working without getting more information, but at least I can confirm that it does work.

to 2)
Yes, the site gets slower when using multi-languages. Use a PHP-Cache and you don't have problems. I don't know what you mean with your last sentence in (2). Have a look at the websites of php-accelerator etc. they explain how to use it. It has nothing to do with eZ publish, but with PHP in general.

to 3)
They wrote several times, that the mail function is not included in 3.0 yet, but will be included in version 3.1.

Hope this helps a bit.

Kai

Ole Morten Halvorsen

Tuesday 15 April 2003 2:21:15 am

3)
Have you check your mail log? What does it say when you try to send a mail?

Senior Software Engineer - Vision with Technology

http://www.visionwt.com
http://www.omh.cc
http://www.twitter.com/omh

eZ Certified Developer
http://ez.no/certification/verify/358441
http://ez.no/certification/verify/272578

Ole Morten Halvorsen

Tuesday 15 April 2003 8:07:17 am

3) see also:
http://ez.no/developer/ez_publish_3/forum/install_configuration/mailsettings_not_found

Senior Software Engineer - Vision with Technology

http://www.visionwt.com
http://www.omh.cc
http://www.twitter.com/omh

eZ Certified Developer
http://ez.no/certification/verify/358441
http://ez.no/certification/verify/272578

J. Field

Tuesday 15 April 2003 8:12:35 am

Hello, thanks for the answers. It will try to explain a little better some points previously exposed. I use mysql version 3,23,53, is the one that comes by defect with the installer from ezpublish. By the made tests so that the translation this available one in my site seems to be that I need to have qualified the Utf-8 in the file i18n.ini

[CharacterSettings]
Charset=UTF-8
HTTPCharset=
MBStringExtension=enabled

If the adjustment is Charset=iso-8859-1 in the file i18n.ini with the translation to other languages it does not seem to be available in my site and when loading the pages in the navigator it appears the following message:

Fatal error: Maximum execution time of 30 seconds exceeded in /opt/ezpublish/sites/default/lib/ezi18n/classes/ezcodepage.php on line 92
Fatal error: eZ publish did not finish it's request
The execution of eZ publish was abruptly ended, the debug output is present below.

If the adjustments of local language are in eng-GB e.g.
[RegionalSettings]
Locale=eng-GB

and in i18n.ini they are:

[CharacterSettings]
Charset=iso-8859-1
HTTPCharset=
MBStringExtension=enabled

In this case it does not appear the message of error arrives mentioned, but therefore the translation is not possible. He is everything what I can explain referring to the translation by the made tests; if somebody can help me, thanks again beforehand.
--------------------
I have verified the mail registry and they do not exist logs of exit of emails supposedly sent through ezpublish. The sendmail service works correctly since envio of mail is possible from any client email and also from the way console. Anticipated thanks.

[MailSettings]
MailTransport=sendmail
# Configuration for SMTP
TransportServer=
TransportPort=25
TransportUser=
TransportPassword=
AdminEmail=username@domain
# The address which will be set at the sender of the e-mail as default
EmailSender=username@domain

Kai Duebbert

Wednesday 16 April 2003 7:17:56 pm

About the translation. See this comment in settings/site.ini:
---------
# Text translation is automatically disabled when the Locale is set to eng-GB
-----------

Also, you can't use UTF-8 with MySQL. You have to use Postgresql. It's mentioned in the forums here in several posts.

So, to get what you want, you have to find a charset that can be used by all languages *and* MySQL *and* have to set the right settings in your site.ini (well, the override one).

Kai

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 11:44:11
Script start
Timing: Jan 18 2025 11:44:11
Module start 'layout'
Timing: Jan 18 2025 11:44:11
Module start 'content'
Timing: Jan 18 2025 11:44:12
Module end 'content'
Timing: Jan 18 2025 11:44:12
Script end

Main resources:

Total runtime1.0192 sec
Peak memory usage4,096.0000 KB
Database Queries68

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0078 589.1641152.6406
Module start 'layout' 0.00780.0039 741.804739.4766
Module start 'content' 0.01171.0061 781.2813592.2891
Module end 'content' 1.01770.0015 1,373.570316.1250
Script end 1.0192  1,389.6953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.3713160.0002
Check MTime0.00150.1447160.0001
Mysql Total
Database connection0.00160.155010.0016
Mysqli_queries0.948993.0992680.0140
Looping result0.00070.0700660.0000
Template Total0.976995.820.4884
Template load0.00240.233120.0012
Template processing0.974595.607320.4872
Template load and register function0.00020.020410.0002
states
state_id_array0.00110.111310.0011
state_identifier_array0.00270.263720.0013
Override
Cache load0.00210.2028630.0000
Sytem overhead
Fetch class attribute can translate value0.00070.071330.0002
Fetch class attribute name0.00170.164060.0003
XML
Image XML parsing0.00030.034130.0001
class_abstraction
Instantiating content class attribute0.00000.001860.0000
General
dbfile0.00180.1735100.0002
String conversion0.00000.001140.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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
13content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
15content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 36
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs