Hi Dirk<br><br>I got the same error days ago... ('owncloud.dual')<br><br>I think it is due to an error in a SQL statement in access.php, in the mapComponent(..) method, it says:<br><br>        if($dbtype == 'mysql') {<br>


            $sqlAdjustment = 'FROM `dual`';<br>        }<br><br>And MySQL doc reads: "You are permitted to specify DUAL as a dummy table name in situations where no tables are referenced"[1]. But in this case the table name must be DUAL not `dual`, because it can conflict with a table in the database (the case of "owncloud.dual", where the table not even exist)<br>


<br>I changed the code to:<br><br>        if($dbtype == 'mysql') {<br>            $sqlAdjustment = 'FROM DUAL';<br>        }<br><br>And works for me.<br><br><br>Regards,<br>Manuel Delgado<br><br>[1]<a href="https://dev.mysql.com/doc/refman/5.0/en/select.html" target="_blank">https://dev.mysql.com/doc/refman/5.0/en/select.html</a><br>


<br>-----------------------------------------------------------<br><b>Usuario Linux</b> <i>#<a href="http://counter.li.org/" target="_blank">520940</a></i> <br><br>Bach. Computación e Informática<br>Universidad de Costa Rica<br>


<img src="https://lh4.googleusercontent.com/-j4POoAAfhhk/TmUfmlNMMeI/AAAAAAAAAUU/ZINhqSYOJL4/vCard_ManuelUCR_peque%2525C3%2525B1o.png" height="96" width="96"><br><br><br>
<br><br><div class="gmail_quote">On Thu, Sep 13, 2012 at 6:15 AM, Dirk Kastens <span dir="ltr"><<a href="mailto:dirk.kastens@uni-osnabrueck.de" target="_blank">dirk.kastens@uni-osnabrueck.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I updated the beta3 with the latest fixes from master<br>
<a href="http://owncloud.org/releases/owncloud-4.5.0-beta3.tar.bz2" target="_blank">http://owncloud.org/releases/<u></u>owncloud-4.5.0-beta3.tar.bz2</a><br>
</blockquote></div>
No chance. I always get an HTTP 500 error and the message<br>
<br>
PHP Fatal error:  Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'owncloud.dual' doesn't exist' in /var/www/html/owncloud/lib/db.<u></u>php:696\nStack trace:\n#0 /var/www/html/owncloud/lib/db.<u></u>php(696): PDOStatement->execute(Array)\<u></u>n#1 /var/www/html/owncloud/apps/<u></u>user_ldap/lib/access.php(403): PDOStatementWrapper->execute(<u></u>Array)\n#2 /var/www/html/owncloud/apps/<u></u>user_ldap/lib/access.php(258): OCA\\user_ldap\\lib\\Access-><u></u>mapComponent('cn=ustudent,ou=.<u></u>..', 'ustudent', false)\n#3 /var/www/html/owncloud/apps/<u></u>user_ldap/lib/access.php(317): OCA\\user_ldap\\lib\\Access-><u></u>dn2ocname('cn=ustudent,ou=...'<u></u>, 'ustudent', false)\n#4 /var/www/html/owncloud/apps/<u></u>user_ldap/lib/access.php(295): OCA\\user_ldap\\lib\\Access-><u></u>ldap2ownCloudNames(Array, false)\n#5 /var/www/html/owncloud/apps/<u></u>user_ldap/group_ldap.php(212): OCA\\user_ldap\\lib\\Access-><u></u>ownCloudGroupNames(Array)\n#6 /var/www/html/owncloud/lib/<u></u>group.php(243): OCA\\user_ldap\\GROUP_LDAP-><u></u>getGroups('', -1, 0)\n#7 /var/www/html/owncloud/<u></u>settings/users.php(23): OC_G in /var/www/html/owncloud/lib/db.<u></u>php on line 696<br>



<br>
This message also appears when the owncloud admin user clicks on the "Users" button.<span><font color="#888888"><br>
<br>
Dirk<br>
<br>
</font></span><br>_______________________________________________<br>
Owncloud mailing list<br>
<a href="mailto:Owncloud@kde.org" target="_blank">Owncloud@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/owncloud" target="_blank">https://mail.kde.org/mailman/listinfo/owncloud</a><br>
<br></blockquote></div><br>