PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

On-the-fly log report - error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • On-the-fly log report - error

    Trying to do an on-the-fly log report. I don't know why I am getting this error. PHP is enabled for this site. My .ASP programmer says its a PHP code error. Permissions of logs directory set to 755.

    http://www.greengiantfresh.com/new/logs/searchwords.log
    http://www.greengiantfresh.com/new/logs/report.php


    Parse error: parse error in C:\Inetpub\vhosts\greengiantfresh.com\httpdocs\new \logs\report.php on line 712

    Line 712 is:
    $tempDate = clone $CONF_FINDATE;

    I have no problem creating a report manually:
    http://www.greengiantfresh.com/new/statistics.html
    .
    Last edited by rschletty; Feb-15-2009, 03:31 PM.

  • #2
    What version of PHP are you running on the server? The clone command is only in PHP5, so I bet you are running some old version.

    We'll see how hard it is to make the script work in both V4 anf V5 of PHP this week.

    Comment


    • #3
      We have confirmed that the Statistics PHP script is not currently compatible with PHP4. We will look into rewriting the parts of the script necessary for PHP4 support later this week, hopefully in time for the next build release.
      --Ray
      Wrensoft Web Software
      Sydney, Australia
      Zoom Search Engine

      Comment


      • #4
        On-the-fly statistics report - error

        Thank you. You have saved us from further head scratching. My ASP programmer reported to me today that his hosting environment will not allow him to go further than PHP version 4.3.9.
        Last edited by rschletty; Feb-17-2009, 06:53 AM.

        Comment


        • #5
          On-the-fly statistics report - error

          Any plans for a CGI or ASP on-the-fly stats report?

          Comment


          • #6
            PHP4 is pretty old now, with a bunch of security issues, and the developers of PHP have discontinued support for it.

            Long term we think classic ASP is a dead language (which is a good thing). And the people using CGI almost always have PHP available on servers that support CGI.

            So the .NET crowd is the group that might be missing out and if there is enough demand we'll do a .NET release.

            Comment


            • #7
              UPDATE

              We've been working on rewriting the statistics script for PHP4 compatibility. This will be available in the next build release (V6.0 build 1011).
              --Ray
              Wrensoft Web Software
              Sydney, Australia
              Zoom Search Engine

              Comment

              Working...
              X