Let us know!
Unable to acess UI -> Blocks

Hi,

i recently installed Codoforum. Now that I access to my admin panel, and UI and BLOCKS. I get this;


Warning: Invalid argument supplied for foreach() in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 15

Warning: Invalid argument supplied for foreach() in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 15

Warning: array_merge(): Argument #1 is not an array in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 16

Warning: Invalid argument supplied for foreach() in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 15

Warning: array_merge(): Argument #1 is not an array in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 16

Warning: Invalid argument supplied for foreach() in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 15

Warning: array_merge(): Argument #1 is not an array in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 16

Warning: Invalid argument supplied for foreach() in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 15

Warning: array_merge(): Argument #1 is not an array in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 16

Warning: Invalid argument supplied for foreach() in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 15

Warning: array_merge(): Argument #1 is not an array in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 16

Warning: Invalid argument supplied for foreach() in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 15

Warning: array_merge(): Argument #1 is not an array in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 16

Warning: Invalid argument supplied for foreach() in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 15

Warning: array_merge(): Argument #1 is not an array in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 16

Warning: array_merge(): Argument #1 is not an array in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 48

Warning: Invalid argument supplied for foreach() in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 51

I can see the section, but if I add, I can'T choose where I want to put it!

For information, I use the gaming theme : battledark

Also, I want to use my forum in French, but all the accents are not supported.

Tank you!

Hi, i recently installed Codoforum. Now that I access to my admin panel, and UI and BLOCKS. I get this; ```` Warning: Invalid argument supplied for foreach() in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 15 Warning: Invalid argument supplied for foreach() in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 15 Warning: array_merge(): Argument #1 is not an array in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 16 Warning: Invalid argument supplied for foreach() in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 15 Warning: array_merge(): Argument #1 is not an array in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 16 Warning: Invalid argument supplied for foreach() in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 15 Warning: array_merge(): Argument #1 is not an array in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 16 Warning: Invalid argument supplied for foreach() in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 15 Warning: array_merge(): Argument #1 is not an array in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 16 Warning: Invalid argument supplied for foreach() in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 15 Warning: array_merge(): Argument #1 is not an array in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 16 Warning: Invalid argument supplied for foreach() in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 15 Warning: array_merge(): Argument #1 is not an array in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 16 Warning: Invalid argument supplied for foreach() in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 15 Warning: array_merge(): Argument #1 is not an array in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 16 Warning: array_merge(): Argument #1 is not an array in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 48 Warning: Invalid argument supplied for foreach() in /home/web7943/web/forum/admin/modules/ui/blocks.php on line 51 ```` I can see the section, but if I add, I can'T choose where I want to put it! For information, I use the gaming theme : battledark Also, I want to use my forum in French, but all the accents are not supported. Tank you!

Hi,

Your error looks server-speicific.
Can you provide us FTP access to your server ?
We will fix the problem.

Also, I want to use my forum in French, but all the accents are not supported.

What to do you mean by "accents are not supported" ?
Can you provide us more details ?

Hi, Your error looks server-speicific. Can you provide us FTP access to your server ? We will fix the problem. >Also, I want to use my forum in French, but all the accents are not supported. What to do you mean by "accents are not supported" ? Can you provide us more details ?

Sure, I can give you a FTP acess.

For the accents, for example, I want to create a post;

Bonjour à tous et bienvenue sur ce site!

The result will be;

Bonjour

It will stop to the à. I am now trying to build my own french translation.

Sure, I can give you a FTP acess. For the accents, for example, I want to create a post; > Bonjour à tous et bienvenue sur ce site! The result will be; > Bonjour It will stop to the à. I am now trying to build my own french translation.

Hi,

It does work in our localhost and even here :

test: Bonjour à tous et bienvenue sur ce site!

You can send us the FTP details via email to admin[@]codologic.com

PS: Include a link to this post for reference

Hi, It does work in our localhost and even here : test: Bonjour à tous et bienvenue sur ce site! You can send us the FTP details via email to admin[@]codologic.com PS: Include a link to this post for reference
edited Dec 26 '14 at 5:34 pm

Hi,

It does work in our localhost and even here :

test: Bonjour à tous et bienvenue sur ce site!

You can send us the FTP details via email to admin[@]codologic.com

PS: Include a link to this post for reference

Why email from this topic with this post came to my mail box right now?

>Hi, >It does work in our localhost and even here : >test: Bonjour à tous et bienvenue sur ce site! >You can send us the FTP details via email to admin[@]codologic.com >PS: Include a link to this post for reference Why email from this topic with this post came to my mail box right now?

@gz06geo I receive an email for you post : Avatar not appear in chat . I am not subscribe to this post and didn't write any answer.
Also, I receive this email;
549dc9265ce63.png

Note that we can see the email of other user, this is not secure and private!

Please fix that!

@adesh I will send the FTP details soon. My hosting have a problem with the FTP.I don't forget.

@gz06geo I receive an email for you post : [Avatar not appear in chat](http://codologic.com/forum/index.php?u=/topic/1562/avatar-not-appear-in-chat "Avatar not appear in chat") . I am not subscribe to this post and didn't write any answer. Also, I receive this email; ![549dc9265ce63.png](serve/attachment&path=549dc9265ce63.png) **Note that we can see the email of other user, this is not secure and private!** Please fix that! @adesh I will send the FTP details soon. My hosting have a problem with the FTP.I don't forget.

Hi,
I've been working with phpbb for 13 years, so I know a little bit about php.

This is a fresh install v3.0.2 and getting the same error.

Warning: Invalid argument supplied for foreach() in /customers

and

httpd.www/admin/modules/ui/blocks.php on line 15 Warning: array_merge(): Argument #1 is not an array in ...

I'm very new to codoforum, just installed it and I am very exited to start to work with it.
Noticed there is no import option for phpbb, any plans or tricks to import old posts?

Thanks for making this software. I hope to be using it for a long time.

Hi, I've been working with phpbb for 13 years, so I know a little bit about php. This is a fresh install v3.0.2 and getting the same error. ```` Warning: Invalid argument supplied for foreach() in /customers ```` and ```` httpd.www/admin/modules/ui/blocks.php on line 15 Warning: array_merge(): Argument #1 is not an array in ... ```` I'm very new to codoforum, just installed it and I am very exited to start to work with it. Noticed there is no import option for phpbb, any plans or tricks to import old posts? Thanks for making this software. I hope to be using it for a long time.

Hi,

Please try following:

Open admin/modules/ui/blocks.php

Replace the function glob_recursive, i.e replace

if (!function_exists('glob_recursive')) {

// Does not support flag GLOB_BRACE        
    function glob_recursive($pattern, $flags = 0) {
        $files = glob($pattern, $flags);
        foreach (glob(dirname($pattern) . '/*', GLOB_ONLYDIR | GLOB_NOSORT) as $dir) {
            $files = array_merge($files, glob_recursive($dir . '/' . basename($pattern), $flags));
        }
        return $files;
    }

}

with

if (!function_exists('glob_recursive')) {

// Does not support flag GLOB_BRACE        
    function glob_recursive($pattern, $flags = 0) {

        $matched_files = glob($pattern, $flags);

        $matched_dirs = glob(dirname($pattern) . '/*', GLOB_ONLYDIR | GLOB_NOSORT);
        $dirs = $matched_dirs ? $matched_dirs : array();
        $files = $matched_files ? $matched_files : array();
        foreach ($dirs as $dir) {
            $files = array_merge($files, glob_recursive($dir . '/' . basename($pattern), $flags));
        }
        return $files;
    }

}
Hi, Please try following: Open admin/modules/ui/blocks.php Replace the function glob_recursive, i.e replace ``` if (!function_exists('glob_recursive')) { // Does not support flag GLOB_BRACE function glob_recursive($pattern, $flags = 0) { $files = glob($pattern, $flags); foreach (glob(dirname($pattern) . '/*', GLOB_ONLYDIR | GLOB_NOSORT) as $dir) { $files = array_merge($files, glob_recursive($dir . '/' . basename($pattern), $flags)); } return $files; } } ``` with ``` if (!function_exists('glob_recursive')) { // Does not support flag GLOB_BRACE function glob_recursive($pattern, $flags = 0) { $matched_files = glob($pattern, $flags); $matched_dirs = glob(dirname($pattern) . '/*', GLOB_ONLYDIR | GLOB_NOSORT); $dirs = $matched_dirs ? $matched_dirs : array(); $files = $matched_files ? $matched_files : array(); foreach ($dirs as $dir) { $files = array_merge($files, glob_recursive($dir . '/' . basename($pattern), $flags)); } return $files; } } ```
349
9
3
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft