Upgraded from 3.6 to 3.7, not working too well

Author Message

Knut Nes

Wednesday 30 November 2005 7:13:19 am

So, even though my webserverprovider don't bother answering support inqueries, I assumed they had upgraded to php4.4 and went for the ez 3.7 upgrade.

Now my site works, allthough it's really slow. But no admin. I guess it's because the new install is not configured to usinng "plain" layout. Here's the result of trying to access admin:

Fatal error: Maximum execution time of 30 seconds exceeded in /home/knutnes/public_html/lib/ezutils/classes/ezini.php on line 518
Fatal error: eZ publish did not finish its request

The execution of eZ publish was abruptly ended, the debug output is present below.

When following the install-guide I did the update scripts witout the "-s admin_siteaccess_name", as I didn't comprehend what to type here, my username din't work. Should the scripts be run with "-s plain_dbusr", or such?

When trying to clear cache, I got permission issues, so I checked out the cache folder in var, it was empty.

How do I get the admin interface to work? And why is the site so slow?

Thanks
Knut

Knut Nes

Wednesday 30 November 2005 4:40:16 pm

The admin site was found when I ran the update scripts with "-s plain_admin". But my site is still VERY slow, it takes close to a minute to do anything. What could cause this? I cleared all cache from the admin interface. I'm guessing it's got to do with the database connection og interaction, since the I've got a fresh install. Anyone know anything about this?

Thanks
Knut

Brendan Pike

Wednesday 30 November 2005 6:15:57 pm

Check that eZ publish / Apache does have permission to write to the cache directory, make sure you see eveidence of this. Check the eZ publish logs in var/log also.

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

Knut Nes

Thursday 01 December 2005 1:59:21 am

Thanks for your reply.

The var/log/ folder contains storage.log and error.log. Storage.log lists a bunch of php-files from the var/cache/ini folder. This prooves eZ/Apache have permission to write to cache... I assume.

But the error.log tells me root@localhost can't access the database, which is correct since that's not my username. Also "Using password: NO".

I've been looking around for a config-file, without finding one... I'll continue to look and search through documentation, but I still ask here, in case I don't find any. Where do I set the user/pass for the database?

Thanks
Knut

Ɓukasz Serwatka

Thursday 01 December 2005 2:01:58 am

Database settings are usually set per siteaccess in site.ini.append.php section [DatabaseSettings]

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Knut Nes

Thursday 01 December 2005 2:52:11 am

Thanks for quick reply!

I edited the site.ini.append.php... and had a look at the error.log again, only to discover that these errormessages were a bit old... I probably allready managed to set the databaseinfo correct.

But site is still very slow. I checked the storage.log again and found the entry for my last site visit:

[ Dec 01 2005 09:47:16 ] [var/cache/ini/5b6aec4e339a4bb0d6f9337b0ae9a695.php]

I'm thinking some cache issue might cause slow site speed. But I really don't know. Any suggestions?

www.hib.no/student/index.php, if anyone thinks a quick look might help.

Knut
Edit: fixed link.

Knut Nes

Thursday 01 December 2005 5:37:36 am

I've searched around a bit, but I cant figure out why my site is so slow. In addition there seems to be som access permission issues here. I get the message "You don't have permission to view this content" (the message is in Norwegian, so my translation is probably not identic to the English error message.

Also, I occationally get time out when trying to access the site. Might be browserdependent.

Help :)

Knut

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 19:21:01
Script start
Timing: Jan 18 2025 19:21:01
Module start 'layout'
Timing: Jan 18 2025 19:21:01
Module start 'content'
Timing: Jan 18 2025 19:21:02
Module end 'content'
Timing: Jan 18 2025 19:21:02
Script end

Main resources:

Total runtime0.8722 sec
Peak memory usage4,096.0000 KB
Database Queries71

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 588.1641152.6563
Module start 'layout' 0.00560.0030 740.820339.5078
Module start 'content' 0.00860.8619 780.3281623.1875
Module end 'content' 0.87060.0016 1,403.515616.1094
Script end 0.8721  1,419.6250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3848160.0002
Check MTime0.00140.1604160.0001
Mysql Total
Database connection0.00090.102910.0009
Mysqli_queries0.808092.6437710.0114
Looping result0.00090.0979690.0000
Template Total0.836295.920.4181
Template load0.00220.246720.0011
Template processing0.834095.627320.4170
Template load and register function0.00020.020510.0002
states
state_id_array0.00120.142910.0012
state_identifier_array0.00180.209720.0009
Override
Cache load0.00190.2141410.0000
Sytem overhead
Fetch class attribute can translate value0.00150.168030.0005
Fetch class attribute name0.00190.220180.0002
XML
Image XML parsing0.00080.091130.0003
class_abstraction
Instantiating content class attribute0.00000.001980.0000
General
dbfile0.00070.0840180.0000
String conversion0.00000.000840.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
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
13content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 29
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs