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

Get help with installation and running official modules for phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
jscholtysik

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

Post 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
Last edited by jscholtysik on Mon 19. May 2008, 08:37, edited 1 time in total.
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

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

Post by juergen »

Hey Joachim,

this happened in backend ?`
jscholtysik

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

Post 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
User avatar
Cipolla
Posts: 451
Joined: Sat 16. Feb 2008, 20:39
Location: Muppet Show

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

Post 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'
...
jscholtysik

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

Post 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
Post Reply