This topic is locked

PHPR 5.2 (4890) Report name case change sensitivity

2/21/2010 9:20:13 PM
PHPRunner General questions
E
electromotive author

Have found a wee problem with name case change on a report name in 5.2 (4890).

The web server is a LAMP (linux), but developed on XAMPP (windows).

I create a new report, it suggests a name of "tablexx Report", which I change to "tablexx_report" (all lower case names, no spaces).

The panels (and menu builder) within PHPR all reflect the (lower case) name I chose.
However, the code generated has names like "tablexx_Report_report.php" and "tablexx_Report_search.php". (note the unexpected upper case R)

And as the LAMP is case sensitive, the menu links to "tablexx_report_report.php" are unresolved (not found).

However, the XAMPP version on windows (not being case sensitive) works.
Work around.

I delete the report and recreate with name "tablexx_Report" (note the upper case R)

Now works with both windows and linux servers.

Must remember to do this from now on .....

Sergey Kornilov admin 2/23/2010

Wasn't able to reproduce it - all pages respect report name case.
If you can reproduce it send us your project files along with your database for investigation.

M
masterm1nd 3/12/2010



Wasn't able to reproduce it - all pages respect report name case.
If you can reproduce it send us your project files along with your database for investigation.


I am getting the same problem, I designed the PHPRunner app with Windows and tested it on XAMPP, but now as I transfered it to

LAMP, it's no longer working because the include commands point to lower case names

for ex.
I have pages : Page_Revisions_settings.php
It outputs the error because it is looking for page_revisions_settings.php, using

include 'page_revisions_settings.php';

while it works on windows it doesn't work on Linux as it doesn't support case-insensitive includes,
so I guess the fix should be for the PHPRunner to rename the internal commands to
include 'Page_Revisions_settings.php';
Is there a workaround for this ?
Because It seems that I have renamed a lot of views like that, so I get lots of errors where the page includes

a filename that doesn't exist under linux.
Can you help me ?

E
electromotive author 3/14/2010



Wasn't able to reproduce it - all pages respect report name case.
If you can reproduce it send us your project files along with your database for investigation.



Sorry I haven't been able to send this yet. My project/DB is too large to send, I'll have to create a mini-test version. Anyway simple to reproduce even if you don't have a LAMP server to test it. Just assume that LAMP is case sensitive and that PHPR is changing the case of the report names (or not respecting the case of the names that are entered).