# Problem with aViewData

**URL:** <https://forum.oxid-esales.com/t/problem-with-aviewdata/92645>\
**Category:** English forums\
**Tags:** dev-talk\
**Created:** [December 7, 2017, 9:00am UTC](https://forum.oxid-esales.com/t/problem-with-aviewdata/92645 "2017-12-07T09:00:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![OXIDJOSE](https://forum.oxid-esales.com/letter_avatar_proxy/v4/letter/o/c89c15/32.png) [@OXIDJOSE](https://forum.oxid-esales.com/u/OXIDJOSE)\
**Post date:** [December 7, 2017, 9:00am UTC](https://forum.oxid-esales.com/t/problem-with-aviewdata/92645/1 "2017-12-07T09:00:26Z")

</div>

Hello All,

Is there a replacement for

$soxId = $this-\>\_aViewData[“oxid”] = “oxexport”;

I get some error with “oxexport”

[code 1064] [file /var/www/html/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]

---

<div class="post-metadata">

**Author:** ![leofonic](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/leofonic/32/58_2.png) [@leofonic](https://forum.oxid-esales.com/u/leofonic)\
**Post date:** [December 7, 2017, 9:05am UTC](https://forum.oxid-esales.com/t/problem-with-aviewdata/92645/2 "2017-12-07T09:05:55Z")

</div>

> [@OXIDJOSE](#):
>
> and .oxid

The dot before oxid, there probably is a tablename missing.

---

<div class="post-metadata">

**Author:** ![system](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/system/32/4245_2.png) [@system](https://forum.oxid-esales.com/u/system)\
**Post date:** [July 13, 2026, 7:41pm UTC](https://forum.oxid-esales.com/t/problem-with-aviewdata/92645/3 "2026-07-13T19:41:26Z")

</div>

Closed on July 13, 2026, 7:41pm UTC


