Share » Forums » Install & configuration » Installation (ezflow) with sample...

Installation (ezflow) with sample content reports errors

Installation (ezflow) with sample content reports errors

Wednesday 25 May 2011 8:27:34 pm - 2 replies

Modified on Thursday 26 May 2011 3:40:28 pm by Falkmar Fischer

Author Message

André R.

Thursday 26 May 2011 12:34:44 am

It's been fixed, you can always check things like this by first checking blame/history of the file in question on github, then secondly if there is a issue for it with more information.

Steps:
1. Browse to the file: https://github.com/ezsystems/ezpublish/blob/master/lib/eztemplate/classes/eztemplate.php
2. Check blame on the line in question or history and you'll find this: https://github.com/ezsystems/ezpublish/commit/a26164584337c69036aa9b4c3916aae74cdbe584 

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

Falkmar Fischer

Moderated by: Nicolas Pastorino

Thursday 26 May 2011 4:33:32 pm

Big thanks for your help and the fix. Unfortunately, the search in Github was not very helpful. But the "blame"key is a great help. The best entry is probably https://github.com/ezsystems/ezpublish/ and then click to the finish. The two errors had no connection and are easy to eliminate.
Debugging
... eztemplate.php on line 1746
way 1
https://github.com/ezsystems/ezpublish/blame/master/lib/eztemplate/classes/eztemplate.php

e088332c »andrerom
2010-08-24 Fix # 011 317: appendDebugNodes breaks IE by trigger

The line in 1746 against the following exchange

if ( isset( $root[1][0][2] ) && is_string( $root[1][0][2] ) && strpos( $root[1][0][2], '<!DOCTYPE' ) === 0 )

way 2
https://github.com/ezsystem/ezpublish/blob/MasterCard/lib/eztemplate/classes/eztemplate.php
The complete contents of eztemplate.php exchange

.../extension/ezie/settings/site.ini.append.php
After replacing the entire file, I get another error message.

Warning: Mai 26 2011 18:39:22
Path 'extension/ezie/autoloads/' does not have the file 'eztemplateautoload.php' allthough it reported it had one.
Looked for file 'extension/ezie/autoloads/eztemplateautoload.php'
Check the setting [TemplateSettings]/ExtensionAutoloadPath or AutoloadPathList in your site.ini settings.

The image editor does not contain any autoloads. https://github.com/ezsystems/ezie

Comment the [template settings]

#---Edit Start ---
# [TemplateSettings]
# ExtensionAutoloadPath[]=ezie
#--- Edit End ---

.../design/admin2/templates/setup/cache.tpl
For the last error, there is already an unresolved bug report.
http://issues.ez.no/IssueView.php?Id=17787&activeItem=602

I am not a developer and can not PHP. Therefore, this solution is only temporary. Probably is missing a complete phrase. I hope a developer solves the problem.

Debug: ezpI18n::translateText  May 26 2011 03:17:28
Missing translation for message in context: 'design/admin/setup/cache'. The untranslated message is: ''

The errors are in the lines 66 and 172. The phrase does not contain characters. Expand both entries with a space.

<th width="39%">{''|i18n( ...
<th width="39%">{' '|i18n( ...

Then the translation file must are edited.

.../share/translations/ger-DE/translation.ts

<context>
<name>design/admin/setup/cache</name>
...
<message>
<source>Categories</source>
<translation>Kategorien</translation>
</message>
<message>
<source> </source>
<translation> </translation>
</message>
</context>

webshop - extension searched

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu