Results 1 to 8 of 8
  1. #1
    Join Date
    Dec 2006
    Location
    Vermont
    Posts
    116
    Plugin Contributions
    0

    Default Sales Report 2.0 b104 parse error after installing

    After installing the sales report, I get this error message when I test it:

    PHP Parse error: parse error, unexpected $end in ...\admin\stats_sales_report.php on line 1187

    (the ... represents my local install test directory)

    Can anyone tell me what's wrong here?

  2. #2
    Join Date
    Dec 2006
    Posts
    1
    Plugin Contributions
    0

    help question Re: Sales Report 2.0 b104 parse error after installing

    I have the same problem, has anyone discovered the resolution?

  3. #3
    Join Date
    Feb 2006
    Posts
    113
    Plugin Contributions
    0

    Default Re: Sales Report 2.0 b104 parse error after installing

    Are you installing in 1.3.6 or 1.3.7?

    I am not sure if it is compatible with 1.3.7, that could be your problem.

    Best Regards,

    Pic

  4. #4
    Join Date
    Mar 2004
    Posts
    16,019
    Plugin Contributions
    5

    Default Re: Sales Report 2.0 b104 parse error after installing

    It works in 1.3.7

  5. #5
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,128
    Plugin Contributions
    0

    Default Re: Sales Report 2.0 b104 parse error after installing

    PHP Parse error: parse error, unexpected $end in ...\admin\stats_sales_report.php on line 1187

    Can someone post the lines: 1186, 1187, 1188 from the script?
    Much easier to troubleshoot when we know what we are dealing with.

  6. #6
    Join Date
    Dec 2006
    Location
    Vermont
    Posts
    116
    Plugin Contributions
    0

    Default Re: Sales Report 2.0 b104 parse error after installing

    Quote Originally Posted by Picci View Post
    Are you installing in 1.3.6 or 1.3.7?

    I am not sure if it is compatible with 1.3.7, that could be your problem.

    Best Regards,

    Pic
    No, I installed it in 1.3.6... It's WORKING on my LIVE site, where PHP 4.4.4 and MySQL 4.0.25 is being used, but it will NOT run on my LOCAL copy, which is running PHP 5.2.0 and MySQL 5.0.27.

    It won't run on the newer versions at all, but since the LIVE site is working, I decided not to chase after the solution.

  7. #7
    Join Date
    Jan 2008
    Posts
    2
    Plugin Contributions
    0

    Idea or Suggestion Re: Sales Report 2.0 b104 parse error after installing

    Just in case anyone bumps into this again... I had the same problem and it's an easy fix (although hard to find at first). Some lines have <? instead of <?php and that seems to screw things up in the newer PHP versions (more strict with that).

    So... I think its line 693 and 1029 that need changing. If not, look around those (in case you did some editing and numbers changed).

    Cheers

  8. #8
    Join Date
    May 2009
    Posts
    1
    Plugin Contributions
    0

    Default Re: Sales Report 2.0 b104 parse error after installing

    Quote Originally Posted by elhector View Post
    Just in case anyone bumps into this again... I had the same problem and it's an easy fix (although hard to find at first). Some lines have <? instead of <?php and that seems to screw things up in the newer PHP versions (more strict with that).

    So... I think its line 693 and 1029 that need changing. If not, look around those (in case you did some editing and numbers changed).

    Cheers
    Thanks elhector, that saved me some time.....
    Paul O'Neill
    insilico
    http://www.insilico.com.au

 

 

Similar Threads

  1. Sales Report confusion
    By wickedklown in forum General Questions
    Replies: 1
    Last Post: 29 Aug 2006, 04:11 AM
  2. Sales Report Timing Out
    By disciple in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 1 Aug 2006, 07:04 PM
  3. Sales Report Question
    By digidiva-kathy in forum General Questions
    Replies: 0
    Last Post: 14 May 2006, 04:54 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
  •