Forums / Install & configuration / PHP problems with domains

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!

eZ debug

Timing: Jan 30 2025 21:30:56
Script start
Timing: Jan 30 2025 21:30:56
Module start 'content'
Timing: Jan 30 2025 21:30:56
Module end 'content'
Timing: Jan 30 2025 21:30:56
Script end

Main resources:

Total runtime0.2165 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.0072 587.9531370.2891
Module start 'content' 0.00720.0159 958.24221,005.4375
Module end 'content' 0.02310.1934 1,963.67973,894.4688
Script end 0.2165  5,858.1484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00452.0646200.0002
Check MTime0.00140.6310200.0001
Mysql Total
Database connection0.00080.348710.0008
Mysqli_queries0.121756.18161410.0009
Looping result0.00120.56221390.0000
Template Total0.192989.110.1929
Template load0.00080.390610.0008
Template processing0.192188.688710.1921
Override
Cache load0.00060.269310.0006
Sytem overhead
Fetch class attribute can translate value0.00180.848310.0018
XML
Image XML parsing0.00030.135310.0003
General
dbfile0.00833.8559200.0004
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