Forums / Install & configuration / Upgraded from 3.6 to 3.7, not working too well

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

eZ debug

Timing: Jan 31 2025 01:26:26
Script start
Timing: Jan 31 2025 01:26:26
Module start 'content'
Timing: Jan 31 2025 01:26:26
Module end 'content'
Timing: Jan 31 2025 01:26:26
Script end

Main resources:

Total runtime0.1889 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0086 588.1797370.2656
Module start 'content' 0.00860.0120 958.44531,009.7500
Module end 'content' 0.02070.1681 1,968.19533,898.7891
Script end 0.1888  5,866.9844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00452.3832200.0002
Check MTime0.00150.7797200.0001
Mysql Total
Database connection0.00110.576710.0011
Mysqli_queries0.091948.63821410.0007
Looping result0.00130.67951390.0000
Template Total0.167788.810.1677
Template load0.00080.430510.0008
Template processing0.166988.367210.1669
Override
Cache load0.00050.289110.0005
Sytem overhead
Fetch class attribute can translate value0.00190.999710.0019
XML
Image XML parsing0.00030.163610.0003
General
dbfile0.00291.5244200.0001
String conversion0.00000.002830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs