"oxideshop-unified-namespace-generator" generates empty files in "oxideshop-unified-namespace-generator/generated/" catalog

Hmmmmm… i have problem…
Probem starts with error like here:
“Class OxidEsales\Eshop\Core\ConfigFile not found in bootstrap.php”
https://docs.oxid-esales.com/developer/en/6.0/oxid_components/unified_namespace_generator.html

I dug a little and noticed that “oxideshop-unified-namespace-generator” doesn’t generate any content of files in folder “/vendor/oxid-esales/oxideshop-unified-namespace-generator/generated/”. It crates folder structure and files but those files have this kind of content:

0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000

in other project (folders) on the same server everything works ok.
I updated composer, cleared cache, made composer update but without success…

Any suggestions?

You execute it as admin?

“execute it” you mean what?

If you use Win, you have to start cmd with administration rights. Then composer update can create the files and folders. On Linux i think you have to try it with sudo. Your decsription sounds like composer has no rights to write files.

OMG… i found problem :slight_smile:

Probably smarty templates in “smarty_c” catalog was generated in wrong way. Files were empty. I deleted those files, Smarty generated files again… this time correct and everything is ok now!

P.S probably reason of this problem was manual terminate of “composer update” process

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.