View Full Version : Migrating from v2 to v3
Hello,
Those on v2, wishing to move across might find this link of use:
Migrating from v2 to v3 (http://wiki.affiliatewindow.com/index.php/FAQ_Migrating_From_V2)
Cheers
Cheers for all that input chaps, I think I got it all, keep up the spirits, nothing like a wee challenge to get your backside in gear!
ljackson09
17-08-09, 17:59
yeah thanks GeorgeGaz,
one question i read somewhere (possibly on the AW shop window page?) that affiliates will need to make £75 per month to continue using the API V3? is this true?
thanks
Luke
ljackson09
17-08-09, 18:03
p.s
how does one Create a writable cache directory???
and i dont have a config.inc.php? just a constants.inc which is
<?php
// Enables or disables the WSDL caching feature.
// @see http://uk3.php.net/manual/en/soap.configuration.php#ini.soap.wsdl-cache-enabled
ini_set("soap.wsdl_cache_enabled", 0);
// Constants for both APIs
define('API_VERSION', 2);
define('API_USER_TYPE', 'affiliate'); // (affiliate || merchant)
define('API_USERNAME', ''); // You affiliate || merchant ID (e.g: 12345)
define('API_PASSWORD', ''); // You API password (found in your userarea)
//AW API constants
define('AW_WSDL', 'http://api.affiliatewindow.com/v'.API_VERSION.'/'.ucfirst(API_USER_TYPE).'Service?wsdl');
define('AW_NAMESPACE', 'http://api.affiliatewindow.com/');
define('AW_SOAP_TRACE', false); // turn OFF when finished testing
// PS API constants
define('PS_WSDL', 'http://api.productserve.com/v'.API_VERSION.'/ProductServeService?wsdl');
define('PS_NAMESPACE', 'http://api.productserve.com/');
define('PS_SOAP_TRACE', false); // turn OFF when finished testing
// Set more constants based on API choice
if (API=='AW') {
define('API_WSDL', AW_WSDL);
define('API_NAMESPACE', AW_NAMESPACE);
define('API_SOAP_TRACE', AW_SOAP_TRACE);
}
elseif (API=='PS') {
define('API_WSDL', PS_WSDL);
define('API_NAMESPACE', PS_NAMESPACE);
define('API_SOAP_TRACE', PS_SOAP_TRACE);
}
else {
die('You HAVE to select the appropriate api (AW/PS)');
}
thanks
Luke
yeah thanks GeorgeGaz,
one question i read somewhere (possibly on the AW shop window page?) that affiliates will need to make £75 per month to continue using the API V3? is this true?
thanks
Luke
Hello Luke,
For more information regarding this please see the v3 Performance Criteria on this page:
ShopWindow v3 (http://www.shopwindowforum.com/showthread.php?t=1296).
p.s
how does one Create a writable cache directory???
thanks
Luke
As for the cache directory, you will need to create a new directory called "cache" via your FTP Client and then edit the permission settings to read 777. For v3 this folder is to be found in the same place as the index.php.
Cheers
ljackson09
17-08-09, 18:35
ok thanks mate,
i have setup a new folder in my root director and have set the permissions as follows
(read | write | execute)
owner = Y | Y | Y
group = Y | Y | Y
all users = Y | Y | Y
not sure where the 777 comes into it?
sorry if im being thick :D
am pretty new at all this lol
many thanks
Luke
ok thanks mate,
i have setup a new folder in my root director and have set the permissions as follows
(read | write | execute)
owner = Y | Y | Y
group = Y | Y | Y
all users = Y | Y | Y
not sure where the 777 comes into it?
sorry if im being thick :D
am pretty new at all this lol
many thanks
Luke
http://www.linux.org/lessons/beginner/l14/lesson14b.html
And
http://en.wikipedia.org/wiki/Chmod
Although the wiki explain is a tad more complex.
Read the first one and get to understand it... It's something really basic and something that is pretty essential in the world of interwebbery.
Amusing though really, your messing with the API, but not knowing CHMOD... Amusing simply, because that's normally my way of things, never bother with instructions or manuals, just go straight in at the deep end then end up backtracking.
With the net though, you do need to know the basics of this stuff to get the best of this side of things. If your new to all of this as you say, you could do worse than doing some of those lessons on the Linux site, some pretty useful info to be learned.
ljackson09
17-08-09, 19:09
Hi Amoochi,
thanks for your reply :)
i have read and kinda understand chmod :D
so if i wanted to add permissions to the file
lets say i have this
$ chmod 777 cache
where do i insert this code?
and am i right in having setup a new folder called cache?
thanks
and sorry again for being dim, give me a virtual slap if you want :D
ljackson09
17-08-09, 20:30
p.s im a windows user :), am currently searching google for instructions...
where it says Update the config.inc.php file as follows
i have no config file just the constants.inc file,
details posted above...
how do i change them to get it working with v3?
thanks
Luke
ljackson09
28-08-09, 22:12
hi guys,
i have downloaded the new files from my user area, but im not sure what i need to do next?
sorry im not very good when it comes to changing things which i dontreally understand :(
if someone would kindly help me through this process of using v3 please i'd really appreciate it.
Luke