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.
Sign In
Not a member yet? Click here to register.
Navigation

installation error

Last updated on 4 years ago
subodhsubodh
Posted 5 years ago
I have tested phpfusion 9 RC3 on localhost.
When I tried to install it my webhost it gives following error:

Quote

Warning: ini_set() has been disabled for security reasons in /home/... on line 22

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/..../fusion91/install/index.php:22) in /home/..../fusion91/install/index.php on line 36

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/g..../fusion91/install/index.php:22) in /home/..../fusion91/install/index.php on line 36



I think ini_set() has been disbaled by host as it is shared hosting. Is there any way around to install fusion 9
FalkFalk
Posted 5 years ago
You can just comment it out in all instanced called, like
//ini_set('display_errors', 1);
T
TomJ
Posted 5 years ago
Hey!

I have exactly the same problem. I tried to comment it out, just like Falk suggested but I'm getting the same error. It is shared hosting.
Is there a workaround?
[url=/]Tom[/url]
ChanChan
Posted 5 years ago
Can you show your error logs?
karrakkarrak
Posted 4 years ago
Install error.
step 6.

Notice: Use of undefined constant DB_FORUM_TAGS - assumed 'DB_FORUM_TAGS' in C:\xampp\htdocs\fusion\infusions\forum\infusion.php on line 189
includes/multisite_include.php
Not defined DB_FORUM_TAGS
karrakkarrak
Posted 4 years ago
install only one language forum.
infusion.php

if (function_exists("fusion_get_enabled_languages"wink) {
$enabled_languages = fusion_get_enabled_languages();

Array
(
[English] => English
[Hungarian] => Magyar
)
} else {
$enabled_languages = makefilelist(LOCALE, ".|..", TRUE, "folders"wink;
Array
(
[0] => English
[1] => Hungarian
)
}

Not locale pl Magyar..
there is the language Hungarian
Edited by karrak on 16-07-2016 06:45, 4 years ago
ChanChan
Posted 4 years ago

$translated_langs = array(
        "Chinese_Traditional" => "中文-繁体",
        "Chinese_Simplified"  => "中文-简体",
        "Czech"               => "ÄŒeÅ¡tina",
        "Danish"              => "Dansk",
        "Dutch"               => "Nederlands",
        "English"             => "English",
        "French"              => "Francais",
        "German"              => "Deutsch",
        "Hungarian"           => "Magyar",
        "Italian"             => "Italiano",
        "Lithuanian"          => "Lietuvių",
        "Malay"               => "Melayu",
        "Persian"             => "Persian",
        "Polish"              => "Polski",
        "Russian"             => "Русский",
        "Spanish"             => "Español",
        "Swedish"             => "Svenska",
        "Turkish"             => "Türkiye",
        "Ukrainian"           => "Українська",
        "Norwegian"           => "Norsk"
    );


Hungarian is not Magyar?
karrakkarrak
Posted 4 years ago
if (function_exists("fusion_get_enabled_languages"wink) {
$enabled_languages = fusion_get_enabled_languages();

Array
(
[English] => English
[Hungarian] => Magyar
)
} else {
$enabled_languages = makefilelist(LOCALE, ".|..", TRUE, "folders"wink;
Array
(
[0] => English
[1] => Hungarian
)
}
$enable _languages values: [0] [1]
fusion_get_enabled_languages(); values: [English] [Hungarian]
English == 0
Hungarian == 1 NOT Magyar
It does not fulfill the number of names
[Hungarian] => Magyar
so will the value Magyar non-Hungarian
ChanChan
Posted 4 years ago
OK! I got it.

I overlooked the output there, so is array_keys( fusion_get_enabled_languages() ); to become

array(
0 => "Hungarian",
1 => "English"
);

Thank you for pointing this out.
karrakkarrak
Posted 4 years ago
so good..
You can view all discussion threads in this forum.
You cannot start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
You cannot set up a bounty in this discussion thread.
Moderator: Support Team
Users who participated in discussion: Falk, subodh, Chan, karrak, TomJ,