Author Topic: new forum  (Read 28669 times)

0 Members and 1 Guest are viewing this topic.

Online curryhell

  • Jedi Curry Master
  • *********
  • Posts: 3251
    • View Profile
Re: new forum
« Reply #30 on: December 29, 2012, 02:32 PM »
Actually, Stew, I think the problem only manifests itself when you're logged in, which is probably why they cannot reproduce the error.
When i go to the home page, all is well, no coding and full page view.  As soon as i enter the site, that's when it all goes to pot  :'(

Offline Ramirez

  • Spice Master Chef
  • *****
  • Posts: 611
    • View Profile
Re: new forum
« Reply #31 on: December 29, 2012, 02:39 PM »
When i go to the home page, all is well, no coding and full page view.  As soon as i enter the site, that's when it all goes to pot  :'(

This is what I have when logged out and on the homepage. Is it not the same for you?


Online curryhell

  • Jedi Curry Master
  • *********
  • Posts: 3251
    • View Profile
Re: new forum
« Reply #32 on: December 29, 2012, 02:50 PM »
When i log out I have exactly the same as your image above (no code visible and web page centralised with a grey border on either side).  When logged in, coding is visible and web page shifts to the left. When i first navigate to curry-recipes.co.uk the page completely fills my screen.  I hope this makes things a bit clearer


Offline Yousef

  • Elite Curry Master
  • Curry Recipes Site Owner
  • Administrator
  • *****
  • Posts: 1263
    • View Profile
Re: new forum
« Reply #33 on: December 29, 2012, 03:30 PM »

Offline Ramirez

  • Spice Master Chef
  • *****
  • Posts: 611
    • View Profile
Re: new forum
« Reply #34 on: December 29, 2012, 03:34 PM »

Offline Naga

  • Elite Curry Master
  • *******
  • Posts: 1478
    • View Profile
Re: new forum
« Reply #35 on: December 29, 2012, 03:42 PM »
I've just cleared my Firefox cache in its entirety and the code still persists at the top of each page:

$txt['pm_register'] = 'Send pm to new members'; $txt['pm_register_id'] = 'Select the ID of the sender'; $txt['pm_register_username'] = 'Select the Username of the sender'; $txt['pm_register_subject'] = 'The subject of the PM'; $txt['pm_register_body'] = 'The message of the PM (BBCODE)'; $txt['pm_register_body_desc'] = 'This is where you set the message that you would like to send to the user. To insert the username of the user just insert "{$username}". For forum name use "{$forumname}".'; // LimitAGuestsDailyPageViewsMod $txt['limited_views_remaining_singular'] = ' page view remaining today'; $txt['limited_views_remaining_plural'] = ' page views remaining today'; $txt['limited_views'] = 'Limit guests to x page views per day
0 to disable
'; $txt['limited_only_topics'] = 'Limit guests only in topics
In another case will be limited in boards and all actions (except vital actions)
'; $txt['limited_views_message'] = 'All guests are limited to %s page views per day.
We now invite you to login or register to continue accessing the forum.'; $txt['limited_views_title'] = 'Please Login or Register'; $txt['display_facebook_like'] = 'Show Facebook like icon in posts'; $txt['display_facebook_like_all'] = 'Show Facebook Like icon in all posts, Note Display Facebook Like has to be checked.';

Oh! And the pre-posting Preview function didn't work for me, in case anyone else has the same problem.

Online curryhell

  • Jedi Curry Master
  • *********
  • Posts: 3251
    • View Profile
Re: new forum
« Reply #36 on: December 29, 2012, 04:11 PM »
I forgot to mention that my preview post facility no longer works either  :( :(
One plus though, when someone posts an oversize pic, i can now see all of it  ;D ;D ::)

Offline Yousef

  • Elite Curry Master
  • Curry Recipes Site Owner
  • Administrator
  • *****
  • Posts: 1263
    • View Profile
Re: new forum
« Reply #37 on: December 29, 2012, 04:26 PM »
This is totally bizarre as I can not see any errors and all is working fine my end.
I will continue investigations and thank you for your patience whilt I sort this

Stew

Offline solarsplace

  • Curry Spice Master
  • ******
  • Posts: 868
    • View Profile
Re: new forum
« Reply #38 on: December 29, 2012, 05:24 PM »
Hi Admin

BTW, good job on moving sites. New version looking very nice. Guess just a couple of 'teething' problems.

In case it helps...

The issue happens on all the up to date browsers that I have installed (Chrome, Firefox and Internet Explorer).

You must be logged in as a registered user for the issue to show, such as via this page: http://www.curry-recipes.co.uk/curry/index.php?action=login

When you are logged in, the following PHP code is inserted into the page missing its code start and end tags "<?php and ?>" and so is sent to the browser as HTML mark-up and not processed on the server by PHP.

Try searching your code for this string "'Send pm to new members';" for example to narrow down / find the file / include / offending code that is causing the issue. I can't really help much more without having access to the code etc.

Hope it helps!

Below is what is sent to the browser before the proper HTML mark-up starts. This is code that should be processed by the server and not sent to the browser as text:

$txt['pm_register'] = 'Send pm to new members';
$txt['pm_register_id'] = 'Select the ID of the sender';
$txt['pm_register_username'] = 'Select the Username of the sender';
$txt['pm_register_subject'] = 'The subject of the PM';
$txt['pm_register_body'] = 'The message of the PM (BBCODE)';
$txt['pm_register_body_desc'] = 'This is where you set the message that you would like to send to the user. To insert the username of the user just insert "{$username}".  For forum name use "{$forumname}".';
// LimitAGuestsDailyPageViewsMod
$txt['limited_views_remaining_singular'] = ' page view remaining today';
$txt['limited_views_remaining_plural'] = ' page views remaining today';
$txt['limited_views'] = 'Limit guests to x page views per day<div class="smalltext">0 to disable</div>';
$txt['limited_only_topics'] = 'Limit guests only in topics<div class="smalltext">In another case will be limited in boards and all actions (except vital actions)</div>';
$txt['limited_views_message'] = 'All guests are limited to %s page views per day.
 We now invite you to <a href="' . $scripturl . '?action=login">login[/url] or <a href="' . $scripturl . '?action=register">register[/url] to continue accessing the forum.';
$txt['limited_views_title'] = 'Please Login or Register';

$txt['display_facebook_like'] = 'Show Facebook like icon in posts';
$txt['display_facebook_like_all'] = 'Show Facebook Like icon in all posts, Note Display Facebook Like has to be checked.';

Online curryhell

  • Jedi Curry Master
  • *********
  • Posts: 3251
    • View Profile
Re: new forum
« Reply #39 on: December 29, 2012, 05:30 PM »
Hi Admin

BTW, good job on moving sites. New version looking very nice. Guess just a couple of 'teething' problems.

In case it helps...

The issue happens on all the up to date browsers that I have installed (Chrome, Firefox and Internet Explorer).

You must be logged in as a registered user for the issue to show, such as via this page: http://www.curry-recipes.co.uk/curry/index.php?action=login

When you are logged in, the following PHP code is inserted into the page missing its code start and end tags "<?php and ?>" and so is sent to the browser as HTML mark-up and not processed on the server by PHP.

Try searching your code for this string "'Send pm to new members';" for example to narrow down / find the file / include / offending code that is causing the issue. I can't really help much more without having access to the code etc.

Hope it helps!

Below is what is sent to the browser before the proper HTML mark-up starts. This is code that should be processed by the server and not sent to the browser as text:

$txt['pm_register'] = 'Send pm to new members';
$txt['pm_register_id'] = 'Select the ID of the sender';
$txt['pm_register_username'] = 'Select the Username of the sender';
$txt['pm_register_subject'] = 'The subject of the PM';
$txt['pm_register_body'] = 'The message of the PM (BBCODE)';
$txt['pm_register_body_desc'] = 'This is where you set the message that you would like to send to the user. To insert the username of the user just insert "{$username}".  For forum name use "{$forumname}".';
// LimitAGuestsDailyPageViewsMod
$txt['limited_views_remaining_singular'] = ' page view remaining today';
$txt['limited_views_remaining_plural'] = ' page views remaining today';
$txt['limited_views'] = 'Limit guests to x page views per day<div class="smalltext">0 to disable</div>';
$txt['limited_only_topics'] = 'Limit guests only in topics<div class="smalltext">In another case will be limited in boards and all actions (except vital actions)</div>';
$txt['limited_views_message'] = 'All guests are limited to %s page views per day.
 We now invite you to <a href="' . $scripturl . '?action=login">login[/url] or <a href="' . $scripturl . '?action=register">register[/url] to continue accessing the forum.';
$txt['limited_views_title'] = 'Please Login or Register';

$txt['display_facebook_like'] = 'Show Facebook like icon in posts';
$txt['display_facebook_like_all'] = 'Show Facebook Like icon in all posts, Note Display Facebook Like has to be checked.';

And what did you have for breakfast Russ? :o :o  It sure as hell wasn't curry  ;D ;D

 

  ©2025 Curry Recipes