Lots of code displayed on top of webpages

Author Message

Adm Sg

Tuesday 04 December 2007 3:17:19 pm

Hi

I am new to eZ Publish, having just installed eZ Publish 3.6.12 just a week ago. Everything went smoothly till I got the 'fatal error memory limit error'. I have since modified memory_limit in php.ini from 8M to 12M.

Now, my webpages are displayed (please see http://www.misingapore.com/) but

1. on top of every webpage, there are a lot of codes.

2. I cannot login on admin page. (please see http://www.misingapore.com/index.php/plain_admin/)

Help!

Thanks.

NB: PHP Version 4.3.11, safe_mode on
extensions in eZ Publish: ngflashvideo, youtube, onlineeditor 4.24

Adm Sg

Tuesday 04 December 2007 4:55:23 pm

Hi again

Just an update.

I went into the cache folder and had a look at the files there. Noticed some files had a missing '<' header and added this header. Result: webpages display correctly now.

Problems Remaining:

1. However, certain sections show this error message:

Fatal error: Allowed memory size of 12582912 bytes exhausted (tried to allocate 46080 bytes)

eg. at http://www.misingapore.com/index.php/plain/news
at http://www.misingapore.com/index.php/plain/forums/suggestions_for_mi_singapore

2. I still cannot access admin (http://www.misingapore.com/index.php/admin/). Message:
kernel::50 No database connection could be made, the system might not behave properly

Please help. Thanks.

Adm Sg

Tuesday 04 December 2007 7:49:46 pm

Hi again

I increased memory_limit in php.ini to 128M and the fatal error memory limit error has gone.

Things went smoothnly... no problems encountered. I managed to access admin finally. So I thought I should erase the cache files for a fresh start. Ha ha -- wrong idea.
Now having cache problems.

 

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 19 2025 02:29:57
Script start
Timing: Jan 19 2025 02:29:57
Module start 'layout'
Timing: Jan 19 2025 02:29:57
Module start 'content'
Timing: Jan 19 2025 02:29:59
Module end 'content'
Timing: Jan 19 2025 02:29:59
Script end

Main resources:

Total runtime1.8629 sec
Peak memory usage4,096.0000 KB
Database Queries55

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0132 589.2813152.6406
Module start 'layout' 0.01320.0048 741.921939.4766
Module start 'content' 0.01801.8434 781.3984438.4844
Module end 'content' 1.86140.0015 1,219.88288.1250
Script end 1.8629  1,228.0078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.2093160.0002
Check MTime0.00170.0933160.0001
Mysql Total
Database connection0.00080.044610.0008
Mysqli_queries1.808897.0968550.0329
Looping result0.00080.0420530.0000
Template Total1.791996.220.8960
Template load0.00240.128420.0012
Template processing1.789596.061120.8948
Template load and register function0.00020.013010.0002
states
state_id_array0.00340.184810.0034
state_identifier_array0.00280.149420.0014
Override
Cache load0.00200.1053300.0001
Sytem overhead
Fetch class attribute can translate value0.00060.034110.0006
Fetch class attribute name0.00150.082930.0005
XML
Image XML parsing0.00010.006910.0001
class_abstraction
Instantiating content class attribute0.00000.000430.0000
General
dbfile0.00090.0472100.0001
String conversion0.00000.000540.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/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: 16
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs