Re: [oxid-dev-general] Can't remove old module entries

2016-04-04 Thread Alexander Scheider
Hello Robin,

thank you for your answer.
The problem is already solved.
I found entries in the config.inc.php file, which were made in old shop in 
2012:)
$this->aModules['oxutilsfile'] = 'ffb/core/ffb_oxutilsfile';
$this->aModules['oxutilspic'] = 'ffb/core/ffb_oxutilspic';
$this->aModules['oxuserbasket'] = 'ffb/core/ffb_oxuserbasket';
So after removing the modules from database and open the shop url, aModules 
were saved again in oxconfig.
It was realy annoying to figure out the problem:)
Thanks all for the help and advices.
Stay clear and use always metadata for the module entries;)

Kind regards,
Alexander Scheider

-Ursprüngliche Nachricht-
Von: dev-general-boun...@lists.oxidforge.org 
[mailto:dev-general-boun...@lists.oxidforge.org] Im Auftrag von Robin Lehrmann
Gesendet: Montag, 4. April 2016 08:41
An: dev-general@lists.oxidforge.org
Betreff: Re: [oxid-dev-general] Can't remove old module entries

Hi Alexander,

we use a custom clean-up-script to ensure to have a clean shop config: 
https://github.com/renzelagentur/oxid-cleanup-scripts

I hope this can help you.

Cheers,
Robin
___
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general
___
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general


Re: [oxid-dev-general] Can't remove old module entries

2016-04-03 Thread Robin Lehrmann

Hi Alexander,

we use a custom clean-up-script to ensure to have a clean shop config: 
https://github.com/renzelagentur/oxid-cleanup-scripts


I hope this can help you.

Cheers,
Robin
___
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general


Re: [oxid-dev-general] Can't remove old module entries

2016-03-30 Thread Keywan Ghadami
Hi Alexander,

there are some known issues, that will prevent the oxid shop or the oxid 
console from fixing some module configuration problems (e.g. 
https://github.com/OXID-eSales/oxideshop_ce/pull/333/files),
but if you have delete the module, deleted the database config and cleared the 
cache it cannot be (or least I cannot think of a way) that these entries still 
appear in the backend.

So I guess some step in your workflow went wrong, most likely deleting the 
cache (it sometimes fail because of wrong user/rights)
Best regards

Keywan



Keywan Ghadami
Software-Entwickler Professional Services

keywan.ghad...@oxid-esales.com<mailto:keywan.ghad...@oxid-esales.com>
Fon +49 761 36889-235
Fax +49 761 36889-29
www.oxid-esales.com<http://www.oxid-esales.com?campaign=emailsignatur/oxid-esales-com&adword=OXSIG_Startseite>


[OXID Commons]<http://www.oxid-commons.de/>

OXID Commons 2016
02.06.2016, Freiburg
www.oxid-commons.de<http://www.oxid-commons.de/>


OXID eSales AG
Bertoldstraße 48
79098 Freiburg
Deutschland

Vorstand: Roland Fesenmayr (Vorsitzender), Dr. Marcus Klosterberg
Vorsitzender des Aufsichtsrats: Michael Schlenk, Sitz: Freiburg
Amtsgericht Freiburg i. Br., HRB 701648, USt-IdNr.: DE231450866

Von: dev-general-boun...@lists.oxidforge.org 
[mailto:dev-general-boun...@lists.oxidforge.org] Im Auftrag von Alexander 
Scheider
Gesendet: Mittwoch, 30. März 2016 15:00
An: dev-general@lists.oxidforge.org
Betreff: Re: [oxid-dev-general] Can't remove old module entries

Hello André,

yes, here is the workflow:
logout from the shop(clear cookies, cache).
delete all module entrties from database oxconfig table.
clear /tmp folder
Login into the shop, go to Extensions -> Modules, still have those entries in 
modules overview.
Yes it’s really weird, i never had such a problem before.

Kind regards,
Alexander Scheider

Von: 
dev-general-boun...@lists.oxidforge.org<mailto:dev-general-boun...@lists.oxidforge.org>
 [mailto:dev-general-boun...@lists.oxidforge.org] Im Auftrag von André 
Gregor-Herrmann
Gesendet: Mittwoch, 30. März 2016 14:14
An: dev-general@lists.oxidforge.org<mailto:dev-general@lists.oxidforge.org>
Betreff: Re: [oxid-dev-general] Can't remove old module entries


Hi ALexander,



did you clear tmp after removing module entries of oxconfig?



Just to be sure. Otherwise this is really weird :-D



Best



André



Am Mittwoch, 30. März 2016, 11:47:00 schrieb Alexander Scheider:

> Hello André,

>

> no it’s not production system.

> After execution of your statement i still have those classes in all module

> extends.

Here example export of trosofortueberweisung:

> "_OXID_ESHOP_MODULES_CONFIGURATION_": {

> "sShopVersion": "5.2.7",

> "sShopEdition": "EE",

> "sShopId": 1,

> "aModules": {

> "trosofortueberweisung": {

> "version": null,

> "extend": {

> "oxutilsfile": "ffb\/core\/ffb_oxutilsfile",

> "oxutilspic": "ffb\/core\/ffb_oxutilspic",

> "oxuserbasket": "ffb\/core\/ffb_oxuserbasket"

> },

> "files": null,

> "templates": null,

> "blocks": [],

> "settings": [

> {

> "OXVARNAME": "iTroGatewayCanceledOrders",

> "OXVARTYPE": "select",

> "OXVARVALUE": "0"

> },

> {

> "OXVARNAME": "sTroGatewayConfKey",

> "OXVARTYPE": "str",

> "OXVARVALUE": ""

> },

> {

> "OXVARNAME": "sTroGatewayReason",

> "OXVARTYPE": "str",

> "OXVARVALUE": "Bestellnr. [BSTNR]"

> },

> {

> "OXVARNAME": "sTroGatewayReason2",

> "OXVARTYPE": "str",

> "OXVARVALUE": "[SHP]"

> }

> ],

> "events": null

> },

>

> Kind regards,

> Alexander Scheider

>

> Von: 
> dev-general-boun...@lists.oxidforge.org<mailto:dev-general-boun...@lists.oxidforge.org>

> [mailto:dev-general-boun...@lists.oxidforge.org] Im Auftrag von André

> Gregor-Herrmann

Gesendet: Mittwoch, 30. März 2016 13:30

> An: dev-general@lists.oxidforge.org<mailto:dev-general@lists.oxidforge.org>

> Betreff: Re: [oxid-dev-general] Can't remove old module entries

>

>

> Hi Alexander,

>

>

>

> in case its not a productive system and you just want to get rid of these

> module entries, you can simply do that via database (Backup of oxconfig

> recommended ;-) ).

>

>

> DELETE FROM oxconfig WHERE OXVARNAME LIKE '%module%'

>

>

>

> After performing this query all Modules in all subshops should be inactive

> and you 

Re: [oxid-dev-general] Can't remove old module entries

2016-03-30 Thread Alexander Scheider
Hello André,

yes, here is the workflow:
logout from the shop(clear cookies, cache).
delete all module entrties from database oxconfig table.
clear /tmp folder
Login into the shop, go to Extensions -> Modules, still have those entries in 
modules overview.
Yes it’s really weird, i never had such a problem before.

Kind regards,
Alexander Scheider

Von: dev-general-boun...@lists.oxidforge.org 
[mailto:dev-general-boun...@lists.oxidforge.org] Im Auftrag von André 
Gregor-Herrmann
Gesendet: Mittwoch, 30. März 2016 14:14
An: dev-general@lists.oxidforge.org
Betreff: Re: [oxid-dev-general] Can't remove old module entries


Hi ALexander,



did you clear tmp after removing module entries of oxconfig?



Just to be sure. Otherwise this is really weird :-D



Best



André



Am Mittwoch, 30. März 2016, 11:47:00 schrieb Alexander Scheider:

> Hello André,

>

> no it’s not production system.

> After execution of your statement i still have those classes in all module

> extends.

Here example export of trosofortueberweisung:

> "_OXID_ESHOP_MODULES_CONFIGURATION_": {

> "sShopVersion": "5.2.7",

> "sShopEdition": "EE",

> "sShopId": 1,

> "aModules": {

> "trosofortueberweisung": {

> "version": null,

> "extend": {

> "oxutilsfile": "ffb\/core\/ffb_oxutilsfile",

> "oxutilspic": "ffb\/core\/ffb_oxutilspic",

> "oxuserbasket": "ffb\/core\/ffb_oxuserbasket"

> },

> "files": null,

> "templates": null,

> "blocks": [],

> "settings": [

> {

> "OXVARNAME": "iTroGatewayCanceledOrders",

> "OXVARTYPE": "select",

> "OXVARVALUE": "0"

> },

> {

> "OXVARNAME": "sTroGatewayConfKey",

> "OXVARTYPE": "str",

> "OXVARVALUE": ""

> },

> {

> "OXVARNAME": "sTroGatewayReason",

> "OXVARTYPE": "str",

> "OXVARVALUE": "Bestellnr. [BSTNR]"

> },

> {

> "OXVARNAME": "sTroGatewayReason2",

> "OXVARTYPE": "str",

> "OXVARVALUE": "[SHP]"

> }

> ],

> "events": null

> },

>

> Kind regards,

> Alexander Scheider

>

> Von: dev-general-boun...@lists.oxidforge.org

> [mailto:dev-general-boun...@lists.oxidforge.org] Im Auftrag von André

> Gregor-Herrmann

Gesendet: Mittwoch, 30. März 2016 13:30

> An: dev-general@lists.oxidforge.org

> Betreff: Re: [oxid-dev-general] Can't remove old module entries

>

>

> Hi Alexander,

>

>

>

> in case its not a productive system and you just want to get rid of these

> module entries, you can simply do that via database (Backup of oxconfig

> recommended ;-) ).

>

>

> DELETE FROM oxconfig WHERE OXVARNAME LIKE '%module%'

>

>

>

> After performing this query all Modules in all subshops should be inactive

> and you can activate them again.

>

>

> Hope it does the job for you.

>

>

>

> Cheers

>

>

>

> André

>

>

>

> Am Mittwoch, 30. März 2016, 11:03:11 schrieb Alexander Scheider:

>

>

> > Hi folks,

>

>

>

> >

>

>

>

> > I'm using OXID EE 5.2.7 and have a problem with old module entries which

>

>

>

> > can't be deleted in OXID backend or database. Every time by clicking on

>

>

>

> > Extensions -> Modules i get following list:

>

>

>

> >

>

>

>

> > [cid:image002.jpg@01D18A84.823395F0]

>

>

>

> >

>

>

>

> > After click on yes i see the list with all installed modules, but if i

> > enter

>

>

> > the modules next time, the dialog appears again. I have got already tried

>

>

>

> > to reset the modules from oxconfig with

>

>

>

> > UPDATE `oxconfig` SET `OXVARVALUE` =

>

>

>

> > 0x4dba322c774f5444a5777125d61918a96e9e65e1b8fba2e9f6f8ff4e240b745241e4b01e

> > d

>

>

> > d9224c81f3020f58a2d WHERE `OXVARNAME` = 'aModules'

>

>

>

> >

>

>

>

> > Or to remove all informations with:

>

>

>

> >

>

>

>

> > delete from oxconfig where oxvarname in (

>

>

>

> >

>

>

>

> > 'aDisabledModules',

>

>

>

> >

>

>

>

> > 'aLegacyModules',

>

>

>

> >

>

>

>

> > 'aModuleFiles',

>

>

>

> >

Re: [oxid-dev-general] Can't remove old module entries

2016-03-30 Thread André Gregor-Herrmann
Hi ALexander, 

did you clear tmp after removing module entries of oxconfig?

Just to be sure. Otherwise this is really weird :-D

Best

André

Am Mittwoch, 30. März 2016, 11:47:00 schrieb Alexander Scheider:
> Hello André,
> 
> no it’s not production system.
> After execution of your statement i still have those classes in all module
> extends.
 Here example export of trosofortueberweisung:
> "_OXID_ESHOP_MODULES_CONFIGURATION_": {
> "sShopVersion": "5.2.7",
> "sShopEdition": "EE",
> "sShopId": 1,
> "aModules": {
> "trosofortueberweisung": {
> "version": null,
> "extend": {
> "oxutilsfile": "ffb\/core\/ffb_oxutilsfile",
> "oxutilspic": "ffb\/core\/ffb_oxutilspic",
> "oxuserbasket": "ffb\/core\/ffb_oxuserbasket"
> },
> "files": null,
> "templates": null,
> "blocks": [],
> "settings": [
> {
> "OXVARNAME": "iTroGatewayCanceledOrders",
> "OXVARTYPE": "select",
> "OXVARVALUE": "0"
> },
> {
> "OXVARNAME": "sTroGatewayConfKey",
> "OXVARTYPE": "str",
> "OXVARVALUE": ""
> },
> {
> "OXVARNAME": "sTroGatewayReason",
> "OXVARTYPE": "str",
> "OXVARVALUE": "Bestellnr. [BSTNR]"
> },
> {
> "OXVARNAME": "sTroGatewayReason2",
> "OXVARTYPE": "str",
> "OXVARVALUE": "[SHP]"
> }
> ],
> "events": null
> },
> 
> Kind regards,
> Alexander Scheider
> 
> Von: dev-general-boun...@lists.oxidforge.org
> [mailto:dev-general-boun...@lists.oxidforge.org] Im Auftrag von André
> Gregor-Herrmann
 Gesendet: Mittwoch, 30. März 2016 13:30
> An: dev-general@lists.oxidforge.org
> Betreff: Re: [oxid-dev-general] Can't remove old module entries
> 
> 
> Hi Alexander,
> 
> 
> 
> in case its not a productive system and you just want to get rid of these
> module entries, you can simply do that via database (Backup of oxconfig
> recommended ;-) ).
 
> 
> 
> DELETE FROM oxconfig WHERE OXVARNAME LIKE '%module%'
> 
> 
> 
> After performing this query all Modules in all subshops should be inactive
> and you can activate them again.
 
> 
> 
> Hope it does the job for you.
> 
> 
> 
> Cheers
> 
> 
> 
> André
> 
> 
> 
> Am Mittwoch, 30. März 2016, 11:03:11 schrieb Alexander Scheider:
> 
> 
> > Hi folks,
> 
> 
> 
> >
> 
> 
> 
> > I'm using OXID EE 5.2.7 and have a problem with old module entries which
> 
> 
> 
> > can't be deleted in OXID backend or database. Every time by clicking on
> 
> 
> 
> > Extensions -> Modules i get following list:
> 
> 
> 
> >
> 
> 
> 
> > [cid:image002.jpg@01D18A84.823395F0]
> 
> 
> 
> >
> 
> 
> BEGIN:VCARD
ADR;TYPE=pref;TYPE=work:;;Helmholtzstraße 2-9;Berlin;Berlin;10587;Deutschl
 and
BDAY:1978-12-07
EMAIL:andre.herrm...@fatchip.de
FN:André Gregor-Herrmann
N:Gregor-Herrmann;André;;;
ORG:Fatchip GmbH;Entwicklung
TEL;TYPE=WORK:030 / 39 88 93 51
UID:Qw6xRQtAGY
URL:http://www.fatchip.de
VERSION:3.0
X-KADDRESSBOOK-MailAllowToRemoteContent:TRUE
X-KADDRESSBOOK-X-Profession:Technischer Leiter
END:VCARD

___
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general

Re: [oxid-dev-general] Can't remove old module entries

2016-03-30 Thread Alexander Scheider
Hello Frank,

i cleared /tmp folder after removing modules from oxconfig.
I also cleared all browser cache and cookies.
The entries are still there.

Kind regards,
Alexander Scheider


Von: dev-general-boun...@lists.oxidforge.org 
[mailto:dev-general-boun...@lists.oxidforge.org] Im Auftrag von Frank Zunderer
Gesendet: Mittwoch, 30. März 2016 14:06
An: dev-general@lists.oxidforge.org
Betreff: Re: [oxid-dev-general] Can't remove old module entries

Hi Alexander,

Module config is also cached in /tmp

Greets,
Frank


Von: dev-general-boun...@lists.oxidforge.org 
[mailto:dev-general-boun...@lists.oxidforge.org] Im Auftrag von Alexander 
Scheider
Gesendet: Mittwoch, 30. März 2016 13:21
An: dev-general@lists.oxidforge.org
Betreff: Re: [oxid-dev-general] Can't remove old module entries

Hello Alexander,

thank you for your answer.
the ffb/metadata.php file does not exists anymore. It is old module which is 
was removed on shop update.
The old module had no invalid entries and worked pretty well with OXID EE 4.6.3
The metadata of old module contains classes which can't be removed:
'oxutilsfile' => 'ffb/core/ffb_oxutilsfile',
'oxutilspic'  => 'ffb/core/ffb_oxutilspic',
'oxuserbasket'=>  'ffb/core/ffb_oxuserbasket'

I don't know, maybe is there any another database table except oxconfig which 
contains module entries.
I mean after removing of aModules from oxconfig, where can those broken entries 
be stored?

Kind regards,
Alexander Scheider



Von: 
dev-general-boun...@lists.oxidforge.org<mailto:dev-general-boun...@lists.oxidforge.org>
 [mailto:dev-general-boun...@lists.oxidforge.org] Im Auftrag von Alex Schwarz
Gesendet: Mittwoch, 30. März 2016 13:09
An: dev-general@lists.oxidforge.org<mailto:dev-general@lists.oxidforge.org>
Betreff: Re: [oxid-dev-general] Can't remove old module entries

Hi Alexander,

did you check the ffb/metadata.php for invalid entries? There could be an 
old/invalid entry, maybe you reference a file there that does no longer exists?

If you are using PHPStorm with the OXID Plugin enabled, you will have syntax 
support for metadata.php!

Best regards
--

Alexander Schwarz
Senior Web Developer


[cid:image001.jpg@01D18A8E.4892BBA0]

active value GmbH
Benzenbergstraße 39-47
40219 Düsseldorf

Telefon: +49 (0)211-749 505 15
Telefax: +49 (0)211 749 505 99

E-Mail:   alex.schw...@active-value.de<mailto:alex.schw...@active-value.de>
Internet: www.active-value.de<http://www.active-value.de>

HRB 55441, Amtsgericht Düsseldorf
Geschäftsführer: Antonius Klees, Alexander Pisculla

P Please consider the environment before printing this email

[cid:image002.jpg@01D18A8E.4892BBA0]
Alexander Scheider<mailto:alexander.schei...@4fb.de>
30. März 2016 um 13:03
Hi folks,

I'm using OXID EE 5.2.7 and  have a problem with old module entries which can't 
be deleted in OXID backend or database.
Every time by clicking on Extensions -> Modules i get following list:

[cid:image003.jpg@01D18A8E.4892BBA0]

After click on yes i see the list with all installed modules, but if i enter 
the modules next time,  the dialog appears again.
I have got already tried to reset the modules from oxconfig with
UPDATE `oxconfig` SET `OXVARVALUE` = 
0x4dba322c774f5444a5777125d61918a96e9e65e1b8fba2e9f6f8ff4e240b745241e4b01edd9224c81f3020f58a2d
 WHERE `OXVARNAME` = 'aModules'

Or to remove all informations with:
delete from oxconfig where oxvarname in (
'aDisabledModules',
'aLegacyModules',
'aModuleFiles',
'aModulePaths',
'aModules',
'aModuleTemplates'
);

I also tried to export config with 
https://github.com/druteika/oxid_modules_config module.
In every extend of all modules i have those old entries:
"oxutilsfile": "ffb\/core\/ffb_oxutilsfile",
 "oxutilspic": "ffb\/core\/ffb_oxutilspic",
 "oxuserbasket": "ffb\/core\/ffb_oxuserbasket"

Modification of json-file and reimport of configuration didn't helped. After 
import of the configuration, open Extensions  -> Modules and export of config 
again, the entries are added again to the extend array.

OXID-Console command had also no luck: php oxid fix:states -all

Does anyone have any advice how to fix this problem.


Kind regards,
Alexander Scheider

___
dev-general mailing list
dev-general@lists.oxidforge.org<mailto:dev-general@lists.oxidforge.org>
http://dir.gmane.org/gmane.comp.php.oxid.general
___
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general

Re: [oxid-dev-general] Can't remove old module entries

2016-03-30 Thread Frank Zunderer
Hi Alexander,

 

Module config is also cached in /tmp

 

Greets,

Frank

 

 

Von: dev-general-boun...@lists.oxidforge.org
[mailto:dev-general-boun...@lists.oxidforge.org] Im Auftrag von Alexander
Scheider
Gesendet: Mittwoch, 30. März 2016 13:21
An: dev-general@lists.oxidforge.org
Betreff: Re: [oxid-dev-general] Can't remove old module entries

 

Hello Alexander,

 

thank you for your answer.

the ffb/metadata.php file does not exists anymore. It is old module which is
was removed on shop update.

The old module had no invalid entries and worked pretty well with OXID EE
4.6.3

The metadata of old module contains classes which can’t be removed:

'oxutilsfile' => 'ffb/core/ffb_oxutilsfile',

'oxutilspic'  => 'ffb/core/ffb_oxutilspic',

'oxuserbasket'=>  'ffb/core/ffb_oxuserbasket'

 

I don’t know, maybe is there any another database table except oxconfig
which contains module entries.

I mean after removing of aModules from oxconfig, where can those broken
entries be stored?

 

Kind regards,

Alexander Scheider

 

 

 

Von: dev-general-boun...@lists.oxidforge.org
[mailto:dev-general-boun...@lists.oxidforge.org] Im Auftrag von Alex Schwarz
Gesendet: Mittwoch, 30. März 2016 13:09
An: dev-general@lists.oxidforge.org
Betreff: Re: [oxid-dev-general] Can't remove old module entries

 

Hi Alexander,

did you check the ffb/metadata.php for invalid entries? There could be an
old/invalid entry, maybe you reference a file there that does no longer
exists?

If you are using PHPStorm with the OXID Plugin enabled, you will have syntax
support for metadata.php!

Best regards

-- 

Alexander Schwarz
Senior Web Developer




active value GmbH
Benzenbergstraße 39-47
40219 Düsseldorf

Telefon: +49 (0)211-749 505 15
Telefax: +49 (0)211 749 505 99

E-Mail:   alex.schw...@active-value.de
Internet: www.active-value.de

HRB 55441, Amtsgericht Düsseldorf
Geschäftsführer: Antonius Klees, Alexander Pisculla

P Please consider the environment before printing this email







 <mailto:alexander.schei...@4fb.de> Alexander Scheider

30. März 2016 um 13:03

Hi folks,

 

I’m using OXID EE 5.2.7 and  have a problem with old module entries which
can’t be deleted in OXID backend or database.

Every time by clicking on Extensions -> Modules i get following list:

 



 

After click on yes i see the list with all installed modules, but if i enter
the modules next time,  the dialog appears again.

I have got already tried to reset the modules from oxconfig with

UPDATE `oxconfig` SET `OXVARVALUE` =
0x4dba322c774f5444a5777125d61918a96e9e65e1b8fba2e9f6f8ff4e240b745241e4b01edd
9224c81f3020f58a2d WHERE `OXVARNAME` = 'aModules'

 

Or to remove all informations with:

delete from oxconfig where oxvarname in (

'aDisabledModules',

'aLegacyModules',

'aModuleFiles',

'aModulePaths',

'aModules',

'aModuleTemplates'

);

 

I also tried to export config with
https://github.com/druteika/oxid_modules_config module.

In every extend of all modules i have those old entries:

"oxutilsfile": "ffb\/core\/ffb_oxutilsfile",

 "oxutilspic": "ffb\/core\/ffb_oxutilspic",

 "oxuserbasket": "ffb\/core\/ffb_oxuserbasket"

 

Modification of json-file and reimport of configuration didn't helped. After
import of the configuration, open Extensions  -> Modules and export of
config again, the entries are added again to the extend array.

 

OXID-Console command had also no luck: php oxid fix:states –all

 

Does anyone have any advice how to fix this problem.

 

 

Kind regards,

Alexander Scheider

 

___
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general

___
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general

Re: [oxid-dev-general] Can't remove old module entries

2016-03-30 Thread Alexander Scheider
Hello André,

no it’s not production system.
After execution of your statement i still have those classes in all module 
extends.
Here example export of trosofortueberweisung:
"_OXID_ESHOP_MODULES_CONFIGURATION_": {
"sShopVersion": "5.2.7",
"sShopEdition": "EE",
"sShopId": 1,
"aModules": {
"trosofortueberweisung": {
"version": null,
"extend": {
"oxutilsfile": "ffb\/core\/ffb_oxutilsfile",
"oxutilspic": "ffb\/core\/ffb_oxutilspic",
"oxuserbasket": "ffb\/core\/ffb_oxuserbasket"
},
"files": null,
"templates": null,
"blocks": [],
"settings": [
{
"OXVARNAME": "iTroGatewayCanceledOrders",
"OXVARTYPE": "select",
"OXVARVALUE": "0"
},
{
"OXVARNAME": "sTroGatewayConfKey",
"OXVARTYPE": "str",
"OXVARVALUE": ""
},
{
"OXVARNAME": "sTroGatewayReason",
"OXVARTYPE": "str",
"OXVARVALUE": "Bestellnr. [BSTNR]"
},
{
"OXVARNAME": "sTroGatewayReason2",
"OXVARTYPE": "str",
            "OXVARVALUE": "[SHP]"
}
],
"events": null
},

Kind regards,
Alexander Scheider

Von: dev-general-boun...@lists.oxidforge.org 
[mailto:dev-general-boun...@lists.oxidforge.org] Im Auftrag von André 
Gregor-Herrmann
Gesendet: Mittwoch, 30. März 2016 13:30
An: dev-general@lists.oxidforge.org
Betreff: Re: [oxid-dev-general] Can't remove old module entries


Hi Alexander,



in case its not a productive system and you just want to get rid of these 
module entries, you can simply do that via database (Backup of oxconfig 
recommended ;-) ).



DELETE FROM oxconfig WHERE OXVARNAME LIKE '%module%'



After performing this query all Modules in all subshops should be inactive and 
you can activate them again.



Hope it does the job for you.



Cheers



André



Am Mittwoch, 30. März 2016, 11:03:11 schrieb Alexander Scheider:

> Hi folks,

>

> I'm using OXID EE 5.2.7 and have a problem with old module entries which

> can't be deleted in OXID backend or database. Every time by clicking on

> Extensions -> Modules i get following list:

>

> [cid:image002.jpg@01D18A84.823395F0]

>

> After click on yes i see the list with all installed modules, but if i enter

> the modules next time, the dialog appears again. I have got already tried

> to reset the modules from oxconfig with

> UPDATE `oxconfig` SET `OXVARVALUE` =

> 0x4dba322c774f5444a5777125d61918a96e9e65e1b8fba2e9f6f8ff4e240b745241e4b01ed

> d9224c81f3020f58a2d WHERE `OXVARNAME` = 'aModules'

>

> Or to remove all informations with:

>

> delete from oxconfig where oxvarname in (

>

> 'aDisabledModules',

>

> 'aLegacyModules',

>

> 'aModuleFiles',

>

> 'aModulePaths',

>

> 'aModules',

>

> 'aModuleTemplates'

>

> );

>

> I also tried to export config with

> https://github.com/druteika/oxid_modules_config module. In every extend of

> all modules i have those old entries:

> "oxutilsfile": "ffb\/core\/ffb_oxutilsfile",

> "oxutilspic": "ffb\/core\/ffb_oxutilspic",

> "oxuserbasket": "ffb\/core\/ffb_oxuserbasket"

>

> Modification of json-file and reimport of configuration didn't helped. After

> import of the configuration, open Extensions -> Modules and export of

> config again, the entries are added again to the extend array.

>

> OXID-Console command had also no luck: php oxid fix:states -all

>

> Does anyone have any advice how to fix this problem.

>

>

> Kind regards,

> Alexander Scheider

--

André Herrrmann
Technischer Leiter

mail [ andre.herrm...@fatchip.de<mailto:andre.herrm...@fatchip.de> ]
web [ www.fatchip.de<http://www.fatchip.de> ]

FATCHIP [ GmbH ] | sitz [ Helmholtzstrasse 2-9 | 10587 Berlin ] | fon [ 030.39 
88 93 51 ] | f

Re: [oxid-dev-general] Can't remove old module entries

2016-03-30 Thread André Gregor-Herrmann
Hi Alexander,

in case its not a productive system and you just want to get rid of these 
module 
entries, you can simply do that via database (Backup of oxconfig recommended 
;-) ).

DELETE FROM oxconfig WHERE OXVARNAME LIKE '%module%'

After performing this query all Modules in all subshops should be inactive and 
you can 
activate them again.

Hope it does the job for you.

Cheers

André

Am Mittwoch, 30. März 2016, 11:03:11 schrieb Alexander Scheider:
> Hi folks,
> 
> I'm using OXID EE 5.2.7 and  have a problem with old module entries which
> can't be deleted in OXID backend or database. Every time by clicking on
> Extensions -> Modules i get following list:
> 
> [cid:image002.jpg@01D18A84.823395F0]
> 
> After click on yes i see the list with all installed modules, but if i enter
> the modules next time,  the dialog appears again. I have got already tried
> to reset the modules from oxconfig with
> UPDATE `oxconfig` SET `OXVARVALUE` =
> 
0x4dba322c774f5444a5777125d61918a96e9e65e1b8fba2e9f6f8ff4e240b745241e4
b01ed
> d9224c81f3020f58a2d WHERE `OXVARNAME` = 'aModules'
> 
> Or to remove all informations with:
> 
> delete from oxconfig where oxvarname in (
> 
> 'aDisabledModules',
> 
> 'aLegacyModules',
> 
> 'aModuleFiles',
> 
> 'aModulePaths',
> 
> 'aModules',
> 
> 'aModuleTemplates'
> 
> );
> 
> I also tried to export config with
> https://github.com/druteika/oxid_modules_config module. In every extend of
> all modules i have those old entries:
> "oxutilsfile": "ffb\/core\/ffb_oxutilsfile",
>  "oxutilspic": "ffb\/core\/ffb_oxutilspic",
>  "oxuserbasket": "ffb\/core\/ffb_oxuserbasket"
> 
> Modification of json-file and reimport of configuration didn't helped. After
> import of the configuration, open Extensions  -> Modules and export of
> config again, the entries are added again to the extend array.
> 
> OXID-Console command had also no luck: php oxid fix:states -all
> 
> Does anyone have any advice how to fix this problem.
> 
> 
> Kind regards,
> Alexander Scheider


André HerrrmannTechnischer Leiter


*mail* [ andre.herrm...@fatchip.de[1] ]

*web* [ www.fatchip.de[2] ]


*FATCHIP* [ GmbH ] | *sitz* [ Helmholtzstrasse 2-9 | 10587 Berlin ] | *fon* [ 
030.39 88 
93 51 ] | *fax* [ 030.39 88 93 52 ] | *mail* [ kont...@fatchip.de[3] ] | 
*Ust-Id.* [ DE 
265567757 ] | *Amtsgericht* [ Berlin-Charlottenburg ] | *HRB* [120567 B] | 
*Geschäftsführung* [ Dipl.-Ing. Hendrik Bahr ]

Be Smart, Go Green. Don’t print this email unless you really need to. 

André HerrrmannTechnischer Leiter


*mail* [ andre.herrm...@fatchip.de[1] ]

*web* [ www.fatchip.de[2] ]


*FATCHIP* [ GmbH ] | *sitz* [ Helmholtzstrasse 2-9 | 10587 Berlin ] | *fon* [ 
030.39 88 
93 51 ] | *fax* [ 030.39 88 93 52 ] | *mail* [ kont...@fatchip.de[3] ] | 
*Ust-Id.* [ DE 
265567757 ] | *Amtsgericht* [ Berlin-Charlottenburg ] | *HRB* [120567 B] | 
*Geschäftsführung* [ Dipl.-Ing. Hendrik Bahr ]

Be Smart, Go Green. Don’t print this email unless you really need to. 


[1] mailto:andre.herrm...@fatchip.de
[2] http://www.fatchip.de
[3] mailto:kont...@fatchip.de
BEGIN:VCARD
ADR;TYPE=pref;TYPE=work:;;Helmholtzstraße 2-9;Berlin;Berlin;10587;Deutschl
 and
BDAY:1978-12-07
EMAIL:andre.herrm...@fatchip.de
FN:André Gregor-Herrmann
N:Gregor-Herrmann;André;;;
ORG:Fatchip GmbH;Entwicklung
TEL;TYPE=WORK:030 / 39 88 93 51
UID:Qw6xRQtAGY
URL:http://www.fatchip.de
VERSION:3.0
X-KADDRESSBOOK-MailAllowToRemoteContent:TRUE
X-KADDRESSBOOK-X-Profession:Technischer Leiter
END:VCARD

___
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general

Re: [oxid-dev-general] Can't remove old module entries

2016-03-30 Thread Alexander Scheider
Hello Alexander,

thank you for your answer.
the ffb/metadata.php file does not exists anymore. It is old module which is 
was removed on shop update.
The old module had no invalid entries and worked pretty well with OXID EE 4.6.3
The metadata of old module contains classes which can't be removed:
'oxutilsfile' => 'ffb/core/ffb_oxutilsfile',
'oxutilspic'  => 'ffb/core/ffb_oxutilspic',
'oxuserbasket'=>  'ffb/core/ffb_oxuserbasket'

I don't know, maybe is there any another database table except oxconfig which 
contains module entries.
I mean after removing of aModules from oxconfig, where can those broken entries 
be stored?

Kind regards,
Alexander Scheider



Von: dev-general-boun...@lists.oxidforge.org 
[mailto:dev-general-boun...@lists.oxidforge.org] Im Auftrag von Alex Schwarz
Gesendet: Mittwoch, 30. März 2016 13:09
An: dev-general@lists.oxidforge.org
Betreff: Re: [oxid-dev-general] Can't remove old module entries

Hi Alexander,

did you check the ffb/metadata.php for invalid entries? There could be an 
old/invalid entry, maybe you reference a file there that does no longer exists?

If you are using PHPStorm with the OXID Plugin enabled, you will have syntax 
support for metadata.php!

Best regards
--

Alexander Schwarz
Senior Web Developer


[cid:image001.jpg@01D18A86.5090C250]

active value GmbH
Benzenbergstraße 39-47
40219 Düsseldorf

Telefon: +49 (0)211-749 505 15
Telefax: +49 (0)211 749 505 99

E-Mail:   alex.schw...@active-value.de<mailto:alex.schw...@active-value.de>
Internet: www.active-value.de<http://www.active-value.de>

HRB 55441, Amtsgericht Düsseldorf
Geschäftsführer: Antonius Klees, Alexander Pisculla

P Please consider the environment before printing this email



[cid:image002.jpg@01D18A86.5090C250]
Alexander Scheider<mailto:alexander.schei...@4fb.de>
30. März 2016 um 13:03
Hi folks,

I'm using OXID EE 5.2.7 and  have a problem with old module entries which can't 
be deleted in OXID backend or database.
Every time by clicking on Extensions -> Modules i get following list:

[cid:image003.jpg@01D18A86.5090C250]

After click on yes i see the list with all installed modules, but if i enter 
the modules next time,  the dialog appears again.
I have got already tried to reset the modules from oxconfig with
UPDATE `oxconfig` SET `OXVARVALUE` = 
0x4dba322c774f5444a5777125d61918a96e9e65e1b8fba2e9f6f8ff4e240b745241e4b01edd9224c81f3020f58a2d
 WHERE `OXVARNAME` = 'aModules'

Or to remove all informations with:
delete from oxconfig where oxvarname in (
'aDisabledModules',
'aLegacyModules',
'aModuleFiles',
'aModulePaths',
'aModules',
'aModuleTemplates'
);

I also tried to export config with 
https://github.com/druteika/oxid_modules_config module.
In every extend of all modules i have those old entries:
"oxutilsfile": "ffb\/core\/ffb_oxutilsfile",
 "oxutilspic": "ffb\/core\/ffb_oxutilspic",
 "oxuserbasket": "ffb\/core\/ffb_oxuserbasket"

Modification of json-file and reimport of configuration didn't helped. After 
import of the configuration, open Extensions  -> Modules and export of config 
again, the entries are added again to the extend array.

OXID-Console command had also no luck: php oxid fix:states -all

Does anyone have any advice how to fix this problem.


Kind regards,
Alexander Scheider

___
dev-general mailing list
dev-general@lists.oxidforge.org<mailto:dev-general@lists.oxidforge.org>
http://dir.gmane.org/gmane.comp.php.oxid.general
___
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general

Re: [oxid-dev-general] Can't remove old module entries

2016-03-30 Thread Alex Schwarz

Hi Alexander,

did you check the ffb/metadata.php for invalid entries? There could be 
an old/invalid entry, maybe you reference a file there that does no 
longer exists?


If you are using PHPStorm with the OXID Plugin enabled, you will have 
syntax support for metadata.php!


Best regards
--

Alexander Schwarz
Senior Web Developer




active value GmbH
Benzenbergstraße 39-47
40219 Düsseldorf

Telefon: +49 (0)211-749 505 15
Telefax: +49 (0)211 749 505 99

E-Mail:   alex.schw...@active-value.de
Internet: www.active-value.de

HRB 55441, Amtsgericht Düsseldorf
Geschäftsführer: Antonius Klees, Alexander Pisculla

P*Please consider the environment before printing this email*




Alexander Scheider 
30. März 2016 um 13:03

Hi folks,

I'm using OXID EE 5.2.7 and  have a problem with old module entries 
which can't be deleted in OXID backend or database.


Every time by clicking on Extensions -> Modules i get following list:

After click on yes i see the list with all installed modules, but if i 
enter the modules next time,  the dialog appears again.


I have got already tried to reset the modules from oxconfig with

UPDATE `oxconfig` SET `OXVARVALUE` = 
0x4dba322c774f5444a5777125d61918a96e9e65e1b8fba2e9f6f8ff4e240b745241e4b01edd9224c81f3020f58a2d 
WHERE `OXVARNAME` = 'aModules'


Or to remove all informations with:

delete from oxconfig where oxvarname in (
'aDisabledModules',
'aLegacyModules',
'aModuleFiles',
'aModulePaths',
'aModules',
'aModuleTemplates'
);

I also tried to export config with 
https://github.com/druteika/oxid_modules_config module.


In every extend of all modules i have those old entries:

"oxutilsfile": "ffb\/core\/ffb_oxutilsfile",

 "oxutilspic": "ffb\/core\/ffb_oxutilspic",

 "oxuserbasket": "ffb\/core\/ffb_oxuserbasket"

Modification of json-file and reimport of configuration didn't helped. 
After import of the configuration, open Extensions  -> Modules and 
export of config again, the entries are added again to the extend array.


OXID-Console command had also no luck: php oxid fix:states --all

Does anyone have any advice how to fix this problem.

Kind regards,

Alexander Scheider

___
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general
___
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general