recode_cjk.php missing!

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
User avatar
c64persian
Registered User
Posts: 87
Joined: Tue Sep 18, 2012 11:58 pm
Location: instagram:c64persian

recode_cjk.php missing!

Post by c64persian »

I updated my site and checked the update package (phpbb 3.3.11) and found that the recode_cjk.php file (found in phpBB3/includes/utf/data/recode_cjk.php) is not on the server.

Should I upload it or is there no need for it?

in acp>attachment setting show this error message:

[phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_attachments.php on line 333: Undefined array key "IMAGE_STRIP_METADATA"
[phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_attachments.php on line 333: Undefined array key "IMAGE_QUALITY"
Last edited by Mick on Fri Dec 01, 2023 9:24 am, edited 1 time in total.
Reason: Solved.
User avatar
ssl
Registered User
Posts: 2029
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: recode_cjk.php missing!

Post by ssl »

peyman974 wrote: Fri Nov 24, 2023 11:25 pm Should I upload it or is there no need for it?
If this file exists it is because it is useful, yes it must be present on the server
Sorry for my English ... I do my best! :anger_right:

:point_right_tone3: phpBB: 3.3.14 | PHP: 8.3.12
:point_right_tone4: [Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
User avatar
warmweer
Jr. Extension Validator
Posts: 11879
Joined: Fri Jul 04, 2003 6:34 am
Location: somewhere in the space-time continuum

Re: recode_cjk.php missing!

Post by warmweer »

peyman974 wrote: Fri Nov 24, 2023 11:25 pm I updated my site and checked the update package (phpbb 3.3.11) and found that the recode_cjk.php file (found in phpBB3/includes/utf/data/recode_cjk.php) is not on the server.

Should I upload it or is there no need for it?
3310 has that file and it hasn't been changed in 3311 so there's no need for it to be in the changed files package.
Exactly which update package did you use?
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
c64persian
Registered User
Posts: 87
Joined: Tue Sep 18, 2012 11:58 pm
Location: instagram:c64persian

Re: recode_cjk.php missing!

Post by c64persian »

warmweer wrote: Sat Nov 25, 2023 8:47 am 3310 has that file and it hasn't been changed in 3311 so there's no need for it to be in the changed files package.
Exactly which update package did you use?
advanced update 3.3.10 to 3.3.11

I think this file was not uploaded to the server before

I checked manually with this :
https://github.com/LukeWCS/phpbb-file-check

what about error message in acp?
User avatar
warmweer
Jr. Extension Validator
Posts: 11879
Joined: Fri Jul 04, 2003 6:34 am
Location: somewhere in the space-time continuum

Re: recode_cjk.php missing!

Post by warmweer »

peyman974 wrote: Sat Nov 25, 2023 9:55 am
what about error message in acp?
Hard to tell.
First thing to do is to check that all files are present (use the full 3.3.11 package to compare your fileset to).
Additionally you could edit the phpBB version (set to 3.3.10 or the version you updated from, although I suspect that isn't even necessary) in the database and re-update.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
c64persian
Registered User
Posts: 87
Joined: Tue Sep 18, 2012 11:58 pm
Location: instagram:c64persian

Re: recode_cjk.php missing!

Post by c64persian »

warmweer wrote: Sat Nov 25, 2023 11:03 am
peyman974 wrote: Sat Nov 25, 2023 9:55 am
what about error message in acp?
Hard to tell.
First thing to do is to check that all files are present (use the full 3.3.11 package to compare your fileset to).
Additionally you could edit the phpBB version (set to 3.3.10 or the version you updated from, although I suspect that isn't even necessary) in the database and re-update.
show this error message in attachment setting in acp

result of check all files on server:
phpBB File Check v1.1.3
=======================

phpBB Version: 3.3.11
MD5 Version 1: 3.3.11 (phpBB.com) AUTO
MD5 Version 2: 3.3.11 (phpBB.de) AUTO
PHP Version : 8.2.13 (Linux)

Please wait, 4060 checksums are being processed...

------------------------------------------------------------------------------------------------------------------------------------
{1: 1} * CHANGED: [.htaccess] (hash: 09267540ea273cdfd61458234b7097ad)
{1: 5} * CHANGED: [composer.lock] (hash: 4ebd3d95a6c81d9c48d6ef693901f73a)
{1: 119} * CHANGED: [adm/style/admin.css] (hash: 1535368fa6fcdcd692c88778818bf856)
{1: 182} * CHANGED: [cache/.htaccess] (hash: 6db011a0afd553942e778bb554dfeebe)
{1: 251} * CHANGED: [docs/CHANGELOG.html] (hash: 34a6bcbd87a79bdfc6320be822352c23)
{1: 252} * CHANGED: [docs/CREDITS.txt] (hash: 9c9780a588d05a54ecf2f4fc809f39f2)
{1: 253} * CHANGED: [docs/FAQ.html] (hash: b6abb472ca778a414aab4bcc9ec9a3ce)
{1: 254} * CHANGED: [docs/INSTALL.html] (hash: 2f0db808cde8ed164060f9637a0eb3fe)
{1: 256} * CHANGED: [docs/README.html] (hash: 49a925d9604e20eb080eda392cbdbbc3)
{1: 258} ! MISSING: [docs/codespaces.md]
{1: 259} * CHANGED: [docs/coding-guidelines.html] (hash: b70f0358ae9863a60f5c4e5971062a20)
{1: 260} * CHANGED: [docs/events.md] (hash: 97787aa54bdee30a3173e963282d4f0e)
{1: 263} * CHANGED: [docs/nginx.sample.conf] (hash: cd9eca9a7ecc7ccd63bed4013e45dc16)
{1: 264} * CHANGED: [docs/sphinx.sample.conf] (hash: 6d4ebf0aa54ade7dc6a448c01b24d1d0)
{1: 265} ! MISSING: [docs/sphinx_exceptions.txt]
{1: 266} ! MISSING: [docs/sphinx_wordforms.txt]
{1: 279} * CHANGED: [ext/phpbb/viglink/ext.php] (hash: c4b74ed2dbb5774fc7185f9dcdb96504)
{1: 284} * CHANGED: [ext/phpbb/viglink/acp/viglink_module.php] (hash: 34b44027e0d944192ae4635d627ad762)
{1: 293} * CHANGED: [ext/phpbb/viglink/migrations/viglink_ask_admin.php] (hash: 61f5b169cfa3a80762e808e3ac89c555)
{1: 294} * CHANGED: [ext/phpbb/viglink/migrations/viglink_ask_admin_wait.php] (hash: 07bfe2b992a14fbd0f685dd345adcf06)
{1: 295} * CHANGED: [ext/phpbb/viglink/migrations/viglink_cron.php] (hash: d82a8f16ee3bad6b20ff1bc1d563ecef)
{1: 296} * CHANGED: [ext/phpbb/viglink/migrations/viglink_data.php] (hash: c313f63f514ed7f3761104b0ef3116f6)
{1: 297} * CHANGED: [ext/phpbb/viglink/migrations/viglink_data_v2.php] (hash: 770fdc4bb9226d84adde0cf2f828e10d)
{1: 300} * CHANGED: [ext/phpbb/viglink/styles/all/template/event/overall_footer_after.html] (hash: 4c445a626fb301fa0e60564c25b2219d)
{1: 303} * CHANGED: [files/.htaccess] (hash: 6db011a0afd553942e778bb554dfeebe)
{1: 312} * CHANGED: [images/icons/misc/fire.gif] (hash: 3cbaa4fcdc1d12343ef4c5742631ca4e)
{1: 313} * CHANGED: [images/icons/misc/heart.gif] (hash: 80624a0e754a8912aeead482399cf8cc)
{1: 315} * CHANGED: [images/icons/misc/radioactive.gif] (hash: 62c79f2eaa0a672dfb1f2a3de44ddac5)
{1: 316} * CHANGED: [images/icons/misc/star.gif] (hash: fa9754395aae414dd2ec05923e8b2403)
{1: 317} * CHANGED: [images/icons/misc/thinking.gif] (hash: ddbecd00ddb4bc21733ff1cac44626b1)
{1: 318} * CHANGED: [images/icons/smile/alert.gif] (hash: 1539bede819b94128ce786a63ecaabae)
{1: 320} * CHANGED: [images/icons/smile/info.gif] (hash: 97922074e176ccb2e08cb5bee73d441c)
{1: 321} * CHANGED: [images/icons/smile/mrgreen.gif] (hash: 66847d1c4bf20fe3524d715c641a1b77)
{1: 322} * CHANGED: [images/icons/smile/question.gif] (hash: 7f964df74d14a4c141bc13306c088f86)
{1: 323} * CHANGED: [images/icons/smile/redface.gif] (hash: 49006337b6df9af1319967d51ceefb9a)
{1: 388} * CHANGED: [includes/functions_transfer.php] (hash: d41d8cd98f00b204e9800998ecf8427e)
{1: 519} ! MISSING: [includes/utf/data/recode_cjk.php]
{1:1494} * CHANGED: [store/.htaccess] (hash: 6db011a0afd553942e778bb554dfeebe)
{1:1547} * CHANGED: [styles/prosilver/template/navbar_footer.html] (hash: ebf2d9cc21e4edb6d89627c8ebe4a3b0)
{1:1550} * CHANGED: [styles/prosilver/template/overall_footer.html] (hash: 3e0fe606ac8723d24d3d02626afbdcc7)
{1:1629} * CHANGED: [styles/prosilver/theme/colours.css] (hash: 4ae5b6754a049cacda0ef1559f33afbc)
{1:1630} * CHANGED: [styles/prosilver/theme/common.css] (hash: fee693ceea45e82bec70e6fb7c2921e0)
{1:1634} * CHANGED: [styles/prosilver/theme/icons.css] (hash: 616ae70e7c7e7e0a08ce16ffc050dd6f)
{1:1640} * CHANGED: [styles/prosilver/theme/responsive.css] (hash: 08a824d6ebddbc45584779e51e3bd49b)
{1:1665} ! MISSING: [styles/prosilver/theme/images/site_logo.svg]
------------------------------------------------------------------------------------------------------------------------------------

Checked files: 3823
Missing files: 5
Changed files: 40

Finished! Run time: 27.810 seconds
Last edited by c64persian on Thu Nov 30, 2023 9:23 am, edited 1 time in total.
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53569
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}

Re: recode_cjk.php missing!

Post by Brf »

peyman974 wrote: Fri Nov 24, 2023 11:25 pm [phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_attachments.php on line 333: Undefined array key "IMAGE_STRIP_METADATA"
[phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_attachments.php on line 333: Undefined array key "IMAGE_QUALITY"
Those tags have been in in language/en/acp/attachments.php since version 3.3.1.
Also, those tags are accessed on line 184, not 333, so I do not know what version of files you are trying to use.
User avatar
c64persian
Registered User
Posts: 87
Joined: Tue Sep 18, 2012 11:58 pm
Location: instagram:c64persian

Re: recode_cjk.php missing!

Post by c64persian »

Another thing that I tried a lot is the file recode_cjk.php with 1.4mb size that I uploaded several times and it was incompletely uploaded(filezilla and online file manager as the same only 544kb of file uploaded!). Once it was completed, it was strangely deleted by the server!
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 52794
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve

Re: recode_cjk.php missing!

Post by stevemaury »

zip that file and upload the .zip file and unzip it on te server to overcome the (unusual) filesize limitation.
I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
User avatar
c64persian
Registered User
Posts: 87
Joined: Tue Sep 18, 2012 11:58 pm
Location: instagram:c64persian

Re: recode_cjk.php missing!

Post by c64persian »

stevemaury wrote: Tue Nov 28, 2023 1:54 am zip that file and upload the .zip file and unzip it on te server to overcome the (unusual) filesize limitation.
I compressed the file to zip and it was uploaded, but no file is written after extracting

My site is in free host (byethost)
Host said upload limit to 1MB size (recode_cjk.php 1.4mb)
Are the error messages I said at the beginning of the subject Related to this file (recode_cjk.php)?

At the host with Softculous I installed a new version of PHPBB in new subdomain that has the file (Recode_cjk.php 1.4MB) but I still can't move it to my site folder!

With the following link guidance:
https://www.phpbb.com/support/docs/3/3. ... or-domain/
I connected the new version of the installed to the database But many error messages were announced
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26874
Joined: Fri Aug 29, 2008 9:49 am

Re: recode_cjk.php missing!

Post by Mick »

peyman974 wrote: Thu Nov 30, 2023 9:42 amMy site is in free host (byethost)
Host said upload limit to 1MB size (recode_cjk.php 1.4mb)
Thats probably part of the issue, I’m afraid you get what you pay for with hosts. Ask your host if they’ll bump up the upload limit temporarily at least until you get that file uploaded. If they won’t do it maybe you should start looking for another host. Do you have access to the database, ie: can you save or download it?

If all else fails I suppose you could split the file in to two (or more) parts, upload them then merge them back to one file on the server (assuming they won’t remove it anyway) but it seems an awful potch.
  • "The more connected we get the more alone we become” - Kyle Broflovski© 🇬🇧
User avatar
warmweer
Jr. Extension Validator
Posts: 11879
Joined: Fri Jul 04, 2003 6:34 am
Location: somewhere in the space-time continuum

Re: recode_cjk.php missing!

Post by warmweer »

peyman974 wrote: Mon Nov 27, 2023 6:09 pm Another thing that I tried a lot is the file recode_cjk.php with 1.4mb size that I uploaded several times and it was incompletely uploaded(filezilla and online file manager as the same only 544kb of file uploaded!). Once it was completed, it was strangely deleted by the server!
recode_cjk.php probably isn't the only file refused by byethost. I had a similar issue not long ago (when experimenting with free hosts), a certain file from vendor/ocramius was also deleted automatically after uploading due to it being unsafe: yet it was installed (and not removed using the autoinstall. When I asked why: the answer was that with a paid account it would not be deleted. I asked why inconsistency in that the autoinstall did upload that file: guess what, no answer.

As to the free hosts: not so long ago I tested quite a few (a couple more to go when I find the time) and only 1 advertised with honest and correct information (and it's the only one on which I succeeded in getting a 3.3.11 to work properly).
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26874
Joined: Fri Aug 29, 2008 9:49 am

Re: recode_cjk.php missing!

Post by Mick »

warmweer wrote: Thu Nov 30, 2023 11:23 amrecode_cjk.php probably isn't the only file refused by bytehost
Good point.
  • "The more connected we get the more alone we become” - Kyle Broflovski© 🇬🇧
User avatar
c64persian
Registered User
Posts: 87
Joined: Tue Sep 18, 2012 11:58 pm
Location: instagram:c64persian

Re: recode_cjk.php missing!

Post by c64persian »

Mick wrote: Thu Nov 30, 2023 11:45 am
warmweer wrote: Thu Nov 30, 2023 11:23 amrecode_cjk.php probably isn't the only file refused by bytehost
Good point.
in this post viewtopic.php?p=15985720#p15985720
filecheck only said 1 necessary file is missing and that file is recode_cjk.php
User avatar
warmweer
Jr. Extension Validator
Posts: 11879
Joined: Fri Jul 04, 2003 6:34 am
Location: somewhere in the space-time continuum

Re: recode_cjk.php missing!

Post by warmweer »

peyman974 wrote: Thu Nov 30, 2023 12:08 pm in this post viewtopic.php?p=15985720#p15985720
filecheck only said 1 necessary file is missing and that file is recode_cjk.php
OK, perhaps they've now marked the ocramius file (can't remember which one) as safe (in which case I should be thanked ;-) )
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.

Return to “[3.3.x] Support Forum”