Logging into admin returns an empty page

Author Message

Felix Laate

Monday 14 August 2006 6:11:47 am

Hi all!

Long time..

I have serious problems with a site. After updateing an pagelayout template, logging into the admin returns simply an empty white page (i.e. no nothing, zippo).

I tried to emty the cache (ALL of it), and to check/repair the database. But still I get the same result.

The site uses 3.6.x

Any help is helpful!

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Felix Laate

Tuesday 15 August 2006 5:49:04 am

Hi again!

I still can't get it working.

This is what I did prior to the problems:

1) I uploaded a new pagelayout template (replaceing the existing)

2) I emptied the cache using the the "all" option in the developer toolbar on the right-hand side of the admin interface

The result:

1) I get the loginpage

2) If I use a false loginname and/or password I get the normal message that something went wrong etc.

3) If I log in correctly, I get the empty white page. If I go to a full view of any node, say "/content/view/full/2" I get the white page

4) The ez error.log shows nothing, the apache error.log shows nothing and mysql.conf says nothing

I would really appreciate any help!

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Kristof Coomans

Tuesday 15 August 2006 1:44:46 pm

Hello Felix

Did you try to replace/remove some parts of your new pagelayout which are resource intensive (tree menu etc.)? Did you ran the command line template compiler?

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Felix Laate

Tuesday 15 August 2006 2:09:27 pm

Hi Kristof!

Thanks for answering!

No, I simply added some google.tpl-ish code to the pagelayout of the public site, NOT the admin site. And I have replaced the new tamplate with the old one, o things should be the same as before the problems started.

No, I did not ran the compiler manually. Actually I didn't know it was possible. How is it done? with a script I presume.

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Felix Laate

Wednesday 16 August 2006 12:06:24 am

Hi!

I tried to use the command-line compiler, but still the same. I can't get into the admin interface ;-(

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Kristof Coomans

Wednesday 16 August 2006 2:59:48 am

Very strange issue, I have no idea what could have happened.

Are you really sure you did not change anything else? If possible, try to restore a backup of your whole site.

We put all our sites in a subversion repository (except for the var dir) and we use a checkout to do development. This approach allows us to track each little change we make.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Felix Laate

Friday 25 August 2006 1:10:43 am

Hi again!

I installed ez in a pararell directory and copied the design, settings and var from the old to the new. A little tweeking and the it worked. I could log in again.

BUT, now there is a new problem. I am not able to upload files or images.

I have checked:

- permissions in the var directory are correctly set
- var/log/error.log shows nothing (concerning the upload)
- apache error-log shows nothing
- it is possible to upload to other ez-sites on this server

What could possibly cause this?

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Kristof Coomans

Friday 25 August 2006 1:37:49 am

I am not able to upload files or images.

Can you upload packages?

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Felix Laate

Friday 25 August 2006 1:48:52 am

Hi Kristof!

Yes, I can. I just uploaded a site-style package just to check.

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Kristof Coomans

Friday 25 August 2006 3:56:29 am

How are you trying to upload the files? As an attribute in a content object, or with WebDAV?

What do you have in site.ini.append.php of your siteaccess for [FileSettings].VarDir?

No related entries in the logs under the dir specified by the previous setting?

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Felix Laate

Monday 28 August 2006 12:07:30 am

Hi again!

Thanks for helping Kristof!

I try to upload the files using the regular publishinh methods in the admin interface, NOT WebDAV.

VarDir is set to var/news for all siteaccesses.

The ezp errorlog shows this:

[ Aug 28 2006 09:04:57 ] [MYIP] The reference alias original file var/news/storage/images/media/images/testbilder/test/4812-1-nor-NO/test.jpg does not exist
[ Aug 28 2006 09:04:57 ] [MYIP] Original alias does not exists, cannot create other aliases without it
[ Aug 28 2006 09:04:57 ] [MYIP] Failed creating the referenced alias reference, cannot create alias small

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

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 03:18:38
Script start
Timing: Jan 19 2025 03:18:38
Module start 'layout'
Timing: Jan 19 2025 03:18:38
Module start 'content'
Timing: Jan 19 2025 03:18:40
Module end 'content'
Timing: Jan 19 2025 03:18:40
Script end

Main resources:

Total runtime1.4555 sec
Peak memory usage4,096.0000 KB
Database Queries81

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 589.2891152.6406
Module start 'layout' 0.00770.0049 741.929739.4766
Module start 'content' 0.01261.4413 781.4063638.6641
Module end 'content' 1.45400.0015 1,420.070324.1250
Script end 1.4554  1,444.1953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2395160.0002
Check MTime0.00130.0926160.0001
Mysql Total
Database connection0.00120.083310.0012
Mysqli_queries1.362493.6032810.0168
Looping result0.00080.0521790.0000
Template Total1.410296.920.7051
Template load0.00260.176420.0013
Template processing1.407696.709220.7038
Template load and register function0.00010.005810.0001
states
state_id_array0.00270.186610.0027
state_identifier_array0.00290.201220.0015
Override
Cache load0.00240.1644810.0000
Sytem overhead
Fetch class attribute can translate value0.00050.035220.0003
Fetch class attribute name0.00150.1004130.0001
XML
Image XML parsing0.00080.054520.0004
class_abstraction
Instantiating content class attribute0.00000.0032220.0000
General
dbfile0.00090.0616220.0000
String conversion0.00000.002740.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
11content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
11content/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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 40
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs