For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Rolf
Power Poster
Posts: 7825 Joined: Wed Apr 23, 2008 7:53 am
Contact:
Post
by Rolf » Thu Oct 29, 2009 9:03 am
Code: Select all
<h2>{title}</h2>
{if isset($smarty.post.domain)}
{news number='1' category="melding" summarytemplate="melding"}
{whois result=1}
{if $available eq 1}
{global_content name="register"}
{/if}
{if $available eq 2}
{global_content name="transfer"}
{/if}
{$whoisinfo}
{else}
{news number='1' category="melding" summarytemplate="melding"}
{content}{/if} <br /> <----------------------------------------
Is this intentionally??
Shouldn't it be
I'm not a expert in this, but it seems like strange {if}{else}{/if} code to me...
Perhaps the differnce in the pages with and without the '<' is caused by this code somehow.
Rolf
- + - + - + - + - + - + -
- + - + - + - + - + - + -
Djunity
Forum Members
Posts: 44 Joined: Fri Apr 18, 2008 6:33 pm
Post
by Djunity » Thu Oct 29, 2009 9:10 am
Rolf wrote:
Code: Select all
<h2>{title}</h2>
{if isset($smarty.post.domain)}
{news number='1' category="melding" summarytemplate="melding"}
{whois result=1}
{if $available eq 1}
{global_content name="register"}
{/if}
{if $available eq 2}
{global_content name="transfer"}
{/if}
{$whoisinfo}
{else}
{news number='1' category="melding" summarytemplate="melding"}
{content}{/if} <br /> <----------------------------------------
Is this intentionally??
Shouldn't it be
I'm not a expert in this, but it seems like strange {if}{else}{/if} code to me...
Perhaps the differnce in the pages with and without the '<' is caused by this code somehow.
Rolf
This code is intentionally yes allready running in the template for 6 months its been writen bij Guilherme Viebig and is on all pages controls the whois plugin we use on every page so that cant be the problem.
Rolf
Power Poster
Posts: 7825 Joined: Wed Apr 23, 2008 7:53 am
Contact:
Post
by Rolf » Thu Oct 29, 2009 10:24 am
Should be okay then
The one thing you can do is narrowing down to the problem.
Comment-out {*...*} parts of your template and look on your site if the '<' is there.
This way you can find the place where you have to look further...
Rolf
- + - + - + - + - + - + -
- + - + - + - + - + - + -
Djunity
Forum Members
Posts: 44 Joined: Fri Apr 18, 2008 6:33 pm
Post
by Djunity » Thu Oct 29, 2009 11:00 am
Rolf wrote:
Should be okay then
The one thing you can do is narrowing down to the problem.
Comment-out {*...*} parts of your template and look on your site if the '<' is there.
This way you can find the place where you have to look further...
Rolf
hmm i just truned on maintenance mode without an template and this is the source code from the browser
Code: Select all
<p>Deze website is momenteel down voor onderhoud excuses voor het ongemak.<br />Het 123 Hosting Service Team.<<!-- 0,349152 / 9 /
9786148 / 10349480 -->
as you can see there is still the extra <
so that narrows down almost everything but i still have no clue on where to look
Rolf
Power Poster
Posts: 7825 Joined: Wed Apr 23, 2008 7:53 am
Contact:
Post
by Rolf » Thu Oct 29, 2009 11:51 am
Hmm.
Page with <
Code: Select all
</div>
<<!-- 0,8007 / 90 / 11413376 / 12255608 -->
Page without <
Code: Select all
</div>
<__body>
</ht<!-- 1,163476 / 77 / 11607104 / 12346964 -->
Or
Code: Select all
</bo<!-- 0,972331 / 78 / 11498360 / 12225392 -->
Seen this before once...
http://forum.cmsmadesimple.org/index.ph ... 996.0.html
Don't know if this has the same course, but...
Your system info please, Djunity
Rolf
- + - + - + - + - + - + -
- + - + - + - + - + - + -
Djunity
Forum Members
Posts: 44 Joined: Fri Apr 18, 2008 6:33 pm
Post
by Djunity » Thu Oct 29, 2009 12:55 pm
I have looked at that forum post Rolf but aint finding that code in the source neither on the right pages nor on the faulty pages
Here a print out of the system info
Code: Select all
----------------------------------------------
Cms Version: [b]1.6.6[/b]
Installed Modules:
* CMSMailer: [b]1.73.14[/b]
* FileManager: [b]0.4.3[/b]
* MenuManager: [b]1.5.3[/b]
* ModuleManager: [b]1.2.1[/b]
* News: [b]2.9.2[/b]
* nuSOAP: [b]1.0.1[/b]
* Printing: [b]0.2.6[/b]
* Search: [b]1.5.2[/b]
* ThemeManager: [b]1.0.8[/b]
* TinyMCE: [b]2.4.11[/b]
* Captcha: [b]0.4[/b]
* CGExtensions: [b]1.15[/b]
* CGSimpleSmarty: [b]1.4[/b]
* CGGoogleMaps: [b]1.1[/b]
* dboptimizer: [b]1.11[/b]
* FrontEndUsers: [b]1.6.2[/b]
* LightBox: [b]1.0.1[/b]
* SiteMapMadeSimple: [b]1.1.4[/b]
* Statistics: [b]0.9.1[/b]
* TemplateManager: [b]0.2[/b]
* Glossary: [b]0.6.8[/b]
* FormBuilder: [b]0.5.11[/b]
* RateThis: [b]1.0[/b]
* SystemInfo: [b]0.1.2[/b]
Config Information:
* php_memory_limit: [b][/b]
* process_whole_template: [b]true[/b]
* max_upload_size: [b]2000000[/b]
* default_upload_permission: [b]664[/b]
* assume_mod_rewrite: [b]false[/b]
* page_extension: [b][/b]
* internal_pretty_urls: [b]false[/b]
* use_hierarchy: [b]false[/b]
Php Information:
* phpversion: [b]5.2.5[/b]
* md5_function: [b]Aan[/b] (Waar)
* gd_version: [b]2[/b]
* tempnam_function: [b]Aan[/b] (Waar)
* magic_quotes_runtime: [b]Uit[/b] (Nee)
* memory_limit: [b]128M[/b]
* max_execution_time: [b]300[/b]
* safe_mode: [b]Uit[/b] (Nee)
* session_save_path: [b]/tmp[/b] (1777)
Server Information:
* Server Api: [b]apache2handler[/b]
* Server Db Type: [b]MySQL (mysql)[/b]
* Server Db Version: [b]5.0.37[/b]
----------------------------------------------
Rolf
Power Poster
Posts: 7825 Joined: Wed Apr 23, 2008 7:53 am
Contact:
Post
by Rolf » Sun Nov 01, 2009 8:35 pm
Djunity wrote: * process_whole_template: true
Why is this set to 'true', Djunity? Standard is ´false´
Try to change it to 'false' once and look what's happens...
Grtz. Rolf
- + - + - + - + - + - + -
- + - + - + - + - + - + -
Djunity
Forum Members
Posts: 44 Joined: Fri Apr 18, 2008 6:33 pm
Post
by Djunity » Sun Nov 01, 2009 9:35 pm
Rolf wrote:
Djunity wrote: * process_whole_template: true
Why is this set to 'true', Djunity? Standard is ´false´
Try to change it to 'false' once and look what's happens...
Grtz. Rolf
Onestly i have no idea but saidly i doens't work either still the < is there
Gr Djunity
Rolf
Power Poster
Posts: 7825 Joined: Wed Apr 23, 2008 7:53 am
Contact:
Post
by Rolf » Mon Nov 02, 2009 7:08 am
Just thought of something, why don't you try to disable the Performance Info, perhaps this helps...
Add in to the config.php file:
$config['hide_performance_info'] = false;
If something isn't there, you can see it
Rolf
- + - + - + - + - + - + -
- + - + - + - + - + - + -
Djunity
Forum Members
Posts: 44 Joined: Fri Apr 18, 2008 6:33 pm
Post
by Djunity » Mon Nov 02, 2009 7:12 am
Rolf wrote:
Just thought of something, why don't you try to disable the Performance Info, perhaps this helps...
Add in to the config.php file:
$config['hide_performance_info'] = false;
If something isn't there, you can see it
Rolf
Nope allready tryd that the problem is not in the performance info the < is still there
Gr Djunity
Djunity
Forum Members
Posts: 44 Joined: Fri Apr 18, 2008 6:33 pm
Post
by Djunity » Thu Nov 19, 2009 10:43 am
Hi all,
Well i finaly found the problem not sure how to fix it tho.
I have the glossary module installed, in the glossary module (admin section) you have
Admin Preferences
under there you have tab
Site Term-filtering Options
with option
Activate all Terms on site? (warning - slows site performance)
when you select this option the < sign will popup on the bottom of the page.
I will have a look to see if i can fix this.
Regards Djunity
Djunity
Forum Members
Posts: 44 Joined: Fri Apr 18, 2008 6:33 pm
Post
by Djunity » Thu Nov 19, 2009 11:00 am
Hi all,
Ok its fixed now
online 184 of Glossary.module.php there is this
Code: Select all
$c_body_start = stripos($content,'</__body');
change to
Code: Select all
$c_body_start = stripos($content,'body');
and on line 186 change
Code: Select all
$c_body_end = stripos($content,'<__body');
to
Code: Select all
$c_body_end = stripos($content,'/body');
it looks like the body open and close tag that has been used here intefeerd with the global body tag.
Regards Djunity
Rolf
Power Poster
Posts: 7825 Joined: Wed Apr 23, 2008 7:53 am
Contact:
Post
by Rolf » Thu Nov 19, 2009 11:07 am
Great,
Remember to fill in a bugreport in the Forge!!
Rolf
- + - + - + - + - + - + -
- + - + - + - + - + - + -
Djunity
Forum Members
Posts: 44 Joined: Fri Apr 18, 2008 6:33 pm
Post
by Djunity » Thu Nov 19, 2009 11:19 am
Rolf wrote:
Great,
Remember to fill in a bugreport in the Forge!!
Rolf
Was allready working on that
Last edited by
Djunity on Thu Nov 19, 2009 11:35 am, edited 1 time in total.