witrin / TypoGento

Integrating Magento with TYPO3.
15 stars 3 forks source link

Immediate redirect to Magento root #33

Open arnekolja opened 11 years ago

arnekolja commented 11 years ago

Hey there,

I am struggling with TYPO3-side configuration and cannot seem to get the generic routes (tried quite a few setups, now sticking with https://gist.github.com/witrin/3220650) running.

There were mainly two errors. One saying that the dispatch route is not configured properly and now with the gist mentioned above there is no error shown, but I get redirected to the shop whenever opening a page that contains the TypoGento plugin.

Do you have any idea on how to resolve this?

witrin commented 11 years ago

I've not tested ever the old plugin with TYPO3 6. To check what your routing setup is producing place echo 'Dispatch URL: ' . $this->_url; right after this. I vaguely remember this kind of a problem but not the solution. A debugger might be helpful.

In addition, I am very sad that I can not publish the latest version of TypoGento that supports beside Extbase and namespaces also a one-click setup, since I still lack the synchronization and authentication of accounts, and I can not find the time to finish this off nether anyone would like to help. Especially a useful concept for the synchronization doesn't exist and the master-master replication is too complex to implement.

arnekolja commented 11 years ago

By "the old plugin" you mean before your non-published extbase revamp?

I will try debugging it this way and come back here.

witrin commented 11 years ago

Yes, respectively the latest revision from the development branch.

arnekolja commented 11 years ago

The result of your tip above is Dispatch URL: /catalog/category/view/id/37/?. Seems correct to me. Nevertheless it is redirecting me to http://www.myshop.com/.

witrin commented 11 years ago

The problem was caused by the configuration of Magento and must be considered in the Documentation. In the backend of Magento System > Configuration > Web > Auto-redirect to Base URL must be set to No.