Skip to main content Help Control Panel

Login   A+   A-

Community «   Discussion forum «   Bug tracker «  

strange Output [Cancelled]

Stone Jonathon -- on Apr. 24 2007
Strange php link output is displayed before any page is display
No way to analyze the problem

Solution Manager: Bernard

Issue description

I may not know how to setup this up right but every time I get the program running this output shows up on every page.

It looks like a php output for errors however I do not have display errors on in php
it can be viewed @
My home Page

Comments

Bernard
avatar
from nearby-an-airport
Associate, 6798 posts

on Apr. 26 2007


Obviously there is no problem at your site anymore, at least with Firefox 2 and IE 7.
Stone
4 posts

inspired from Bernard on Apr. 27 2007


Bernard:

The strange Output was due to apache not supporting the il8n setup corrently and was fixed by commenting out three lines of the shared/global.php file

// initialize the library
//i18n::initialize();

// load strings localized externally for shared scripts
//i18n::bind('shared');

// localize messages generated in the background
//i18n::bind('agents');



thanks for the response Jon

Edited by Bernard on Apr. 27 2007

Bernard
avatar
from nearby-an-airport
Associate, 6798 posts

on Apr. 27 2007


Interesting, since other persons are suffering the same issue. The problem is that by commenting these lines out you are disabling all localization capabilities of YACS.

Normally the i18n::initialize() should not be an issue on its own, can you uncomment the related line to check this please?

If you provide a positive results, then we would know that the issue is solely in i18n::bind()... Thanks for your foreseen feed-back.
Stone
4 posts

on Apr. 27 2007


Note added

Due my system stupidity it seems that FF gives beeter discription of the output than IE7 and the messgae below may or may not happen I do not know way.



well i thought Id test out the different combinations with the global.php i18n settings which I get differant resualts as below;

with only i18n::initialize(); uncommented the output is displayed. as displayed at Main site

If eithier or both, i18n::bind('shared'); , i18n::bind('agents');

are uncommented & viewing from the root of the site or viewing the index page, the site will be displayed without any formatting and only the left menu & the lower navagation bar as should be viewable at the Test Site which the output may or may not be displayed and the site's display can differ on the settings

all links will be Up until not needed and all test were checked in IE7 FF2.0.0.3 Let me know if you need anything else.
Bernard
avatar
from nearby-an-airport
Associate, 6798 posts

inspired from stone on Apr. 29 2007


Stone: I have checked your links, and the output is coming from dummy translated files. It seems that, at your system, YACS is not able to generate these files dynamically. Can you check if magic quotes have been activated please? This is visible from the PhpInfo page, which can be accessed from the 'System Information' link at the Control Panel. Look for keywords magic_quotes_gpc and magic_quotes_runtime please.
Stone
4 posts

on Apr. 29 2007


Bernard: first here is a link to my PHP Output I think I properly
turned the magic_quotes_gpc & magic_quotes_runtime
options on, but still get the output on most pages except the root of the site, or
the index.php, which displays unformatted and only the left & bottom navigation menus.

On a side note is there anything else you think Apache or PHP
would require for the I18n
because on my second post here I mistakenly stated
" apache not supporting the il8n setup corrently "
. Which I meant to say
Apache is not supporting I18n correctly.

TIA,
Stone
Bernard
avatar
from nearby-an-airport
Associate, 6798 posts

inspired from stone on Apr. 30 2007


Stone: If you had access to PHP configuration, you should switch magic_quotes_runtime to off, which may be a major cause of your issue, and could explain why cache files are garbage in your case.

Rate this page
Posted by Stone on Apr. 24 2007, commented by Bernard on Apr. 30 2007, (popular)