You are here:  » Loading PT on to WAMP


Loading PT on to WAMP

Submitted by Paul1107 on Mon, 2014-03-10 19:56 in

Hi David,

I have created a fresh install onto a local wamp server, and it seems to be OK with the exception of the following:

1. The automation tool will not fetch a feed from specified location (or at least I get "ERROR - TRANSFER FAILED" in the status field)

2. (maybe this is as a result of above) I get a 404 error whenever I try to view categories, products, brands on the home page

Do you know why that might be?

Cheers

Submitted by support on Mon, 2014-03-10 20:54

Hi Paul,

Re: 1; This is typical of PHP not having URL wrappers enabled which can be controlled through the allow_url_fopen setting. Check this page for more info.

As an alternative, CURL may be available in your PHP build - go to /admin/ > Support Info, and if curl is showing as available edit config.advanced.php and change line 43 as follows:

  $config_automationHandler = "curl";

Re: 2; This sounds like clean URLs have been enabled in config.php however the associated .htaccess file has not yet been created from a copy of htaccess.txt in the distribution. I know from our emails that you are planning to use Price Tapestry as your back-end data feed solution with external scripts on the front end so if you edit config.php and revert line 8 as follows;

  $config_useRewrite = FALSE;

...all links should then work as expected.

Cheers,
David.
--
PriceTapestry.com

Submitted by Paul1107 on Tue, 2014-03-11 17:53

Hi David,

thanks for that...

2. worked it was indeed the htaccess that hadn't changed to the correct format.

With 1. however, I the "allow url Fopen" was checked, but "allow url include" was not, I check that, and rebooted the wamp server, but that does not seem to have improved the situation?

any other thoughts?

Thanks again

Paul

Submitted by support on Wed, 2014-03-12 09:29

Hi Paul,

I would suggest giving CURL a go as the automation tool handler - so if you edit config.advanced.php and change line 43 as follows:

  $config_automationHandler = "curl";

If still no joy let me know as I'm about to set-up a WAMP instance for testing purposes so I'll expedite that and give it a go for you...

Cheers,
David.
--
PriceTapestry.com

Submitted by Paul1107 on Wed, 2014-03-12 10:33

Hi David,

thanks for your help, I made the amends, but something is still not working right, I have sent you a video which should explain if that is OK, please watch here {link saved}

I hope this helps

Cheers

Paul

Submitted by support on Wed, 2014-03-12 11:10

Hi Paul,

Your video is showing that unzip is failing, so that actually implies that fetching is now working fine using CURL.

unzip and un-gzip can be made to work on Windows by using the GNU/Win32 project versions of the unzip and gzip programs

Check out this page and scroll down to the "Automation Unzip Program Troubleshooting" section, where you'll see links to Windows 32 versions of unzip and gzip. If you download and install unzip.exe and gzip.exe in the suggested folder of C:\gnuwin32 and then edit config.advanced.php as indicated that should do the trick!

Cheers,
David.
--
PriceTapestry.com

Submitted by Paul1107 on Wed, 2014-03-12 14:34

Hi David,

not sure if I have picked this up correctly, but I read the pages you directed me to.

I found the unzip.exe & gzip.exe downloads, but could not find C:\gnuwin32 on my PC, I have found a download for it, should I be downloading and installing in order to carry out the above instructions?

Thanks again

Paul

Submitted by support on Wed, 2014-03-12 15:45

Hi Paul,

No need to download anything (other than the GNU/Win32 versions of unzip.exe and gzip.exe), then on your local computer, make a new folder C:\gnuwin32 and then save the two files in that folder - that's all you should need to do...

Cheers,
David.
--
PriceTapestry.com

Submitted by Paul1107 on Wed, 2014-03-12 15:49

Got it... Thanks