Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Is it safe to remove language files and images with 1.5.8?  (Read 27746 times)

0 Members and 1 Guest are viewing this topic.

JoelFan

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 14
Is it safe to remove language files and images with 1.5.8?
« on: October 30, 2010, 08:48:39 am »

I know this may seem a stupid question, but I just want to be sure / safe ...

If I know that my CPG 1.5.8 is only going to be accessed by English fluent users, is it safe for me to remove the other language .php files in /lang/ and the other flag images from /images/flags/ ?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Is it safe to remove language files and images with 1.5.8?
« Reply #1 on: October 30, 2010, 12:00:21 pm »

Removing the language files should be fine, but I don't know if the flags are used at some other places than the language manager (e.g. some plugins could use them or Coppermine itself). Why do you want to remove them?
Logged

JoelFan

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 14
Re: Is it safe to remove language files and images with 1.5.8?
« Reply #2 on: November 01, 2010, 09:21:08 pm »

Why do you want to remove them?

To reduce upload/download times during backups and upgrades, and reduce file system clutter / overhead on the server (since I have dedicated servers and I host a lot of other users / sites, file system bloat can affect server performance especially during quota checks and nightly backups of the entire server when you have literally hundreds of scripts running across amny domains on a server).

So really any time I can reduce the number of files within a script and/or account whenever the files are not necessary, I will do so for optimized performance and overall efficiency. In this case, since the growing number of CPG's that I'll personally be running maintaining will only be utilized by people who speak English, then there is no reason to keep a large number of language files and flag graphics sitting in the folders of a bunch of CPG's on the server.

Thanks for the reply!
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Is it safe to remove language files and images with 1.5.8?
« Reply #3 on: November 01, 2010, 09:34:22 pm »

Then you should also remove the non-English docs, if you haven't done that yet. You could also delete some unneeded default themes and plugins.
Logged

JoelFan

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 14
Re: Is it safe to remove language files and images with 1.5.8?
« Reply #4 on: November 01, 2010, 09:49:13 pm »

Then you should also remove the non-English docs, if you haven't done that yet.

Thank you for the reminder about the Docs. I usually do remove un-necessary themes (like Hardwired and Eyeball etc...) once a CPG is tested up and running, but I'd forgotten about the additonal language docs in the docs folder.

I'm sure the issue is trivial in small numbers, but when you have 50 or more CPG installs on a single server, removing all those extraneous files make s a big difference in overhead. Removing the extra non-eng docs will help make that difference too, thanks!
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Logged

JoelFan

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 14
Re: Is it safe to remove language files and images with 1.5.8?
« Reply #6 on: November 03, 2010, 08:43:36 am »

http://forum.coppermine-gallery.net/index.php/topic,55415.msg270631.html#msg270631

I see that you want me to mark this as resolve or not.

I removed the non-English files/folders with /docs/ (such as de ,  es, and nl) and I removed a couple themes (Eyeball and Hardwired) and here are the basic results after running "CHECK VERSIONS" :

Removing the extra themes reports mostly "Optional" under the "Missing" column, but there are a couple that have the red-circled "X" warning that says "Mandatory".

Removing the extra files/folders in /docs/ (such as /docs/de/ and /docs/nl/ etc...) reports mostly "MANDATORY" under the "Missing" column and displays the red-circled "X" warning that says "Mandatory".

But so far it appears that there is no adverse affect from the removals, despite the "Mandatory" warnings, and no apparent errors in the cPanel Error Log. So it seems that it's OK to remove those particular files without negative repercussions (keeping in mind I don't really have any plugins installed that might be dependant on them.

I did not remove the flag images.

So based on the findings so far, would you mark this "Resolved" if you were me? Just trying to get the jist of what would or would not be considered "resolved" as it pertains to this particular topic.

Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Is it safe to remove language files and images with 1.5.8?
« Reply #7 on: November 03, 2010, 08:50:13 am »

Removing the extra files/folders in /docs/ (such as /docs/de/ and /docs/nl/ etc...) reports mostly "MANDATORY" under the "Missing" column and displays the red-circled "X" warning that says "Mandatory".
Has already been fixed in svn repository.


So based on the findings so far, would you mark this "Resolved" if you were me?
Yes, as I think you got an adequate answer.
Logged

JoelFan

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 14
Re: Is it safe to remove language files and images with 1.5.8?
« Reply #8 on: November 04, 2010, 06:34:08 pm »

Has already been fixed in svn repository.

Thank you for the link. I just downloaded the latest trunk/cpg1.5.x/include/cpg15x.files.xml from that link and uploaded (overwriting the old version) to my server and still, a CHECK VERSION shows the Non-English Docs as "Mandatory".

Have I missed a step?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Is it safe to remove language files and images with 1.5.8?
« Reply #9 on: November 04, 2010, 08:22:21 pm »

Have I missed a step?
To be honest, I never tested that changes ::) Will do later.
Logged

Nibbler

  • Guest
Re: Is it safe to remove language files and images with 1.5.8?
« Reply #10 on: November 04, 2010, 09:01:21 pm »

Tick the "Do not connect to the online repository" box.
Logged

JoelFan

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 14
Re: Is it safe to remove language files and images with 1.5.8?
« Reply #11 on: November 04, 2010, 11:54:47 pm »

Tick the "Do not connect to the online repository" box.

Thanks. I tried that but still get the "Mandatory" warnings on non-English /docs files. I'll Try some more testing later tonight as soon as I can and report back any relevant results in case anyone else finds this useful.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Is it safe to remove language files and images with 1.5.8?
« Reply #12 on: November 05, 2010, 01:14:06 pm »

Please try again revision 8013.
Logged

Lucypoch

  • Coppermine newbie
  • Country: 00
  • Offline Offline
  • Posts: 1
    • Oil painting
Re: Is it safe to remove language files and images with 1.5.8?
« Reply #13 on: July 09, 2012, 10:51:29 am »

I think you can move it, at least i did it and have not problems until now
Logged
Van gogh is a great oil painting artist
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 20 queries.