Topic with many replies

Magento admin panel (Fatal error)


Author Message
Written on: 09. 09. 2011 [21:33]
it_hk
Boris
registered since: 02.09.2011
Posts: 4
@Frederic

Thx for a rush bugfix.

frederic.gaus wrote:

Would someone be so kind and test this version.


The only error I have got is on call of Magento Admin in Typo3 BE:


Parse error: syntax error, unexpected T_SL in /home/poco/webroot/v2/typo3conf/ext/fb_magento/mod_admin/index.php on line 61


There is a GitHub-diff-comment in index.php:
PHP
<<<<<<< HEAD
 
		// get some Magento Instance
		$this->mage = tx_fbmagento_interface::getInstance($this->emConf);
=======
 
		// get an Magento Instance
		$this->mage = t3lib_div::makeInstance('tx_fbmagento_interface', $this->emConf );
>>>>>>> bugfix_typo3_update_4_5_4


After I have fixed it, it's all right.


Tested on:
TYPO3 4.5.5
Magento 1.6.0.0


Boris
Written on: 12. 09. 2011 [16:39]
it_hk
Boris
registered since: 02.09.2011
Posts: 4
@Frederic

On renewed call of Magento Admin in Typo3 BE I get still this error:


Fatal error: Mage_Admin_Model_Session::isLoggedIn(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "Mage_Admin_Model_User" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /home/poco/webroot/magento/app/code/core/Mage/Admin/Model/Session.php on line 187


If I kill the session cookie "PHPSESSID" I can call the Magento Admin again. On the next call (= click on the Admin module) I get renewed the same error.


Tested on:
TYPO3 4.5.5
Magento 1.6.0.0


Boris
Written on: 13. 09. 2011 [11:41]
frederic.gaus
Frederic
registered since: 09.09.2011
Posts: 3
@it_hk: Thanks for your help and your testing.

I fixed the fatal error while opening the backend module the secound time this morning. You can try out the latest version when you checkout branch "beta" in github.

The fatal error raised because of the forgotton merge-conflics-comment in index.php is fixed, too.

If you can not checkout with git, the fix is really simple. Just add a
t3lib_div::makeInstance('tx_fbmagento_autoloader', tx_fbmagento_tools::getExtConfig()); at the end of ext_tables.php.

Hope we can provide a new TypoGento-Version soon.

Best,
Frederic
Written on: 17. 01. 2012 [18:17]
artus
Artus
registered since: 25.08.2011
Posts: 14
Hi,

please notice this here: http://forge.typo3.org/projects/typo3v4-core/repository/revisions/3e18ab8726e5586d9ef8888ffce49a6cf7e03b53

Greetz

[This article was edited 1 times, at last 17.01.2012 at 18:18.]



Portal information:

At the moment there are 0 users online, thereof 0 registered users and 0 guests.
Today 0 registered users and 0 guests were already online.

Now online


TypoGento has 231 registered user, 112 topics and 184 answers. On average 0.31 posts are written per day.