As you can see, from this line: $sArtTable = _getViewName(âoxarticlesâ); -> oxarticles table exists in my database and is filled.
But I am receiving this error all the time:
[exception] [type OxidEsales\Eshop\Core\Exception\DatabaseErrorException] [code 1064] [file /var/www/html/oxid6/oxideshop_ce/source/Core/Database/Adapter/Doctrine/Database.php] [line 947] [message You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near âfrom where 1 and .oxid = âoxexportââ at line 1]
So, there is âoxarticlesâ table and itâs not empty.
i never said oxarticles table would be empty, i said your variable $sArtTable that is supposed to contain the view name of oxarticles is empty.
Just var_dump($sArtTable) and see whats inside. If its empty, then obviously _getViewName(âoxarticlesâ); is not woking
var_dump is not displaying nothing because when module is activated the shop is going offline.
I also changed _getViewName to getViewName but I am still receiving the same error.