I have downloaded this file from https://github.com/rhoerr/supee-6788-toolbox and have kept in root of my project but when I try to run command.

php -f fixSUPEE6788.php -- analyze

Then I get error in ssh.

PHP Warning:  require_once(./abstract.php): failed to open stream: No such file or directory in /var/www/html/fixSUPEE6788.php on line 28
PHP Fatal error:  require_once(): Failed opening required './abstract.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/fixSUPEE6788.php on line 28

What is that which I am missing. I need to resolve 404 error for custom modules which came after installing patch. Please help.


Move the file into the shell folder and run it from there

mv fixSUPEE6788.php ./shell

cd shell

php -f fixSUPEE6788.php -- analyze
  • please let me know the location of shell
    – user0509
    Feb 1 '16 at 10:57
  • Shell is in your magento root folder eg if your installed at /var/www/, then it will be at /var/www/shell Feb 1 '16 at 11:00
  • Do you know that how to run this command in local windows: this gives php: command not found in git bash.
    – user0509
    Feb 1 '16 at 12:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.