Results 1 to 8 of 8
  1. #1
    Join Date
    May 2007
    Posts
    42
    Plugin Contributions
    0

    Default One puzzling issue.. please help!

    Hi

    I've just taken on a Zen Cart for a client that was developed by somebody else and left in a bit of a mess to say the least. However, I'm close to getting everything sorted out apart from one puzzling issue. Every page that is running off 'define pages editor' is showing a heading or page title of 'Who's Online' ...

    See: www.bonnefete.co.uk/index.php - where the 'main page' has a heading of 'Who's Online'.. if you then hit Search you will see 'Who's Online' in the page title and Contact Us has 'Who's Online' midway down the page (I'm not sure what is supposed to be here?) .. and also on All Products.. sure enough 'Who's Online' appears as the page heading!

    I'm stumped as to why this is appearing.. I think I have looked at all the appropriate files and I still can't find where this is coming from.

    Does anybody have any ideas please!?..

    Thanks in advance.

    Steve
    121webconsultancy - Professional Website Design & Internet Marketing

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: One puzzling issue.. please help!

    This looks odd ... but can you go to your Admin and look in the Tools ... Developers Tool Kit ... and in the bottom input box type in:
    s Online
    Yes that is:
    s<space>online

    Select from the Dropdown the Catalog ...

    What files come up with: Who's Online defined in them ... most likely it will look something like:
    Code:
    define('BLAH_BLAH_BLAH', Who\'s Online');
    What do you find?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    May 2007
    Posts
    42
    Plugin Contributions
    0

    Default Re: One puzzling issue.. please help!

    Hi Linda

    I have already done this and found no relevant files. All I get is:

    /public_html/includes/init_includes/init_special_funcs.php
    Line #15 : * require the whos online functions and update
    /public_html/includes/languages/english/checkout_success.php
    Line #18 : define('TEXT_THANKS_FOR_SHOPPING', 'Thanks for shopping with us online!');
    /public_html/includes/languages/english/create_account_success.php
    Line #25 : define('TEXT_ACCOUNT_CREATED', 'Congratulations! Your new account has been successfully created! You can now take advantage of member privileges to enhance your online shopping experience with us. If you have <small><strong>ANY</strong></small> questions about the operation of this online shop, please email the <a href="' . zen_href_link(FILENAME_CONTACT_US) . '">store owner</a>.<br /><br />A confirmation has been sent to the provided email address. If you have not received it within the hour, please <a href="' . zen_href_link(FILENAME_CONTACT_US) . '">contact us</a>.');
    /public_html/includes/languages/english/whos_online.php
    Line #22 : define('HEADING_TITLE', 'Who\'s Online');

    Line #36 : define('TEXT_NUMBER_OF_CUSTOMERS', 'Currently there are %s customers online');


    No joy there!....

    Any further ideas?

    Many thanks,

    Steve
    121webconsultancy - Professional Website Design & Internet Marketing

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: One puzzling issue.. please help!

    Steve... in the page source it's coming up with:-

    <h1 id="indexDefaultHeading">Who's Online</h1>

    Try doing a developer toolkit search for indexDefaultHeading
    20 years a Zencart User

  5. #5
    Join Date
    Apr 2007
    Location
    Herts. UK
    Posts
    890
    Plugin Contributions
    4

    Default Re: One puzzling issue.. please help!

    Quote Originally Posted by 121webconsultancy View Post
    /public_html/includes/languages/english/whos_online.php
    Line #22 : define('HEADING_TITLE', 'Who\'s Online');
    That is your problem. Looks like someone has uploaded admin/includes/languages/english/whos_online.php to includes/languages/english by mistake. The correct includes/languages/english/whos_online.php has a different set of defines in it.

    Your best bet is to download all the files and use something like winmerge to compare them to a clean base installation. You will then be able to see what else has been done wrong.

    Regards,
    Christian.

  6. #6
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: One puzzling issue.. please help!

    Excellent observation Christian! and 100% correct advice... if this glaring mistake exists, there are likely to be others. A thorough "laundry" through webmerge is essential, I think.
    20 years a Zencart User

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: One puzzling issue.. please help!

    Yes, this is the problem I was looking for, as CJPinder has pointed out:
    /public_html/includes/languages/english/whos_online.php
    Line #22 : define('HEADING_TITLE', 'Who\'s Online');
    That file does not contain that line ...

    Either you have overwritten the file with the one from the Admin or you have added that define statement to your existing one ...

    If you have not "intended" to do either, please reload, from a clean install the files:
    /includes/languages/english/whos_online.php
    /admin/includes/languages/english/whos_online.php

    This should correct the problem that you are having ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #8
    Join Date
    May 2007
    Posts
    42
    Plugin Contributions
    0

    Default Re: One puzzling issue.. please help!

    Thank you so much! CJPinder - you rock. Brilliant

    Nervously I took a look at the olde version of the site, worried that perhaps I had made this mistake in my uploading.. but alas the problem exists on that version also, so it was a mistake that came with the site. Having now simply replaced the offending files with fresh versions, all is well.

    Thank you also to Ajeh and Schoolboy for your time and input. Very much appreciated guys.
    121webconsultancy - Professional Website Design & Internet Marketing

 

 

Similar Threads

  1. v139h Please help me do Buy One Get One Free
    By justwonder2 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 13 Oct 2012, 12:31 AM
  2. v150 $db-Execute() issue with fields... Please please please help.
    By Ooba_Scott in forum General Questions
    Replies: 11
    Last Post: 3 Oct 2012, 09:36 AM
  3. Buy One Get One Free Module - Help Please
    By integrity_designs in forum General Questions
    Replies: 2
    Last Post: 20 Jan 2011, 01:29 AM
  4. PLEASE HELP!! Tax issue
    By shellbell-19 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 2
    Last Post: 5 Aug 2009, 05:14 AM
  5. Font issue please help
    By simetra in forum General Questions
    Replies: 5
    Last Post: 30 Jun 2007, 03:33 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR