We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23072
    • 150 Posts
    Doesn’t look like they do at the moment unfortunately: http://adwords.google.com/support/bin/answer.py?answer=27257&topic=8133
      Notanotherdotcom Ltd

      Web | Print | Marketing
      • 16885
      • 255 Posts
      Quote from: doze at Jan 16, 2007, 11:26 AM

      Yea, thanks for that.. I’m a bit unimpressed with bbclone after I have been using it for a while.. It seems that it somehow finds a way to corrupt it’s own data files and then the whole logging breaks.. Have anyone else had that? When I clear the data files, it works for some time, but then I start to get this error message randomly on my pages:


      Parse error: syntax error, unexpected $end, expecting ’)’ in /www/path/to/modx/bbclone/var/last.php on line 109

      I looked littlebit of the code that is used to write the data files (mark_page.php) and it looks that they have tried to do some semaphores to that to prevent writing the file more than one times simultaneously, but either it’s not working in my server enviroment or something else is failing with it... anyways, I’m not going to develop this further because of that.

      I’ve been looking at Google Analytics and hoping that they do some api to it.. that would rock.
      I’ve been running it for a month or two now and no corruption yet, I must say my website isn’t too heavily accessed, just about 300-600 pageviews a day.
        • 7923
        • 4,213 Posts
        Quote from: Leftblank at Jan 17, 2007, 07:21 AM

        I’ve been running it for a month or two now and no corruption yet, I must say my website isn’t too heavily accessed, just about 300-600 pageviews a day.
        It looks that it’s pretty common issue though.. I did a quick search in their forums and some thread said that it’s about some bug in old php versions, but my server runs 5.2.0 so that can’t be it.. Another thread said that it’s about running it on Windows, but my server runs on linux. So don’t know what that’s about, but I guess it’s some enviroment thing..


          "He can have a lollipop any time he wants to. That's what it means to be a programmer."
          • 8471
          • 333 Posts
          Hi. I’m using bbclone but it doesn’t say any pages in the "Top 10 Visited Pages".
          I’m using Furls.
            Sorry for my bad English grin
            • 476
            • 14 Posts
            Check if the page_title is passed to BBClone correctly... This is done in the instruction:

            define("_BBC_PAGE_NAME", "$page_title");


            You may use echo instruction to see what you have in the $page_title variable.
              • 8471
              • 333 Posts
              sorry adias... I’m not very expert, what I have to do exactly?
              Thanks for your help.
                Sorry for my bad English grin
                • 476
                • 14 Posts
                Ups... i didn’t saw this before! Try to put this code

                echo $page_title; 
                


                at the end of your index.php (near the code were you call BBClone). Then see your page and look if you can find the page title at bottom.

                If yes, the problem is on BBClone, else it’s on your MODx system or in the index.php file.

                Don’t forget to remove the echo instruction at the end!

                Regards,
                Adias
                  • 8471
                  • 333 Posts
                  Thanks!
                  I have tried but I can’t see the page title at bottom. undecided
                  Which could be the problem?
                    Sorry for my bad English grin
                    • 476
                    • 14 Posts
                    Well... this is the code that you must insert at the bottom of your index.php to call BBClone:

                    $page_title=$modx->documentObject['pagetitle'];
                    $bbclone_path=$modx->config['$base_path']."PATH_TO_BBCLONE/";
                    define("_BBC_PAGE_NAME", "$page_title");
                    define("_BBCLONE_DIR", $bbclone_path);
                    define("COUNTER", _BBCLONE_DIR."mark_page.php");
                    if (is_readable(COUNTER)) include_once(COUNTER)
                    


                    You may see that the first instruction is were we set the page title from the document. Apparently, your documents don’t have titles... Check on the MODx manager if your documents have titles. If they have, i don’t know how you can solve this problem. undecided
                    I have BBClone on my MODx site and i don’t have any problems: http://www.amdias.com/stats/

                    Regards,
                    ADias
                      • 8471
                      • 333 Posts
                      I’m using the right code... And all my documents have titles embarrassed
                      I’m using MODx 0.9.5
                        Sorry for my bad English grin