You are here:  » Could not aquire directory handle on ../feeds/


Could not aquire directory handle on ../feeds/

Submitted by AD_Mega on Thu, 2017-11-02 20:09 in

I downloaded the lasted version to start a new site using the same database as my old site. I ran setup.php and everything passed. In admin on my mew site I'm getting Could not aquire directory handle on ../feeds/ . The database I'm using is on the same server.

Submitted by support on Sat, 2017-11-04 09:34

Hi,

That sounds like PHP is not internally changing directory to the same directory as the script being executed. What I would suggest to try first is to make the $config_feedDirectory variable (config.advanced.php line 4) a fully qualified rather than relative path. To work out what to use, from /admin/ go to Tools > Support Info where the Install Path is displayed, for example;

/home/username/public_html/

This, with feeds/ on the end is the value to use, for example:

  $config_feedDirectory = "/home/username/public_html/feeds/";

Hope this helps!

Cheers,
David.
--
PriceTapestry.com

Submitted by AD_Mega on Sat, 2017-11-04 20:21

Hi

That didn't work. Now its say Could not aquire directory handle on the directory I put on Line 4 of config.advanced.php.

Submitted by AD_Mega on Sat, 2017-11-04 20:45

Sorry its working I forgot I was trying to follow another post instructions that move feeds to a file.

does admin suppose to say

There are no feeds to display.

To get started either upload a feed to your /feeds/ folder or go to Setup » Automation Tool and then create and run a New Job.

When I got to my website and click Category, Brand, or Merchant nothing shows.

Submitted by support on Mon, 2017-11-06 08:39

Hi,

Did you mean this thread about replacing feeds with a zero byte file after import? That shouldn't leave the feeds/ folder empty as the feeds which is the only reason "There are no feeds to display" would be show but is that what seems to be happening or was it something else you were trying? Has a feed already been set-up and products showing on the front end?

Thanks,
David.
--
PriceTapestry.com

Submitted by AD_Mega on Mon, 2017-11-06 09:54

No I was trying this https://www.pricetapestry.com/node/6154 . I'm trying to use the feeds from my old site. Is there something else that needs to be done other than pointing to the old site's data base in config.php?

Submitted by support on Mon, 2017-11-06 10:39

Ah OK - in that case, /admin/ from the installation using another site's database should be showing all the same feeds but the "De-Register" button alongside each one however if you wanted to prevent this you could make the $config_feedDirectory point to the actual feeds folder of the site for example at line 4 of config.advanced.php:

  $config_feedDirectory = /home/username/othersite/public_html/feeds/";

If you're not sure I would be happy to take a look on your server, email me the links and I'll check it out further with you...

Cheers,
David.
--
PriceTapestry.com

Submitted by AD_Mega on Mon, 2017-11-06 11:23

That still didn't work. I emailed you the info to look at my site. Thanks