Jump to content

Cannot scan root directory - Meta tags


Recommended Posts

Hi All

I've been trying to change the meta tags for my index page, however when I click on the index page to edit it I get the following appear;

Cannot scan root directory

This happens if I try to edit any of the tags.

Does anybody no how to fix this? I'm uising V1.3.5

Gary

Link to comment
Share on other sites

  • 4 weeks later...

surely chmod 777 to the root directory in not a good idea. There must be another solution?

I have 4 prestashops and they all do this, however it's onlky been a recent thing. They are all hosted on my own dedicated server.

This is driving me mad!!!!!

Link to comment
Share on other sites

It seems that the code is in a file called meta.php in classes

$selectedPages = array();
if (!$files = scandir(_PS_ROOT_DIR_))
die(Tools::displayError('CANNOT SCAN ROOT DIRECTORY'));

Where is the _PS_ROOT_DIR_ located surely this in the html folder??

My prestashop is just installed in the root of html.

This error is seriously starting to pee me off, anybody have a solution to this??

Link to comment
Share on other sites

  • 5 months later...
  • 3 months later...
  • 2 months later...

There still seems to be no resolution for this problem, other than messing about with the configuration of your server, which may not be available to users who are on a tight budget and are using shared hosting solution.

 

The only work around available in their circumstance is to edit the entries directly into the database using phpmyadmin and altering the ps_meta_lang table to change the SEO values of the specific page. Given the maturity of the Prestashop project, you would have thought that the method in which the values are changed would have been modified to take into consideration more hosting enviroments or at least a developer give a hint of a real work around.

 

This is not the only thread I have come across about this topic which has gone unanswered.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...