TheHat Posted January 24, 2011 Share Posted January 24, 2011 Hi AllI'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 directoryThis happens if I try to edit any of the tags.Does anybody no how to fix this? I'm uising V1.3.5Gary Link to comment Share on other sites More sharing options...
TheHat Posted January 24, 2011 Author Share Posted January 24, 2011 Does anybody know how to solve this? I have since noticed that I cannot update the sitemap either, getting the same error.TheHat Link to comment Share on other sites More sharing options...
Caleydon Posted February 18, 2011 Share Posted February 18, 2011 Hi. Probably you are running on SSL webserver. Try to set writing permissions (CHMOD 777) for root folder of your webserver. It helps in my case.Good luckGabriel Link to comment Share on other sites More sharing options...
TheHat Posted February 21, 2011 Author Share Posted February 21, 2011 Do you mean setting 777 to httpdocs folder via say filezilla? if so tried this and nothing.Its happening to another site I have made without sslAny ideas? Link to comment Share on other sites More sharing options...
Caleydon Posted February 21, 2011 Share Posted February 21, 2011 Try to send me PM with an access into admin and FTP... Link to comment Share on other sites More sharing options...
TheHat Posted February 23, 2011 Author Share Posted February 23, 2011 PM sent, please let me know you got it. Link to comment Share on other sites More sharing options...
China Posted February 25, 2011 Share Posted February 25, 2011 same problem with 1.3.6.0 in my case.Chmod root directory to 777(do not recursion to sub-directories, nevertheless will cause security problem) can solve the problem. Link to comment Share on other sites More sharing options...
TheHat Posted February 25, 2011 Author Share Posted February 25, 2011 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 More sharing options...
TheHat Posted February 26, 2011 Author Share Posted February 26, 2011 Anyone? Surely others must be getting this error Link to comment Share on other sites More sharing options...
China Posted February 26, 2011 Share Posted February 26, 2011 I tested chmod root to 755, it also works! Link to comment Share on other sites More sharing options...
TheHat Posted February 26, 2011 Author Share Posted February 26, 2011 Does this need to be done per domain or server wide? Link to comment Share on other sites More sharing options...
China Posted February 27, 2011 Share Posted February 27, 2011 My server is based on ISPConfig system, so it must be chmoded per website. Link to comment Share on other sites More sharing options...
TheHat Posted March 2, 2011 Author Share Posted March 2, 2011 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 More sharing options...
China Posted March 2, 2011 Share Posted March 2, 2011 Will you provide your website FTP print screen. Link to comment Share on other sites More sharing options...
Patrice97 Posted August 4, 2011 Share Posted August 4, 2011 Hi Gary, I the same error on my prestashop after plesk panel updates to V10. "Cannot scan root directory" Did you find a solution to your problem. Tanks for your help. Patrice Link to comment Share on other sites More sharing options...
Nickless Posted November 28, 2011 Share Posted November 28, 2011 Temporarily setting the permissions for the root directory to 755 did the trick for me. After I was finished I set it back to the original permissions. (710) Hope it helps Link to comment Share on other sites More sharing options...
csb1983 Posted February 26, 2012 Share Posted February 26, 2012 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now