OE 4.2.3 / eZ publish 4.0 - problem with link to a node

Author Message

Michal Slocinski

Sunday 06 April 2008 2:52:13 pm

Hello,

I've strange problem with Online Editor. When I try to insert a link to another node (type = eznode) and I press 'Browse' button new window appears which should allow me to select node I want to link to.

Unfortunately, what appears is my default site and Firefox shows in URL bar following address:

http://host:port/insertlink

instead of:

http://host:port/index.php/<SITE>/layout/set/dialog/content/browse

I don't really know what to look at. Log files are clean. Except of that, all functionality of OE works properly.

Any suggestions?

Michal Slocinski

Sunday 13 April 2008 9:32:56 am

I think it may be related to running in FastCGI environment - I noticed for all sites running in non-FastCGI all runs fine.

Any suggestions? Some custom rewrite rule?

Michal Slocinski

Sunday 13 April 2008 10:36:17 am

finally I found the solution - seems like proper configuration of virtual host is a key thing when running PHP as FastCGI. I had to put

ForceVirtualHost=true

in my site.ini and now all works fine, additionally - ugly "index.php?" disappeared :-)

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 05:59:57
Script start
Timing: Jan 31 2025 05:59:57
Module start 'layout'
Timing: Jan 31 2025 05:59:57
Module start 'content'
Timing: Jan 31 2025 05:59:57
Module end 'content'
Timing: Jan 31 2025 05:59:57
Script end

Main resources:

Total runtime0.0250 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 588.2578151.2266
Module start 'layout' 0.00490.0029 739.484436.6953
Module start 'content' 0.00790.0155 776.179790.0781
Module end 'content' 0.02340.0016 866.257829.9922
Script end 0.0249  896.2500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00259.9557140.0002
Check MTime0.00124.6411140.0001
Mysql Total
Database connection0.00072.660110.0007
Mysqli_queries0.00239.047330.0008
Looping result0.00000.060210.0000
Template Total0.00114.510.0011
Template load0.00083.405210.0008
Template processing0.00031.057410.0003
Override
Cache load0.00062.500610.0006
General
dbfile0.008032.201580.0010
String conversion0.00000.029640.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