Page 1 of 1

[SOLVED] Error with shop module and dbcon.inc.php

Posted: Fri 16. May 2008, 13:46
by jscholtysik
Hi,


while studying the modules in r179, an error occured in the settings tab of the shop module:

{STATUS_MESSAGE}
Fatal error: _setConfig failed in /www/htdocs/w008e091/include/inc_lib/dbcon.inc.php on line 513


the corresponding lines 512-513 say:

if ( ! _dbInsertOrUpdate('phpwcms_sysvalue', $data) ) {
trigger_error("_setConfig failed", E_USER_ERROR);

Has anyone an idea, why this error occured?

It was a fresh installation of r179...


Thanks in advance.


Joachim

Re: Error with shop module and dbcon.inc.php

Posted: Fri 16. May 2008, 18:16
by juergen
Hey Joachim,

this happened in backend ?`

Re: Error with shop module and dbcon.inc.php

Posted: Fri 16. May 2008, 22:14
by jscholtysik
Hi Jürgen,

yes, in the backend. At my testsite i did an upgrade from r150 to r179 and here the error did not appear, only in the fresh installation of r179. Strange!?!

Joachim

Re: Error with shop module and dbcon.inc.php

Posted: Sat 17. May 2008, 09:04
by Cipolla
i am not shure if this is relevant, but first check the config:
$phpwcms['SESSION_FEinit'] = 1; // set 1 to enable sessions in frontend, 0 to disable sessions in frontend
i mean this is not enabled by default.

Check if all shop tables are created --> 'phpwcms_sysvalue'

Re: Error with shop module and dbcon.inc.php

Posted: Mon 19. May 2008, 08:36
by jscholtysik
Thanks,


I have deleted the table "phpwcms_sysvalue" and have created it new and then the error message did not appear anymore.


Joachim