This topic is locked
[SOLVED]

 Where are my changes?

4/15/2016 4:14:06 AM
PHPRunner General questions
bbarker author

I've been struggling with an issue for quite some time. It seems very hit-or-miss for me whenever I make CHANGES to any of my pages. More often than not, the changes don't show up after I FTP them to the production server.
All of the following have disappeared:

  1. I reorganize the column order.
  2. I add a SUM to a report.
  3. I modify the query.
  4. I create a brand new Report, add it to Menu.
    I have tried by selecting BUILD at the very beginning, and by waiting until the last screen. It doesn't seem to make any difference. Each time that I come back and start PHPR again, all of my previous changes are still there - but they just don't show after uploading.
    The last straw tonight was when I created a brand new table, worked my way through the pages, saw it at the bottom of the Menu page, moved it up a couple of lines and clicked on BUILD. (Full Build)
    After I ftp'd it using FileZilla to my server, the Menu did NOT list the new Report -- but the Login screen DID show my new changes to it. So I know that SOME screens are being updated and uploaded.
    What am I doing wrong? How can I get the changes to my reports to show up more consistently??

    Does it have anything to do with the location of the PHPR file?

    Is there a cache that I'm not clearing out?
    Thanks for ANY help!!!!

bbarker author 4/16/2016

When I make changes to the MENU - it looks great.

After uploading, the changes don't show up.
When I start PHPR again, the changes are still there. I Save and FTP. Again, they don't show.
Any ideas?

bbarker author 4/17/2016

Correction. I added a "spacer line" and it showed up.
But two new REPORTS don't show up on the menu - even though they are always on the PHPR Editor page.
Please don't say to press "Reset". I did that once and it didn't change anything. I had to rebuild my entire menu - which has 6 groups and 35 Menu selections (all reports).
Ideas? <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=79185&image=1&table=forumreplies' class='bbc_emoticon' alt=':blink:' />

HJB 4/17/2016

It's difficult to judge of what is really happening at your end, yet once PHPR is generating fresh code, very same is landing within the /docs/phprunner projects/output subdirectory from where it is later on FTPed to its final destination. If, in this your case, some changes worked, while others don't, the only quick way out is to make good use of e.g. free FTP program like FileZilla or else to then FTP from the aforementioned OUTPUT subdirectory into your your web space to then let you see, it is 100% working and to enable you to own a quick workaround to get things up- and running as wished while later Trouble-Shooting on reasons why it doesn't like you are doing it right now can come later on.

bbarker author 4/17/2016

Thanks for the input. I just fixed the problem of a new report not showing up on the MENU Page.
I opened the "Permissions" page and fiddled with it. Don't know what I really changed since the checkmarks were already there.

But then I saved and rebuilt the site. Now the new report shows up.
I see that Static Permissions are displayed differently for "tables" than "reports". I need to dig into that some more.

HJB 4/17/2016

... aha, yes, once working with PERMISSIONS, one should be aware to view sites under per pre-defined permissions to let you see what you want to see. Generally, dynamic permissions are giving you more "peace of mind" atmosphere as ADMIN than "static" ones as you don't need to generate fresh code all the time on changes which users/usergroups are allowed to see/access what. In short, with no doubt, PHPR generates correct code, yet when permissions are on, you need to see to it that you as well need to observe same when viewing restricted page content. It is really NO rocket science, yet you just need to read the manual in cool and non-productive code minute.