0

I am new to Magento, I have a task to migrate the Existing website built with Magento to AWS cloud(EC2)

Existing Magento Version - 1.9.1.1. I do not want to Upgrade it, as it is out of our scope of work.

I have Migrated all the source files and Database from old server to EC2 instance, So far so good. After i point the DNS A record to new IP address, a blank page was showing, further on debugging and browsing stackoverflow changed as per Fatal error: Uncaught Error: Function name must be a string in C:\xampp\htdocs\em0126\app\code\core\Mage\Core\Model\Layout.php:555 Stack trace: #0 from $out .= $this->getBlock($callback[0])->$callback1; to $out .= $this->getBlock($callback[0])->{$callback[1]}();

Web Pages are Partially loading.

Now below lines are getting displayed on home page and Product detailed page is also not working

getLayout()->createBlock('cms/block')->setBlockId('banner-block')->toHtml(); ?>
getChildHtml('cms_footer_links') ?> getChildHtml('footer_links') ?>

Please Help in getting this resolved.

New Environment running on - PHP 7.2/Mysql/Apache

URL : http://viviscal.ae/

dee flor
  • 69
  • 1
  • 9

1 Answers1

0

need to enable short_open_tag in php.ini or Through HTACCESS.

In mycase - php.ini didnt work so added through HTACCESS

php_value short_open_tag 1
dee flor
  • 69
  • 1
  • 9