0

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.

1 Answer 1

4

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

mv fixSUPEE6788.php ./shell

cd shell

php -f fixSUPEE6788.php -- analyze
3
  • please let me know the location of shell
    – user0509
    Commented Feb 1, 2016 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 Commented Feb 1, 2016 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
    Commented Feb 1, 2016 at 12:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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