Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

error upgeade from 9.10.20 to 9.10.30

Asked Modified Viewed 3,742 times
B
balin
B
balin 10
Balin
  • Junior Member, joined since
  • Contributed 37 posts on the community forums.
  • Started 9 threads in the forums
  • Started this discussions
  • Answered 1 question
asked
Junior Member

Fatal error: Uncaught Error: Call to undefined function set_image() in /home/dj023500/_sub/10/infusions/cp_icon_sets/infusion_db.php:44 Stack trace: #0 /home/dj023500/_sub/10/includes/classes/PHPFusion/Installer/Infusions.php(47): include() #1 /home/dj023500/_sub/10/includes/classes/PHPFusion/Installer/Steps/InfusionsSetup.php(91): PHPFusionInstallerInfusions::loadConfiguration() #2 /home/dj023500/_sub/10/includes/classes/PHPFusion/Installer/InstallCore.php(393): PHPFusionInstallerStepsInfusionsSetup->view() #3 /home/dj023500/_sub/10/includes/classes/PHPFusion/Installer/InstallCore.php(354): PHPFusionInstallerInstallCore->getInstallerContent() #4 /home/dj023500/_sub/10/install.php(22): PHPFusionInstallerInstallCore->installPhpfusion() #5 {main} thrown in /home/dj023500/_sub/10/infusions/cp_icon_sets/infusion_db.php on line 44
0 replies

33 posts

K
karrak
K
karrak 32
Van mi sosem változik..smile
  • Senior Member, joined since
  • Contributed 309 posts on the community forums.
  • Started 94 threads in the forums
  • Answered 1 question
answered
Senior Member

works with default settings.
add it to includes/autoloader.php 126 line

Quote

require_once __DIR__."/system_images.php";
Edited by karrak on 02-09-2022 11:59,
0 replies
B
balin
B
balin 10
Balin
  • Junior Member, joined since
  • Contributed 37 posts on the community forums.
  • Started 9 threads in the forums
  • Started this discussions
  • Answered 1 question
answered
Junior Member

thank
functional

is another problem at security
Fatal error: Uncaught TypeError: Argument 3 passed to PHPFusionQuantumQuantumHelper::quantumMultilocaleFields() must be an instance of PHPFusionQuantummixed, string given, called in /home/dj023500/_sub/10/administration/settings_security.php on line 157 and defined in /home/dj023500/_sub/10/includes/classes/PHPFusion/Quantum/QuantumHelper.php:384 Stack trace: #0 /home/dj023500/_sub/10/administration/settings_security.php(157): PHPFusionQuantumQuantumHelper::quantumMultilocaleFields('privacy_policy', 'Privacy Policy', '', Array) #1 {main} thrown in /home/dj023500/_sub/10/includes/classes/PHPFusion/Quantum/QuantumHelper.php on line 384
0 replies
C
Chan
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,841 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions
answered
Super Admin

I just did an initial testing and it doesn't seem problems with the field method used, the implementation code is all alright. But rather I found a locale issue. None of the locale is loaded when I switched language. In fact many pages is missing its locales as if whole page is blank of any locales. I will post back later after finding out what is the problem.

---
A moment later...
---

Alright, I know where the problem is now.

Background Information
The locale keys on 9.10.30 has been changed on - English/admin/setttings.php. This is in place to fix a specific issue reported that glitches against another system locale. Fore more information regarding this, please read this issue https://github.com/PHPFusion/PHPFusio...ssues/2385 and the fixes that were placed to solve it prior to release of the new software updates.

To have it fixed on your end, please do this:

Open up /YOUR_LANGUAGE/admin/settings.php file.

Find: $locale['
Replace with: $locale['admins_

There will be no code to fix this as this is pertaining to language files, naturally it would have been solved in itself in due time. The English pack has been updated on base translation service prior to the software release. Just waiting for proof readers to reapprove the language on the new keys.
Edited by Chan on 05-09-2022 05:47,
0 replies
K
karrak
K
karrak 32
Van mi sosem változik..smile
  • Senior Member, joined since
  • Contributed 309 posts on the community forums.
  • Started 94 threads in the forums
  • Answered 1 question
answered
Senior Member

the fix is already up on github,
Reported with php version 7.xx,
includes/classes/PHPFusion/Quantum/QuantumHelper.php line 284

Quote

public static function quantumMultilocaleFields(string $input_name, string $title, mixed $input_value, array $options = []) {


for this

Quote

public static function quantumMultilocaleFields(string $input_name, string $title, string $input_value, array $options = []) {
0 replies
B
balin
B
balin 10
Balin
  • Junior Member, joined since
  • Contributed 37 posts on the community forums.
  • Started 9 threads in the forums
  • Started this discussions
  • Answered 1 question
answered
Junior Member

Sorry
the basic error is in the protection of the site.
I had to edit .htaccess

the problem persists localle
File: panels.php
Page: /administration/panels.php?aid=f5651008f97bfccf&action=edit&panel_id=15&section=listpanel&lang=Slovak
Line: 99
Error message: Undefined index: PANEL_600


for
/YOUR_LANGUAGE/admin/settings.php file.

Find: $locale['
Replace with: $locale['admins_

I have it
$locale['400'] = "Nastavenia";
$locale['401a'] = "Nastavenia hostiteľskej stránky";
$locale['401b'] = "Konfigurácia pre vaše webové adresy, porty a protokoly stránky.";

replace all?
0 replies
K
karrak
K
karrak 32
Van mi sosem változik..smile
  • Senior Member, joined since
  • Contributed 309 posts on the community forums.
  • Started 94 threads in the forums
  • Answered 1 question
answered
Senior Member

many language files have changed in admin, compare the English language file with your own.
/YOUR_LANGUAGE/admin/settings.php file.
yes
Replace with: $locale['admins_

localeYOUR_LANGUAGEadmindb-backup.php
Replace with: $locale['BACK_

localeYOUR_LANGUAGEadminimage_uploads.php
localeYOUR_LANGUAGEadmininfusions.php
localeYOUR_LANGUAGEadminpanels.php
Edited by karrak on 12-09-2022 18:12,
0 replies
B
balin
B
balin 10
Balin
  • Junior Member, joined since
  • Contributed 37 posts on the community forums.
  • Started 9 threads in the forums
  • Started this discussions
  • Answered 1 question
answered
Junior Member

I replaced in
db-backup.php, image_uploads.php, main.php, panels.php, serverinfo.php
from
$locale['
to
$locale['admins_
error
File: Admins.php
Page: /administration/index.php?aid=df14e86a385715ab&pagenum=0
Line: 233
Error message: Undefined index: ac00

english $locale['ac00'] = "Admin Home";
slovak $locale['admins_ac00'] = "Administrácia";
0 replies
K
karrak
K
karrak 32
Van mi sosem változik..smile
  • Senior Member, joined since
  • Contributed 309 posts on the community forums.
  • Started 94 threads in the forums
  • Answered 1 question
answered
Senior Member

not good. do not change main.php
0 replies
B
balin
B
balin 10
Balin
  • Junior Member, joined since
  • Contributed 37 posts on the community forums.
  • Started 9 threads in the forums
  • Started this discussions
  • Answered 1 question
answered
Junior Member

ok
main.php is original

now there is a problem with

File: olist_bbcode_include_var.php
Page: /administration/bbcodes.php?aid=df14e86a385715ab
Line: 27
Error message: Undefined index: bb_olist_0100
0 replies
K
karrak
K
karrak 32
Van mi sosem változik..smile
  • Senior Member, joined since
  • Contributed 309 posts on the community forums.
  • Started 94 threads in the forums
  • Answered 1 question
answered
Senior Member

a hétvégén megnézem neked a slovak nyelvi fájlokat
locale/your locale/bbcodes/olist.php
copy
$locale['bb_olist_0100'] = "Numeric List";
$locale['bb_olist_0101'] = "Alphabets Lowercase";
$locale['bb_olist_0102'] = "Alphabets Uppercase";
$locale['bb_olist_0103'] = "Roman Lowercase";
$locale['bb_olist_0104'] = "Roman Uppercase";


please translate it.
0 replies
B
balin
B
balin 10
Balin
  • Junior Member, joined since
  • Contributed 37 posts on the community forums.
  • Started 9 threads in the forums
  • Started this discussions
  • Answered 1 question
answered
Junior Member

$locale['bb_olist_0100'] = "Číselný zoznam";
$locale['bb_olist_0101'] = "Malé písmená";
$locale['bb_olist_0102'] = "Veľké písmená";
$locale['bb_olist_0103'] = "Rímske malé písmená";
$locale['bb_olist_0104'] = "Rímske malé veľké písmená";
0 replies
B
balin
B
balin 10
Balin
  • Junior Member, joined since
  • Contributed 37 posts on the community forums.
  • Started 9 threads in the forums
  • Started this discussions
  • Answered 1 question
answered
Junior Member

így jobb
$locale['bb_olist_0100'] = "Číselný zoznam";
$locale['bb_olist_0101'] = "Malé písmo";
$locale['bb_olist_0102'] = "Veľké písmo";
$locale['bb_olist_0103'] = "Rímske malé písmo";
$locale['bb_olist_0104'] = "Rímske veľké písmo";
0 replies
K
karrak
K
karrak 32
Van mi sosem változik..smile
  • Senior Member, joined since
  • Contributed 309 posts on the community forums.
  • Started 94 threads in the forums
  • Answered 1 question
answered
Senior Member

PHPFusion version 9.10.30 Slovak language file.
karrak attached the following file:
slovak.zip [No information available / 47 Downloads]
0 replies
B
balin
B
balin 10
Balin
  • Junior Member, joined since
  • Contributed 37 posts on the community forums.
  • Started 9 threads in the forums
  • Started this discussions
  • Answered 1 question
answered
Junior Member

köszi

File: file_manager.php
Page: /administration/file_manager.php?aid=e02eeab237f82297
Line: 24
Error message: Undefined offset: 100

this is
$locale = fusion_get_locale('', LOCALE.LOCALESET.'admin/image_uploads.php'wink;

SK $locale['IMGUP_100'] = "Fusion správca súborov";
ENG $locale['IMGUP_100'] = "Fusion File Manager";
0 replies
K
karrak
K
karrak 32
Van mi sosem változik..smile
  • Senior Member, joined since
  • Contributed 309 posts on the community forums.
  • Started 94 threads in the forums
  • Answered 1 question
answered
Senior Member

B
balin
B
balin 10
Balin
  • Junior Member, joined since
  • Contributed 37 posts on the community forums.
  • Started 9 threads in the forums
  • Started this discussions
  • Answered 1 question
answered
Junior Member

thank
it works great
0 replies
B
balin
B
balin 10
Balin
  • Junior Member, joined since
  • Contributed 37 posts on the community forums.
  • Started 9 threads in the forums
  • Started this discussions
  • Answered 1 question
answered
Junior Member

I found the problem in
nfusions/cookiebar_panel/cookiebar_panel.php
File: cookiebar_panel.php
Page: /index.php
Line: 21
Error message: Undefined variable: settings

if (file_exists(INFUSIONS."cookiebar_panel/locale/".$settings['locale'].".php"wink) {

File: cookiebar_panel.php
Page: /index.php
Line: 50
Error message: Undefined variable: settings

".$settings['sitename']." ".$locale['CBP101']." <a class='cookieoverlay'
href='".INFUSIONS."cookiebar_panel/cookiesinfo.php'>".$locale['CBP102']."</a>.<br />".$locale['CBP103']."

File: cv_birthdays_today_panel.php
Page: /index.php
Line: 23
Error message: Undefined variable: settings

if (file_exists(INFUSIONS."cv_birthdays_today_panel/locale/".$settings['locale'].".php"wink) {

https://translate.google.sk/?sl=sk&tl=en&text=cookie%20bar%20nefunguje%20ani%20v%20angli%C4%8Dtine&op=translate#:~:text=star_border-,the%20cookie%20bar%20doesn%27t%20work%20in%20English%20either,-the%20cookie%20bar

cv_birthdays_today_panel.php works in English
in Slovak work not

I don't know if it was a good idea to change the settings in Locales
I expect there will be problems with that
so I tested it on a test domain
0 replies
G
Grimloch
G
Energy can neither be created nor destroyed; only transformed !
  • Senior Member, joined since
  • Contributed 722 posts on the community forums.
  • Started 141 threads in the forums
  • Answered 2 questions
answered
Senior Member

Change this: ".$settings['locale']."
To this: ".LANGUAGE."
0 replies
B
balin
B
balin 10
Balin
  • Junior Member, joined since
  • Contributed 37 posts on the community forums.
  • Started 9 threads in the forums
  • Started this discussions
  • Answered 1 question
answered
Junior Member

it is not clear to me exactly which to replace

if (file_exists(INFUSIONS."cookiebar_panel/locale/".$settings['LANGUAGE'].".php"wink) {

the same error

File: cookiebar_panel.php
Page: /index.php?lang=English
Line: 21
Error message: Undefined variable: settings
0 replies

Category Forum

Upgrading issues - 9

Labels

Statistics

  • Views 0 views
  • Posts 33 posts
  • Votes 0 votes
  • Topic users 5 members

5 participants

C
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,841 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions
K
K
karrak 32
Van mi sosem változik..smile
  • Senior Member, joined since
  • Contributed 309 posts on the community forums.
  • Started 94 threads in the forums
  • Answered 1 question
G
G
Energy can neither be created nor destroyed; only transformed !
  • Senior Member, joined since
  • Contributed 722 posts on the community forums.
  • Started 141 threads in the forums
  • Answered 2 questions
B
B
balin 10
Balin
  • Junior Member, joined since
  • Contributed 37 posts on the community forums.
  • Started 9 threads in the forums
  • Started this discussions
  • Answered 1 question
M
M
https://fusion.bltfm.hu/
  • Junior Member, joined since
  • Contributed 48 posts on the community forums.
  • Started 3 threads in the forums
  • Answered 1 question

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet