Vous n'êtes pas identifié(e).


#1 Re : [dc2] Questions et aide » Passer de PHP 5.6 à PHP 7.x => MSQL MSQLI » 2021-02-28 19:14:19

After checking error.log file

[28-Feb-2021 18:58:47 UTC] PHP Fatal error:  'break' not in the 'loop' or 'switch' context in /home/routpyue/public_html/plugins/postNotification/behaviors.php on line 132

I change "break" to "loop" in line 132 and now blog is working again. :)

if(count($ulist)==0) break;


if(count($ulist)==0) loop;

#2 Re : [dc2] Questions et aide » Passer de PHP 5.6 à PHP 7.x => MSQL MSQLI » 2021-02-28 18:41:08

Unfortunately, this is not helped in my case.

Here is the part of my config.php

* @package Dotclear
* @copyright Olivier Meunier & Association Dotclear
* @copyright GPL-2.0-only

if (!defined('DC_RC_PATH')) {return;}

// Database driver (mysql (deprecated, disabled in PHP7), mysqli, mysqlimb4 (full UTF-8), pgsql, sqlite)

// Database hostname (usually "localhost")

// Database user

// Database password

// Database name

// Tables' prefix

// Persistent database connection
define('DC_DBPERSIST', false);

#3 English » Open Graph codes inserted by plugin to post but not on general page » 2021-01-04 17:19:33

Réponses : 1

I installed plugin socialMeta and Open Graph codes are inserted to post, but not on the general blog entry page.

I tried to put lines manually to __layout.html but no luck.

Also, I can't control what image plugin will insert into og:image line.

#4 Re : [dc2] Thèmes » [Theme Avebury] Support » 2020-12-24 09:27:40

Hi Ben,

Great. Thank you once more.

Merry Christmas and Happy New Year

#5 Re : [dc2] Thèmes » [Theme Avebury] Support » 2020-12-22 19:29:14

Thank you Ben, it looks excellent (as I like it) now. ;)

Just one tiny details I want to adjust.
I changed the width of simplemenu from 80% to 90%, and I want to change the content and sidebar to the same width. Is there some document for customization?
/* -------------------------------------------------------------
--------------------------------------------------------------- */
#wrapper,#simplemenu nav {max-width: 90%;}  /* to be modified by the value of your choice */

#6 Re : [dc2] Thèmes » [Theme Avebury] Support » 2020-12-21 21:34:05

Hi Ben,

I like your theme, but I have one problem.
Everything looks ok on the main page, but when I open some posts, the side menu went down under the post.

Is there a way to lock the size of the post to prevent it to push the sidebar down?

My blog is on

Vous n'êtes pas identifié(e).

Pied de page des forums

Propulsé par FluxBB

Sites map