Topic: FreeRealty 3.0

FreeRealty 3.0 is in heavy development. There are many changes in the works including moving the configuration into the database, database normalization and enhanced property editing for the user/admin interface. The property types, styles, states, authorized users and statuses are also moved into the database. These will all be editable using the expanded admin interface.

The install and upgrade scripts will now set a version number in the database. This will allow checking to see if the script is up-to-date and will show only the updates needed in the upgrade script. This will apply to versions from 2.9 up. Previous versions did not set the version in the database. It may now also become possible to check the version from the admin interface, although that has not been built yet.

I hope to have a demo release available soon at: http://freerealty.rwcinc.net/alpha

Patrick
Lead developer FreeRealty
Other claims to fame: http://www.rwcinc.net
Enrolled Agent, Licensed to Represent Taxpayers before Exams, Appeals and Conference divisions of the Internal Revenue Service.

Re: FreeRealty 3.0

I have also added a new defaults table. This will fill in default settings like cities, states, status, etc. when entering new properties.

As always the goal is to make any default FreeRealty installation completely and seamlessly upgradeable. However with upcoming versions many things will be moved into the database that have simply been in files before. I will try to plan the next release for a time when I will be available for installation and upgrade assistance.

Patrick
Lead developer FreeRealty
Other claims to fame: http://www.rwcinc.net
Enrolled Agent, Licensed to Represent Taxpayers before Exams, Appeals and Conference divisions of the Internal Revenue Service.

Re: FreeRealty 3.0

I am looking for a few good developers to help test and upgrade install of 3.0. What this would require is that you have an existing database that you can dump the data from to use for an upgrade - this is not to be used on a live database. Preferably a development machine with error reporting turned on so bug reports can be filed with line numbers. Access to php_error and/or web server error logs can substitute as well. Anyone wanting to help should email me to get a copy of the development code.

Patrick
Lead developer FreeRealty
Other claims to fame: http://www.rwcinc.net
Enrolled Agent, Licensed to Represent Taxpayers before Exams, Appeals and Conference divisions of the Internal Revenue Service.

Re: FreeRealty 3.0

FR 3.0 will be released within the next month or so. There are tons of changes throughout the codebase, it seems I can't think about the project without coming up with new ideas.

IF it can be done, there will be skins or themes available for the next release.

Patrick
Lead developer FreeRealty
Other claims to fame: http://www.rwcinc.net
Enrolled Agent, Licensed to Represent Taxpayers before Exams, Appeals and Conference divisions of the Internal Revenue Service.

5 (edited by pat 2007-09-13 10:33:48)

Re: FreeRealty 3.0

Wow, was I wrong. I'm working on some heavy changes to the installation scripts which have required me to be late on this release. There are a few bugs to work out still for brand new installs. I will be working on the new install code today, but no promises that it will be pristine any time soon. I will attempt to post some snapshots of my progress tomorrow if anyone feels like digging into the guts. And hey, if you already have an older version installed, the update scripts seem to be OK.

9/13/07
I got hung up on another project and didn't get a chance to work on it sad

Patrick
Lead developer FreeRealty
Other claims to fame: http://www.rwcinc.net
Enrolled Agent, Licensed to Represent Taxpayers before Exams, Appeals and Conference divisions of the Internal Revenue Service.

Re: FreeRealty 3.0

You can now download and test FreeRealty 3.0 release candidate 1.
http://freerealty.rwcinc.net/code/FR-3.0-0.rc1.zip
If you are upgrading, backup your database before attempting the installation.

Other file versions are at http://freerealty.rwcinc.net/download.php

Patrick
Lead developer FreeRealty
Other claims to fame: http://www.rwcinc.net
Enrolled Agent, Licensed to Represent Taxpayers before Exams, Appeals and Conference divisions of the Internal Revenue Service.

Re: FreeRealty 3.0

Release candidate 1 had a couple of bugs that wouldn't allow properties to be properly added or edited in admin/admin.php release candidate 2 fixes those errors.
http://freerealty.rwcinc.net/code/FR-3.0-0.rc2.zip

Patrick
Lead developer FreeRealty
Other claims to fame: http://www.rwcinc.net
Enrolled Agent, Licensed to Represent Taxpayers before Exams, Appeals and Conference divisions of the Internal Revenue Service.

Re: FreeRealty 3.0

Minor bug fixes and changes to the database creation code are in release candidate 3:
http://freerealty.rwcinc.net/code/FR-3.0-0.rc3.zip

Patrick
Lead developer FreeRealty
Other claims to fame: http://www.rwcinc.net
Enrolled Agent, Licensed to Represent Taxpayers before Exams, Appeals and Conference divisions of the Internal Revenue Service.

Re: FreeRealty 3.0

FR-3.0-0 release candidate 4 is available for download http://freerealty.rwcinc.net/code/FR-3.0-0.rc4.zip Files changed between rc3 and rc4: http://freerealty.rwcinc.net/code/FR-3. … to_rc4.zip

Patrick
Lead developer FreeRealty
Other claims to fame: http://www.rwcinc.net
Enrolled Agent, Licensed to Represent Taxpayers before Exams, Appeals and Conference divisions of the Internal Revenue Service.

10

Re: FreeRealty 3.0

FR-3.0-0 release candidate 6 is available for download http://freerealty.rwcinc.net/code/FR-3.0-0.rc6.zip
Files changed between rc5 and rc6: http://freerealty.rwcinc.net/code/FR-3. … to_rc6.zip
(release candidate 5 is available as well)

Patrick
Lead developer FreeRealty
Other claims to fame: http://www.rwcinc.net
Enrolled Agent, Licensed to Represent Taxpayers before Exams, Appeals and Conference divisions of the Internal Revenue Service.

11

Re: FreeRealty 3.0

FR-3.0-0 release candidate 7 has been available for a while:
http://freerealty.rwcinc.net/code/FR-3.0-0.rc7.zip
Changed files rc6 to rc7: http://freerealty.rwcinc.net/code/FR-3. … to_rc7.zip
There are also a couple of interesting changes in the latest snapshot: http://freerealty.rwcinc.net/snap.php

Patrick
Lead developer FreeRealty
Other claims to fame: http://www.rwcinc.net
Enrolled Agent, Licensed to Represent Taxpayers before Exams, Appeals and Conference divisions of the Internal Revenue Service.

12

Re: FreeRealty 3.0

Check out the latest snapshot (while it's still up 20080503103401.tgz )
Mostly preview code has been moved into the func.php file instead of being in propview.php. Give it a try if you're adventurous smile

Patrick
Lead developer FreeRealty
Other claims to fame: http://www.rwcinc.net
Enrolled Agent, Licensed to Represent Taxpayers before Exams, Appeals and Conference divisions of the Internal Revenue Service.

13 (edited by andiwijaya 2008-07-19 00:31:36)

Re: FreeRealty 3.0

Bugs in FR 3.0-0.rc7 
- Agent cannot register. Agent must be added manually by admin..
- Picture in Listing doesn't appear
- Error when adding picture to listing.
How to solve this? thanks

14

Re: FreeRealty 3.0

andiwijaya wrote:

Bugs in FR 3.0-0.rc7 
- Agent cannot register. Agent must be added manually by admin..

In the admin section go to config and set: Require admin for new agents? to n.

- Picture in Listing doesn't appear
- Error when adding picture to listing.
How to solve this? thanks

Are you saving images to folders or to the database? I would guess to a folder that doesn't have permission properly set, but you don't say exactly what error you get.
From the FAQ:

Check the images/listings and images/agents folders for proper permissions. 664 or 774 recommended with group ownership given to the web server.

Patrick
Lead developer FreeRealty
Other claims to fame: http://www.rwcinc.net
Enrolled Agent, Licensed to Represent Taxpayers before Exams, Appeals and Conference divisions of the Internal Revenue Service.

15 (edited by andiwijaya 2008-07-20 05:29:32)

Re: FreeRealty 3.0

Thanks Pat for quick reply.
I try to add picture with name: 2452_dmask-domain-registration.jpg
I am using windows OS for testing and Apache server. iam sure images folder has been set to 777 but still error. my error is :

Warning: fopen(/tmp/thumb_2452_dmask-domain-registration.jpg) [function.fopen]: failed to open stream: No such file or directory in d:\server2go\htdocs\freerealty\includes\thumbnail.php on line 105

Warning: fwrite(): supplied argument is not a valid stream resource in d:\server2go\htdocs\freerealty\includes\thumbnail.php on line 108

Warning: fclose(): supplied argument is not a valid stream resource in d:\server2go\htdocs\freerealty\includes\thumbnail.php on line 109

Warning: fopen(/tmp/thumb_2452_dmask-domain-registration.jpg) [function.fopen]: failed to open stream: No such file or directory in d:\server2go\htdocs\freerealty\includes\func.php on line 349

Warning: filesize() [function.filesize]: stat failed for /tmp/thumb_2452_dmask-domain-registration.jpg in d:\server2go\htdocs\freerealty\includes\func.php on line 350

Warning: fread(): supplied argument is not a valid stream resource in d:\server2go\htdocs\freerealty\includes\func.php on line 351
Writing file to folderYour image has been added (2452_dmask-domain-registration.jpg).
Warning: unlink(/tmp/thumb_2452_dmask-domain-registration.jpg) [function.unlink]: No such file or directory in d:\server2go\htdocs\freerealty\includes\func.php on line 425

16

Re: FreeRealty 3.0

Do you have a folder named /tmp? On a Windows machine you will need to define the /tmp folder in common.php:

define("temp_dir", "/tmp", "yes");

Change the /tmp to c:\\windows\\temp or make a new directory c:\temp and set this to c:\\temp eg.

 define("temp_dir","c:\\windows\\temp", "yes");

This is the single major difference between running this script on a Unix variant vs. Windows.

Patrick
Lead developer FreeRealty
Other claims to fame: http://www.rwcinc.net
Enrolled Agent, Licensed to Represent Taxpayers before Exams, Appeals and Conference divisions of the Internal Revenue Service.

Re: FreeRealty 3.0

Thanks, the problem has been solved. Picture can appear, but the script cannot delete temporary image in C:\WINDOWS\Temp directory.

Warning: unlink(C:\WINDOWS\Temp/thumb_2452_dmask-domain-registration.jpg) [function.unlink]: Permission denied in d:\server2go\htdocs\freerealty\includes\func.php on line 425

Question: Why do we not able to create temporary directory in another place such as:
d:\server2go\htdocs\freerealty\tmp

18

Re: FreeRealty 3.0

You can put the temp directory wherever you want. If you don't have permission to access C:\windows\temp then it might make more sense to set up your temp directory as d:\server2go\htdocs\freerealty\tmp and set it in common.php. I originally used /tmp for Unix based machines because that is a universal location and all users should have access to it.

Patrick
Lead developer FreeRealty
Other claims to fame: http://www.rwcinc.net
Enrolled Agent, Licensed to Represent Taxpayers before Exams, Appeals and Conference divisions of the Internal Revenue Service.

19

Re: FreeRealty 3.0

I have been pretty lax in getting a new version "out the door" I'm not hearing much in the way of problems, bugs or feature requests lately. I will be reviewing the code for compliance with the latest PHP and MySQL releases and maybe a minor amount of variable sanitation. FR 3.0 rc7 seems to be working for people - if not speak up!
Thanks and happy realty web sites.

Patrick
Lead developer FreeRealty
Other claims to fame: http://www.rwcinc.net
Enrolled Agent, Licensed to Represent Taxpayers before Exams, Appeals and Conference divisions of the Internal Revenue Service.

20

Re: FreeRealty 3.0

FreeRealty 3.0 version 3.0-0.rc8 is online. A pretty serious vulnerability caught my attention today which necessitated the finalizing of this release candidate.
http://freerealty.rwcinc.net/code/FR-3.0-0.rc8.zip
Download and update to prevent rogue logins.

Patrick
Lead developer FreeRealty
Other claims to fame: http://www.rwcinc.net
Enrolled Agent, Licensed to Represent Taxpayers before Exams, Appeals and Conference divisions of the Internal Revenue Service.

21

Re: FreeRealty 3.0

FR-3.0-0.rc10 is available for download. Some bug fixes and code changes.

Patrick
Lead developer FreeRealty
Other claims to fame: http://www.rwcinc.net
Enrolled Agent, Licensed to Represent Taxpayers before Exams, Appeals and Conference divisions of the Internal Revenue Service.