This topic is locked

a few small bugs ????

3/21/2007 8:16:46 AM
PHPRunner General questions
D
datapimp author

Hi my question is directed to the makers of this great app...
I seem to be encountering a few small bugs which are starting to get under my skin a bit. I'm not sure if its just me or a bug.
1: PHPrunner seems to save my project every time I close the program no mater which way I exit. Some times when the box does come up that asks me if I want to save, I press No and it still saves the project.
2: When I'm on the datasource table section and I leave one of the tables selected (or highlight) but NOT ticked to be included in my project or even if the "create menu items for this table" is un-ticked PHPrunner builds every page for that table. I have to go back un-tick and unselected it or highlight another table that will be built.
3: When I upload by site for the first time or if I delete everything on my web server and upload another fresh copy. I get this error when I run the site for the first time.
Technical information

Error type 256

Error description Smarty error: unable to write to $compile_dir '/home/mywebsite/public_html/start/templates_c'. Be sure $compile_dir is writable by the web server user.

URL www. mywebsite.com.au/start/kmi_add.php?

Error file /home/ mywebsite /public_html/start/libs/Smarty.class5.php

Error line 1095

SQL query
Its not called "mywebsite" I just placed that there for this example.

When I look at the permissions for to templates_c via windows ftp its says
Owner Read and Execute

All users Read and Execute
I have to give them both write permissions and it works.
Im using PHPrunner 3.1 build 218 on win 2003 r2 sp2, sql 5.2 , php 5, iis 6

I've uninstalled PHPrunner and deleted all files before reinstalling but no luck.
Any help would be great

J
Jane 3/21/2007

Hi,
1,2. thank you for pointing me to these issues.

We'll investigate and fix it in the next PHPRunner update.
3. It isn't bug. templates_c should have write permissions for web user because smarty writes temp files to this directory.

D
datapimp author 3/22/2007

Thank you for looking into this... just a point about the "3rd bug".
What i was trying to say is, when PHPRunner creates templates_c folder for the first time it doesn't seem to assign the correct permissions to this folder (the write permission) which is why this error is occurring. Can you please see if this is caused by my own set up or a small bug in PHPRunner.
Also one other question... do you know the time frame for the next build update as I'm waiting for the new features that are coming out in version 3.2.
Thanks mate

J
Jane 3/22/2007

Hi,
we'll fix permission issue with templates_c directory in the next PHPRunner version. Write permissions will be set automatically.

New beta version will be ready next week.