[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.

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

Postby jscholtysik on Fri May 16, 2008 11:46

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 May 19, 2008 06:37, edited 1 time in total.
********************************************************
Was wir alleine nicht schaffen, das schaffen wir dann zusammen... oder auch nicht
********************************************************
User avatar
jscholtysik
 
Posts: 847
Joined: Fri Jan 07, 2005 12:55
Location: Munich

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

Postby DF6IH on Fri May 16, 2008 16:16

Hey Joachim,

this happened in backend ?`
http://www.phpwcms-docu.de/download-dev-versions.phtml --> playing 312
http://jgbm.de/bensheim_2009.phtml Wir haben uns getroffen und die Freude am CMS ist wieder steil gestiegen, Bilder folgen !!
How to code my own Module? -> http://jgbm.de/Module-creation-guide-1.phtml
User avatar
DF6IH
 
Posts: 2681
Joined: Mon Jan 10, 2005 17:10
Location: Hoffenheim (fast)

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

Postby jscholtysik on Fri May 16, 2008 20:14

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
********************************************************
Was wir alleine nicht schaffen, das schaffen wir dann zusammen... oder auch nicht
********************************************************
User avatar
jscholtysik
 
Posts: 847
Joined: Fri Jan 07, 2005 12:55
Location: Munich

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

Postby Cipolla on Sat May 17, 2008 07:04

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

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

Postby jscholtysik on Mon May 19, 2008 06:36

Thanks,


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


Joachim
********************************************************
Was wir alleine nicht schaffen, das schaffen wir dann zusammen... oder auch nicht
********************************************************
User avatar
jscholtysik
 
Posts: 847
Joined: Fri Jan 07, 2005 12:55
Location: Munich


Return to phpwcms Modules English

Who is online

Users browsing this forum: Alexa [Bot] and 0 guests