Hi!
I have installed virtualmachine from OXID.
I used composer to install OXID. Now domain link to folder /var/www. How to change in VM to link domain with /var/www/xxx/source??? Should i do this with personal.yml or manual in linux?
Actually, in a local dev environment, it usually doesnât matter if you use / or source/ or whatever but I understand the question as it will become kind of a challenge on the live server later, right?
I think you should do it in personal.yml, not manually in Linux.
The whole point of using vagrant is to let vagrant do the configuration (provisioning).
At this time i created oxid vm, create oxid shop on it - IT WOKRS FINE
Now i try to move this oxid instance on shared server (without shell access).
i copied files and db
and modified htaccess from RewriteBase /deev6/source to: RewriteBase /
and changed config.inf
OXID is loaded (admin panel to) but⌠for example when i hover mouse on logo or HOME button it shows me correct link www.xxx.de but when I click on it, it redirect me to www.xxx.de/deev6/source/oxseo.php/ with error: âThe requested page âdeev6/source/oxseo.php/â couldnât be found.â - it should be www.xxx.de/seo.php
Links to products, category products works well.
I tried to regenerate views and seourl in oxid panel but it still works wrong.
Alright. âoxseo.phpâ used to be used in OXID eShop < version 6. âseo.phpâ is used from version 6 on as name spaces are introduced with this version. Did you - by accident - did a version mix up on local dev environment and/or productive mayhap?
@m431342 - i cleared tmp folder to. I uploaded full composer project folder from my VM (shop was installed on VM) to ftp folder. Is it wrong?
@marco.steinhaeuser - yes, i read this but maybe i donât understand everything. It is insruction how to install new instance of OXID. My purpose is to have two enviroments of the same, one shop (development/local pc/vm and production on shared server without composer and shell access).
##################### P.S I donât know how but today itâs work. Probably it was something with server cache, tmp, etc⌠Links which didnât works correct yesterday, today works well on other computer in my work. Need to check on home after work and test it.
If we talk about link you pasted (@marco.steinhaeuser ) i donât understand this: âIn case you have no shell access to the remote server, you have to delete the symbolic links and to manually create alternative files, which have to be copied to the application server.â and code below. Should i do something with this? Were/How should i do this even if i want to create new oxid instance? This is not clear for me.
You need the symbolic links in /vendor/bin (or the alternative files) during setup. But the symbolic links created by composer cannot be transfered with ftp, thatâs why you should delete them and create alternative files that can be transfered. You can just paste the code in a terminal on your local machine.
If you look at the code, the first line takes you to your shop root folder (You have to replace the name of the directory of course). The second line deletes all files currently present in /vendor/bin. Then there are 3 Blocks that start with âcatâ. Each of those blocks will create a new file in /vendor/bin.
Hmmmm⌠yep i pasted it on my temrinal on VM. Itâs works. Soo this files are important only for setup/install. But when i want to copy/move oxid eshop instance (already created working shop) from VM to server without composer.
I should delete files from vendor/bin/* and thats all?
should these files must be generated only on machine were oxid instance will be deployed? If yes, how should i run these code in terminal without access to shell on shared server?
or maybe should i delete all files in vendor/bin/*, run shell command on my local vm and then copy to FTP?