Page 1 of 1

Upgrade problem from 0.7.1 to 1.0.4 (fix?)

PostPosted: Sat Nov 01, 2008 8:06 am
by dleffler12
I had v0.7.1 up and running and finally decided to upgrade to the newer version. Here's some problems I ran in to and my solutions? I am running under MySQL 5 and PHP 4.

-Error1. Missing parameter in calling action install.php.
-Fix1. Added a dummy parameter by changing line 75 in dataface-public-api.php to "$res = $action->handle($res);"
-Error2. "The+database+version+is+greater+than+the+file+system+version" Database version was set at 0.2.1 and df_get_file_system_version() returns '0' (???).
-Fix2. Hardcoded version 1.0.4 as default in dataface-public-api.php, then updated MySQL dataface version to 1.0.4. This at least got it up partially.
-Error3. Unable to load Fields for Output Cache. Was looking for a "Headers" field which didn't exist (yet)
-Fix3. Deleted __Output_Cache table, which was automatically recreated.
-Error4. "Missing PEAR/PEAR/FixPHP5PEARWarnings.php"
-Fix4. Found FixPHP5PEARWarnings.php online and uploaded it into a "PEAR" folder on the site.

While not the most elegant, at least I have v1.0.4 up and running.

PostPosted: Sat Nov 01, 2008 8:45 am
by shannah
Thanks for posting this. Are you running a custom application with Xataface or was this Web Auction?

-Steve

PostPosted: Sat Nov 01, 2008 6:50 pm
by dleffler12
Custom Application - Members database basically linking two tables and using some SQL tables as value lists