phpAdsNew | ![]() |
2.3 | Upgrading from a previous version | |
Updates, Upgrades, and changes should never be performed in a production environment without careful testing on a staging server. | ||
2.3.2 | phpAdsNew 2 beta 3 to beta 4 | |||||
|
||||||
The mail.php script is replaced by maintenance.php which is located in
the maintenance directory. This script should be schedule to run EVERY
day. If you are using a UNIX based system, you can do this by adding it
to your cronfile. This script is needed to automatically sent reports
to clients and to activate In order for the new maintenance.php script to work correctly 4 new columns were added to the client table.
The files remotehtmlview.php, click.php and phpads.php were renamed to adjs.php, adclick.php and adview.php, which should describe their function much more clearly. The old files are still available for backwards compatibility, but could be depreciated in future versions of phpAdsNew.
|
||||||
2.3.3 | phpAdsNew 2 beta 2 to beta 3 | |
| ||
2.3.4 | phpAdsNew 2 beta 1 to beta 2 | |||||
One column was modified to allow webserver stored banners:
| ||||||
2.3.5 | phpAdsNew 1.9.2 to 2 beta 1 | |||
In addition to this config.inc.php has a few new parameters you should set.
| ||||
2.3.6 | phpAdsNew 1.9 to 1.9.2 | |
Also, the stats database changed from 1.9.0 because "when" is not an allowed field name in mySQL 3.23.
| ||
2.3.7 | phpAdsNew 1.8 to 1.9 | |
There is a new statistics table in mysql. The new config DEFAULTS to using this new statistics model. Some information is lost in the new stats model that was saved before (eg. the host IP or address of everyone who ever saw or clicked on any ad). You probably won't notice, but if you do care, turn off compact stats in config.inc.php. Also, the new stats table must be added to your mysql database. See the definition of the adstats table in all.sql. One include file can now replace the three includes which were required before. See the documentation and the comments in phpadsnew.inc.php The new $phpAds_path is required for proper operation. It should be set automatically and will not require customization. If you have problems with missing include files, though, this may be the culprit.
| ||
2.3.8 | phpAdsNew 1.6 or 1.7 to 1.8 | |
| ||
2.3.9 | phpAdsNew 1.4 or 1.5 to 1.6 | |||
| ||||
2.3.10 | phpAds 1.4 to phpAdsNew 1.5 | |||
New fields have been added in the current tables. You are advised to make these changes :
The best way to upgrade the php files is to completely erase your previous phpAds directory (as always, keep a backup until the new version works fine) and untar the current release. You will notice files have changed extensions from php3 to php, so make sure your webserver understands the php-extension as either php3 or php4 files. Don't forget to edit your new config.inc.php because there are quite some changes !
| ||||
2.3.11 | phpAds 1.3 to phpAds 1.4 | |
The syntax of the view() call in local mode is downwards compatible. With remote invocation, a new argument ("n") was introduced to allow multiple remote banners. The syntax with remote invocation remains downwards compatible to 1.3.0, though. New tables and new fields in existing tables have been introduced. It is recommended to reinstall the tables completely, and to add your banners from scratch. If you want to preserve your old banners, you may be able to do the necessary changes manually: Please don't go this path on a production environment without further testing.
| ||