Language Search & Edit
shows one language - Language Search & Edit
shows one language
Hello Preston,
I just install your add-on Language Search & Edit and we have two language (english and finnish) so when I press on the finnish its not shown anything .. here is an screenshot phoenix 1.0.8.4
thank you
Omar
I just install your add-on Language Search & Edit and we have two language (english and finnish) so when I press on the finnish its not shown anything .. here is an screenshot phoenix 1.0.8.4
thank you
Omar
-
- VIP Member
- Posts: 481
- Joined: Fri Oct 25, 2019 5:06 pm
- Contact:
Re: shows one language
I just did some testing and it all works fine on my end. What Phoenix version are you running? Check the logs, as that screen must be generating errors to look like that.
zipurman
aka Preston Lord
-----------
Happy to help where I can
https://phoenixaddons.com
https://www.youtube.com/zipurman/ ** PHOENIX HOW-TO VIDEOS **
aka Preston Lord
-----------
Happy to help where I can
https://phoenixaddons.com
https://www.youtube.com/zipurman/ ** PHOENIX HOW-TO VIDEOS **
- zipurman
- PhoenixCart Developer
- Posts: 470
- Joined: Tue Oct 13, 2020 5:20 pm
- : Buy Me A Beverage
- Contact:
Re: shows one language
thank you.. it was session_storage.php file in the finnish language not update ...
it was include this function
after I copy the file(session_storage.php ) from english folder working well
here it was the error just in casy some one have the same issue
it was include this function
Code: Select all
tep_session_save_path()
here it was the error just in casy some one have the same issue
Code: Select all
[08-Aug-2021 21:05:19 Europe/Helsinki] PHP Fatal error: Uncaught Error: Call to undefined function tep_session_save_path() in /home/xxxx/public_html/test/admin/includes/languages/finnish/modules/security_check/session_storage.php:13
Stack trace:
#0 /home/xxxx/public_html/test/admin/zipur_language_tool.php(297): include_once()
#1 /home/xxxx/public_html/test/admin/zipur_language_tool.php(342): zipGetFileConst('/home/xxxx/p...')
#2 {main}
thrown in /home/xxxx/public_html/test/admin/includes/languages/finnish/modules/security_check/session_storage.php on line 13
-
- VIP Member
- Posts: 481
- Joined: Fri Oct 25, 2019 5:06 pm
- Contact:
Re: shows one language
Hi dear;zipurman wrote:I just did some testing and it all works fine on my end. What Phoenix version are you running? Check the logs, as that screen must be generating errors to look like that.
I use 1.0.8.20 yet I get same blank page for my other 3 languages.
I do not have this security check modules in my any language files.
Please Can you help me understand why do I get this blank page?
As there is no error in the php error log.
Thank you in advance...
Regds./
radhavallabh
-
- VIP Member
- Posts: 364
- Joined: Tue Oct 27, 2020 4:09 am
- Contact:
Re: shows one language
I also have 1.0.8.20 and do not get any errors and it works as expected.radhavallabh wrote: I use 1.0.8.20 yet I get same blank page for my other 3 languages.
I do not have this security check modules in my any language files.
Please Can you help me understand why do I get this blank page?
As there is no error in the php error log.
Are you getting the blank page in all languages, or just 3 of them?
Can you send a screenshot of the blank page please and let me know what steps you do to arrive at the blank page.
** Also make sure to check the admin/error_log
zipurman
aka Preston Lord
-----------
Happy to help where I can
https://phoenixaddons.com
https://www.youtube.com/zipurman/ ** PHOENIX HOW-TO VIDEOS **
aka Preston Lord
-----------
Happy to help where I can
https://phoenixaddons.com
https://www.youtube.com/zipurman/ ** PHOENIX HOW-TO VIDEOS **
- zipurman
- PhoenixCart Developer
- Posts: 470
- Joined: Tue Oct 13, 2020 5:20 pm
- : Buy Me A Beverage
- Contact:
Re: shows one language
Hi dear;zipurman wrote:I also have 1.0.8.20 and do not get any errors and it works as expected.radhavallabh wrote: I use 1.0.8.20 yet I get same blank page for my other 3 languages.
I do not have this security check modules in my any language files.
Please Can you help me understand why do I get this blank page?
As there is no error in the php error log.
Are you getting the blank page in all languages, or just 3 of them?
Can you send a screenshot of the blank page please and let me know what steps you do to arrive at the blank page.
** Also make sure to check the admin/error_log
Thank you for your reply;
I get blank page on all 3 language files other than english.
I click on zipur_language_tool from menu- It opens default as English-
All works well- I select french- Blank page- Click English again blank page- Need set to english manually from the url by retyping english at its end.
Attaching screenshot
Found this error- Array to string conversion in /xx/xx/admin/zipur_language_tool.php on line 340
Please help me resolve the issue
Thank you in advance dear;
Regds./
radhavallabh
-
- VIP Member
- Posts: 364
- Joined: Tue Oct 27, 2020 4:09 am
- Contact:
Re: shows one language
try the following:
Line: 339-344
Change:
To:
Also, what version of PHP are you using?
Line: 339-344
Change:
Code: Select all
if ( isset( $before['user'] ) ) {
$current = array_diff_assoc( $after['user'], $before['user'] );
} else {
$current = $after['user'];
}
$file_constants[ $file ] = $current;
Code: Select all
if ( isset( $before['user'] ) ) {
$file_constants[ $file ] = array_diff_assoc( $after['user'], $before['user'] );
} else {
$file_constants[ $file ] = $after['user'];
}
zipurman
aka Preston Lord
-----------
Happy to help where I can
https://phoenixaddons.com
https://www.youtube.com/zipurman/ ** PHOENIX HOW-TO VIDEOS **
aka Preston Lord
-----------
Happy to help where I can
https://phoenixaddons.com
https://www.youtube.com/zipurman/ ** PHOENIX HOW-TO VIDEOS **
- zipurman
- PhoenixCart Developer
- Posts: 470
- Joined: Tue Oct 13, 2020 5:20 pm
- : Buy Me A Beverage
- Contact:
Re: shows one language
I updated the code and lowered the error reporting in the file. Try the latest version and let me know if still having issues.
zipurman
aka Preston Lord
-----------
Happy to help where I can
https://phoenixaddons.com
https://www.youtube.com/zipurman/ ** PHOENIX HOW-TO VIDEOS **
aka Preston Lord
-----------
Happy to help where I can
https://phoenixaddons.com
https://www.youtube.com/zipurman/ ** PHOENIX HOW-TO VIDEOS **
- zipurman
- PhoenixCart Developer
- Posts: 470
- Joined: Tue Oct 13, 2020 5:20 pm
- : Buy Me A Beverage
- Contact:
Re: shows one language
Hi dear;zipurman wrote:I updated the code and lowered the error reporting in the file. Try the latest version and let me know if still having issues.
Thank you for the update;
Now Espanol and English have started working, French and German still same error.
I use PHP 8.0 version dear.
Your help is deeply appreciated dear;
Thank you in advance;
Regds./
radhavallabh
-
- VIP Member
- Posts: 364
- Joined: Tue Oct 27, 2020 4:09 am
- Contact:
Re: shows one language
I added a new version 1.1.0 with some extra error handling. If that doesn't solve it. I would need you to email me at plord@inetx.ca and I can have a closer look at your site/admin/code to help find the issue.
zipurman
aka Preston Lord
-----------
Happy to help where I can
https://phoenixaddons.com
https://www.youtube.com/zipurman/ ** PHOENIX HOW-TO VIDEOS **
aka Preston Lord
-----------
Happy to help where I can
https://phoenixaddons.com
https://www.youtube.com/zipurman/ ** PHOENIX HOW-TO VIDEOS **
- zipurman
- PhoenixCart Developer
- Posts: 470
- Joined: Tue Oct 13, 2020 5:20 pm
- : Buy Me A Beverage
- Contact: