Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Magento 1.5 Upgrade and Issue with Multi website diffrent document root issue in Symbolic Link
 
the3tree
Jr. Member
 
Total Posts:  7
Joined:  2011-04-11
Everywhere
 

Hi,
We had earlier set up a multiple website - multiple document root in Magento 1.4. After the upgrade we found out that the Symbolic link option has been removed from the code. And we received Not valid template file: error.

After we looked into the code. We found out that the include path is checked against the viewDirectory and is always false.

$includeFilePath realpath($this->_viewDir DS $fileName);
            if (
strpos($includeFilePathrealpath($this->_viewDir)) === 0{
                
include $includeFilePath;
            
else {
                Mage
::log('Not valid template file:'.$fileNameZend_Log::CRITnullnulltrue);
            
}

Is this a bug or are we missing something.

Thanks,

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top