This topic is locked

Project File Problems

6/2/2005 3:30:35 PM
PHPRunner General questions
roy author

This series of problems is getting beyond frustrating, it's now become irritating. Now, besides having session expiration and master/detail integrity problems, I find that my .phpr files aren't holding changes I make.
<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=1494&image=1&table=forumtopics' class='bbc_emoticon' alt=':angry:' /> Grrr! <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=1494&image=2&table=forumtopics' class='bbc_emoticon' alt=':angry:' />
Sergey, can we resolve these issues?
Roy

pplaut 6/2/2005

I had a strange problem like that too where my changes were not being saved......... for some reason................
Here is what I did.

I deleted ALL my .php files which had been generated and recompiled the thing from scratch.........

That seemed to fix my problems with the changes not being saved and the project I am working on has not had the problem since.
However, I will sometimes delete all the *.php files just to make sure I have a clean build from time to time.
However, this of course (im my opinion) is the problem with using code generators in general, and gets more complicated when you add your own custom snippets.

You just can't delete your files because when you rebuild, the get overwritten.
PHPRunner is a great product and seems to take a lot of the CRUD work out of database development.
That is what worked for me.

btw. make a backup first <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=4668&image=1&table=forumreplies' class='bbc_emoticon' alt=';)' />
Peer

roy author 6/2/2005

I agree that PHPRunner is a great product, but these issues must be resolved.
I have followed the process you suggest many times, at least 6 times just this morning. It seems completely arbitrary in what changes it saves in my project file. I have been trying many things to solve the application critical problems that I'm dealing with.
I agree with you regarding the problem with code generators and, therefore, have steered away from any custom code in the early stages of developing this application. I'm only using supertop & superbottom includes right now, and sometime I eliminate those just to reduce the complexity. However, time has moved me from "early stages" to time to get something done.
Thanks for your suggestions, if you have anymore please don't hold them back.
Roy

Sergey Kornilov admin 6/3/2005

Roy,
could you give me more info on your problem?

Which changes you make? What data do you try to save? etc.

roy author 6/3/2005

admin Posted on Jun 3 2005, 01:39 PM:

could you give me more info on your problem?

Which changes you make? What data do you try to save? etc.

An example would be when I had a field in each of 2 tables that I wasn't displaying on the "add" screen. I changed the project file to display those fields and rebuilt the project, then saved the project file. The 2 fields still didn't display, so I went back to PHPRunner, open the project file I had just saved, 1 of the fields was checked and the other wasn't. So, I checked it and verifyed that the other was still checked. Then went to the last screen of PHPRunner and built the application again and saved the project file from that screen before clicking finish. This time the field I had just checked displayed, but the other one didn't. So, I wnet back through the process, placing the check in bos to display each field on it's "add" page. <span style='font-size:11pt;line-height:100%'>Can you believe it? They switched!!!</span>
When I reopened the project file, one box was checked and the other wasn't.
Roy

Sergey Kornilov admin 6/14/2005

Roy,
I wasn't able to reproduce this error.

Please zip and send me your project file along with your database creation script or database itself for investigation.
Also send me step-by-step instruction how did you get this error.

roy author 6/14/2005

Sergey,

I'm sorry, I should have posted that the problem has disappeared. I suspect it was either something I was doing.
Everything is fine now. In fact, everything is great!
Thanks,

Roy

<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=4794&image=1&table=forumreplies' class='bbc_emoticon' alt=':P' />

S
suzy 6/22/2005

Hi guys! I have had this problem too. Remember this -- problems that go away by themselves come back by themselves.
Sergey, I think it has something to do with going all the way back to Step One. If I lose my db connex or accidently go back to step one, I have to recheck all my formatting settings. For me, the unkept changes usually involve a field that has been formatted as a lookup. Perhaps this will help you reproduce the problem. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=4879&image=1&table=forumreplies' class='bbc_emoticon' alt=':D' />
I, too, have found that deleting and rewriting files locally and on my server helps builds to work better.

Sergey Kornilov admin 6/27/2005

Suzy,
make sure you use the latest version of PHPRunner. You can download it here.