Git Product home page Git Product logo

Comments (8)

dart-com-ua avatar dart-com-ua commented on June 30, 2024

It will not be set. AFAIR it will be set to system as owner and user can't write/delete/change/create inner directories. So user always need to ask admin to reset directory owner. And for sure script can't writ needed files and additional languages just do not work

from tomatocart-v1.

nlmaca avatar nlmaca commented on June 30, 2024

what do you mean by AFAIR??. when you have updated a language and after that you look to the owner rights (in linux) you will see it is set to www-data (the apache ownere) which is quite normal when you're installing to the admin panel.
and after that you can change the language entries through the control panel.

can you explain a bit more about what script need to have write access? do you want to change the files by FTP after you've uploaded a new language? that would explain your problem. but maybe i have it wrong. can you tell me exactly what you want to do and how you did it, so i can might help you with this?

what kind of hosting are you using? windows or linux?

from tomatocart-v1.

dart-com-ua avatar dart-com-ua commented on June 30, 2024

AFAIR = As far as I remember.

When I add the language on VIRTUAL host (I tried on different hosting providers) I lost rights to write/delete/change/create inner directories to language directory/subdirectories and I can't back my rights. So I ask admins and they reset the rights.

Yes, after main language directory creation installation script just stops and there's no chance to finish language installation. I can't add files to these directories, I can' delete them etc. No matter by FTP or by using site admin panel.

I don't want to experiment more to check who is the owner. I just create directories manually and then install languages.

I'm sure that if you are the server owner you will never have these problems, but it appears on virtual hosts
I tried different commercial Linux/CentOs hostings.

In simple words: I don't know HOW, but the script create directories with incorrect rights.

from tomatocart-v1.

nlmaca avatar nlmaca commented on June 30, 2024

i understand your problem but this is normal behavior. because you install the language pack as the Apache user which is set under www-data and not at the ftp account. Apache doesn't know at which ftp account you are, thats why the www-data (apache user) is used. that explains your problem.

but when you upload your language pack you should be able to change the files in the tomatocart panel (not your webhosting panel).
Start -> Definitions -> languages.
you see the flags behind your language. click on that to change your translations

and you can also add new definitions there.

i always left it at the www-data (even as a server owner) (i don't own servers anymore, just my server at home;), because it can cause problems in the tc admin panel (also with other opensource, payed cms systems). with a cms panel you mostly want to run from your cms admin panel, not on ftp.

the only other way is your way. upload everything by hand by your ftp user. and also update the database by hand.

what kind of directories do you need to install? because they all are in the language pack (core modules)?

from tomatocart-v1.

dart-com-ua avatar dart-com-ua commented on June 30, 2024

Maca, look. When I install TC, the installation script creates many directories and all is fine with the rights. When I install languages script creates directories with incorrect rights. So it looks like language installation script problem, not hosting problem.

And I can't reset the rights from site admin panel in any case. I just do not have the rights to reset the rights to the directory with incorrect rights.

And I cannot change the languages because script can't finish language installation, because the script CAN'T write in his own directory!

from tomatocart-v1.

nlmaca avatar nlmaca commented on June 30, 2024

i understand your problem like i said before. i don;t have a solution for this, i only know this is quite common for cms systems. so i'll leave this for the developers to respond;).

from tomatocart-v1.

tomatocart avatar tomatocart commented on June 30, 2024

I have meet this issue before, this is known issue due to the apache & php. There is no solution to this.

from tomatocart-v1.

dart-com-ua avatar dart-com-ua commented on June 30, 2024

It's strange, because the similar script creates other directories and all is fine. That's the bug and it shall be fixed, otherwise TC users just will not be able to install additional languages correctly!
It's really important! Most of TC installations are made on virtual hosts!

from tomatocart-v1.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.