Hope someone can help with an issue I'm having on my laptop. This is a continuation of a different thread - appears my problem is related to the salesreport addin.
I'm setting up my local server for off-line development. In the process, a sales_report page stopped working. It works on bluehost, doesn't work on my laptop. Same sources, database copied from one to the other. Bluehost uses linux, I use:
WinXP, Apache 2.2, PHP 5.26, MySQL 5. PhpMyAdmin
When I press the submit, or 'Show Me the Money' button, I don't hear the 'click' feedback that my browser gives when I click a link, and nothing happens (nothing on the screen changes, the expected response is to produce another page with the results of the query). In addition, when I select a pull-down that normally causes other sort options to appear, these options don't appear.
Further debug using firefox webdeveloper error messages led me to find that the following code (sales_report.js.php in the admin/includes/javascript directory):
Code:
<?php////////////
// Function : format_checkbox
gives error messages:
Invalid XML markup
<?php//////////
populate_search is not defined
If I change the code for this and other function declarations to:
Code:
<?php
////////////
// Function : format_checkbox
I'm back in business.
So, my question is,
is there a setting that I've defined incorrectly in my apache or php installation that would cause this behavior difference between bluehost and my home computer?
TIA, Carl