Upgrade from Phpauction Pro Plus 1.0 to Phpauction Pro Plus 1.1
---------------------------------------------------------------

Please note that upgrading to Phpauction Pro Plus 1.1 will require copying all the files of the 1.1 release 
to your current installation directory. If you made any modifications to any of the PHP scripts in your current 
Phpauction Pro Plus 1.0 installation, you will need to take care of adding your customizations to the 
corresponding 1.1 scripts.

If you made any change to the header.php file, you can still use it. All you'll have to do is to edit it and change 
the version tag in the first line of that file. It must be

	<?#//v.1.1.0

The same goes for your footer.php file.

If you made any customization to the templates files, you need to know that the following templates have been 
modified in version 1.1:

    * template_buying_php.html
    * template_selling_php.html
    * template_item_php.html
    * template_sell_preview_php.html

If you want to use your modified templates you'll have to compare them with the 1.1 corresponding templates and 
add the changes to them.

 

Upgrade steps

Here are the steps you should follow - please feel welcome to contact us at proplus11@phpauction.org if you have any questions. 
Note that the installation process described below assumes you are going to overwrite your current 
Phpauction Pro Plus 1.0 installation files.

    * After downloading Phpauction Pro Pus 1.1 from your customer account page, unpack it in a new directory
    * Make a backup copy of all your Phpauction Pro Plus 1.0 directories and files
    * Make a backup copy of your Phpauction Pro Plus 1.0 database content
    * Copy all the files from the main Phpauction Pro Plus 1.1 directory to your Phpauction Pro Plus 1.0 directory
    * Copy all the files from the includes/ directory of the Phpauction Pro Plus 1.1 package to your Phpauction Pro Plus 1.0 includes/ directory
    * Copy includes/passwd.inc.php from the backup copy of your Phpauction Pro Plus 1.0 installation to the includes/ directory of Phpauction Pro Plus 1.1
    * Edit includes/config.inc.php of the new Phpauction Pro Plus 1.1 installation and be sure the values of the following variables are the same of your Phpauction Pro Plus 1.0 includes/config.inc.php file:
         - $image_upload_path
         - $uploaded_path
         - $MD5_PREFIX
    * Copy all the files and directories in the admin/ directory of the Phpauction Pro Plus 1.1 package to your Phpauction Pro Plus 1.0 admin/ directory
    * Copy all the files and directories in the lib/ directory of the Phpauction Pro Plus 1.1 package to your Phpauction Pro Plus 1.0 lib/ directory
    * Finally you'll have to make the following modifications to your database structure. This can easily be done from phpMyAdmin or any other MySQL interface tool you have installed. The SQL statements you'll have to execute are reported below:
          o ALTER TABLE PHPAUCTIONPROPLUS_feedback ADD auction_id varchar(32)
          o ALTER TABLE PHPAUCTIONPROPLUS_settings ADD alignment varchar(15)
          o CREATE TABLE PHPAUCTIONPROPLUS_https (https enum('yes','no') default NULL, httpsurl varchar(255) default NULL)

The Phpauction Team