Using the Build the Site Tutorial - Something Not Working for My Site, But What?

Author Message

James H.

Tuesday 02 December 2003 11:07:50 pm

Hello,

I'm brand new to this, so sorry if this post is in the wrong place. But, right now, I have absolutely no idea what is wrong.

I successfully installed everything for 3.2 and began to work through the Building a Simple Site tutorial which you so kindly provided.

Everything was going fine up until I tested how the site looked after I uploaded the first pagelayout.tpl file. When I attempted to view it, I did indeed get the "Hello World" text. Unfortunately, I also got a HUGE mass of errors right below it (probably listed due to the DeBug mode settings). I have absolutely no idea what any of these errors are or how to fix them (it seems like perhaps some file permissions, among other things, need to be changed).

You can see all the errors at:

http://www.thegreatdepression.info/ez3_2/index.php/tgd

(I substited tgd for tcsm - which are the abbreviations for my site).

I have no idea what is going on - so any help would be greatly appreciated! It's probably something simple but I don't know what it is!

Thanks

Jim

Edited: Also get the same thing happening at http://www.thegreatdepression.info/ez3_2/index.php if this helps any.

Karsten Jennissen

Wednesday 03 December 2003 2:25:14 am

Hi Jim,

Can you run shell scripts? If yes, run

sh bin/shell/clearcache.sh --all
sh bin/modfix.sh

from the ez publish root directory. See if the errors persist.

Regards,
Karsten

James H.

Wednesday 03 December 2003 3:10:29 am

Hi Karsten,

Thanks for replying with your suggestion. I ran the two commands you suggested. The first command worked well enough - I didn't get any errors when I ran it. When I ran the second command (the modfix one) I got a whole list of errors and messages. I then went to the links I posted in the first message and still got a whole pile of error messages.

However, it did seem to get rid of all the permission problem error messages I was getting before. What I'm seeing now is a huge list of various "warning" messages of one thing or another, plus a few error messages about not being able to create certain types of files. Most of these error/warning messages seem to relate to translation files, if this helps any.

Any idea how I can fix this or even what is causing this?

Thank you for all your help.

Jim

Karsten Jennissen

Wednesday 03 December 2003 4:06:39 am

I checked the output from the link. It all relates to the missing translation. From what i can see you set the language to eng-US. However the english language version supplied with ezpublish is eng-GB. Now you could either copy the eng-GB translation file to eng-US (not sure exactly how to do this, however see http://ez.no/developer/ez_publish_3/documentation/configuration/configuration/language_and_charset/installing_a_language_pack), or set locales back to eng-GB.

James H.

Wednesday 03 December 2003 4:21:03 am

Thank you Karsten!

Yes, that's exactly what I did - used english (US) instead of english (GB). My next question, then, is how do I go back to the GB version and get rid of the US version?

I went to setup in the admin panel and then translations. I added in english-gb. However, it won't let me delete the english-us version. I check the box and then hit the little trash can to delete it, but I can't seem to get rid of it. Because the english-us is still loaded, I'm still getting all those pesky error messages.

Do you know how to reset things back to english (gb).

Thanks for all your great help.

Jim

Karsten Jennissen

Friday 05 December 2003 1:33:19 am

Try manually modifying the settings in the ini files. Follow the link from above (on installing language files) and it tells you where the settings are. Be sure that you catch all instances (settings/..., settings/override/..., settings/siteaccess/...). If it still doesn't work, maybe you want to try copying the eng-GB files to eng-US. Check the above link on how to to this.

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 22:32:35
Script start
Timing: Jan 18 2025 22:32:35
Module start 'layout'
Timing: Jan 18 2025 22:32:35
Module start 'content'
Timing: Jan 18 2025 22:32:35
Module end 'content'
Timing: Jan 18 2025 22:32:35
Script end

Main resources:

Total runtime0.8463 sec
Peak memory usage4,096.0000 KB
Database Queries66

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 588.3984152.6875
Module start 'layout' 0.00550.0030 741.085939.5234
Module start 'content' 0.00850.8365 780.6094505.0547
Module end 'content' 0.84500.0013 1,285.664116.0625
Script end 0.8463  1,301.7266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4103160.0002
Check MTime0.00140.1609160.0001
Mysql Total
Database connection0.00070.076910.0007
Mysqli_queries0.782692.4663660.0119
Looping result0.00070.0799640.0000
Template Total0.811695.920.4058
Template load0.00230.273520.0012
Template processing0.809395.620620.4046
Template load and register function0.00020.026310.0002
states
state_id_array0.00090.108610.0009
state_identifier_array0.00110.125620.0005
Override
Cache load0.00190.2291400.0000
Sytem overhead
Fetch class attribute can translate value0.00080.093720.0004
Fetch class attribute name0.00170.196060.0003
XML
Image XML parsing0.00040.047120.0002
class_abstraction
Instantiating content class attribute0.00000.001460.0000
General
dbfile0.00060.0665100.0001
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
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs