Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2011
    Location
    NC
    Posts
    4
    Plugin Contributions
    0

    Have a Drink ezpages showing strange text at top of each page

    Hi,

    I have EZ-Pages installed and it has worked great, but after upgrading from Zen Cart v1.3.8a to v.1.3.9h, I see a string at the top of every page that looks like this (snippet I took from viewing the page source in Firefox):


    HTML Code:
    <body id="pageBody" class="page13">
    13_en
    <meta content="text/html; charset=utf-8" http-equiv="content-type">
    <title>My Page Title</title>
    The "13_en" is what I'm referring to. Its visible on all pages created with EZ-pages. Each page is different and I can tell that it is the page id (pages_id field in the ezpages db table) followed by _en for what I'm guessing is referring to language (English).

    I've grepped the site files for a bunch of strings like "pages_id" or "_en" but can't seem to figure out whats causing this. Any idea what file(s) may be generating this string?

    Thanks!

  2. #2
    Join Date
    Sep 2011
    Location
    NC
    Posts
    4
    Plugin Contributions
    0

    Idea or Suggestion Re: ezpages showing strange text at top of each page

    Figured it out. Simple SEO module had an echo statement I had to remove. Not sure why it wasn't an issue before.

    includes/init_includes/init_ssu.php:

    PHP Code:
        function _set_name($sql_query$cache$identifier$id){
            
    $result $this->_get_name_from_db($sql_query$cache);
            
    $result $this->_parse_name($result).$identifier.$id;
            
    $file_name $this->{"build_$cache"}($id);
            
    //echo $file_name;
            // write to file EVEN if we get an empty content, that just means the productname is blank
            
    $this->_write_to_file($this->cache_path[$cache].$file_name$result);
            return 
    $result;
        } 

    I commented out echo $file_name; above and it fixed it.

 

 

Similar Threads

  1. Replies: 13
    Last Post: 6 Aug 2011, 05:07 PM
  2. EZPages menu at top of each page
    By karine in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Jan 2011, 12:17 PM
  3. Strange number on top of the page
    By Kooba in forum General Questions
    Replies: 0
    Last Post: 22 Aug 2010, 07:26 PM
  4. EZPages Not showing text that i write?!
    By Nove in forum General Questions
    Replies: 1
    Last Post: 29 Jun 2010, 10:20 AM
  5. Strange Text has appeared top left of pages?
    By andycole in forum General Questions
    Replies: 2
    Last Post: 16 Oct 2008, 09:10 PM

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