PHP problems with domains

Author Message

Karsten Jennissen

Tuesday 07 November 2006 7:59:39 am

Might not be an ezpublish problem, but some of you hopefully are able to help me on this.

I just installed 3.8.5 and configured the host method. I have 4 domains setup to point to this install.

From the same install, I get sent the php in plain text when I use 2 of the domains, and the php gets executed / runs normally when I use the other 2 domains. Try it:

http://stories.bizmag.de (does not work)
http://news.bizmag.de (works)

When I go to http://stories.bizmag.de/index.php
everything works again.

Any idea?

Cheers,
Karsten

Claudia Kosny

Tuesday 07 November 2006 9:36:28 am

Hi Karsten

Seems like you solved the problem yourself - well done.
Just one minor thing: You definitely should download ez 3.8.6 as this is a bugfix for an ezxml problem in 3.8.5 so you might save yourself some trouble.

Greetings from Luxembourg

Claudia

Karsten Jennissen

Tuesday 07 November 2006 9:55:42 am

Hi Claudia,

thanks for the hint to 3.8.6.

Didn't solve the problem, yet. Try the above link where it says "doesn't work" and try the same domain with the additional index.php. One works, the other doesn't.

Some apache problem?

Sascha Frinken

Tuesday 07 November 2006 10:20:17 am

> some Apache problem

I think you are missing this in the Apache (virtual host) configuration:

DirectoryIndex index.php

HTH

Sascha

Claudia Kosny

Tuesday 07 November 2006 10:50:59 am

Hi Karsten

I get the same page for
http://stories.bizmag.de/ and
http://stories.bizmag.de/index.php

which is page with the heading wirtschaftswunder, a horizontal menu, an access denied message and a login window. The debug messages also look quite similar except for the line "Error ocurred using URI: /index.php" which is just "Error ocurred using URI: /" for the first url.

Claudia

Karsten Jennissen

Tuesday 07 November 2006 11:47:24 am

Oh boy,

now it works just as Claudia described. I didn't do anything. I don't know.

If anybody has ideas as to what could have happened, please let me know.

Cheers,
Karsten

Claudia Kosny

Tuesday 07 November 2006 12:17:19 pm

Hi Karsten

The most likely reason for unexplained stuff is the cache function of ez. Sometimes you change something in an ini file and forget to empty the cache or you empty the cache only partially and if you do sometimes later you see the result of all multiple changes at once.

The source of your problem was most likely in the siteaccess settings in the override site.ini.append.php or the site access specific site.ini.append.php although this is hard to say for sure afterwards.

Regards

Claudia

Karsten Jennissen

Wednesday 08 November 2006 2:19:19 am

Thanks for your help. I really appreciate it!

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 31 2025 01:15:24
Script start
Timing: Jan 31 2025 01:15:24
Module start 'layout'
Timing: Jan 31 2025 01:15:24
Module start 'content'
Timing: Jan 31 2025 01:15:24
Module end 'content'
Timing: Jan 31 2025 01:15:24
Script end

Main resources:

Total runtime0.0217 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 588.2344151.2109
Module start 'layout' 0.00490.0038 739.4453220.6875
Module start 'content' 0.00870.0116 960.13281,001.7109
Module end 'content' 0.02040.0013 1,961.843837.9922
Script end 0.0217  1,999.8359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002410.9350140.0002
Check MTime0.00104.5830140.0001
Mysql Total
Database connection0.00062.612310.0006
Mysqli_queries0.00209.319630.0007
Looping result0.00000.087710.0000
Template Total0.00094.210.0009
Template load0.00073.427110.0007
Template processing0.00020.721610.0002
Override
Cache load0.00052.125410.0005
General
dbfile0.00083.574180.0001
String conversion0.00000.041740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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