Author Topic: Message Error  (Read 51 times)

Sam963987

  • Confirmed Member
  • **
  • Posts: 2
  • Karma: +0/-0
Message Error
« on: May 10, 2019, 02:35:47 PM »
Bonjour,
j'ai installé ETANO, mais quand j'arrive sur la page d'accueil une erreur se mets la voici : " Sorry, there has been an error processing your request. Please try again or notify the webmaster about the problem. "

Ceci et une nouvelle installation (recommencer 5x), mais je ne sais pas de ou viens cette erreur. Voici ci-dessou les fichier des logs de l'administration.

Traduction Français/Anglais avec Google traducteur :

Hello,
I installed ETANO, but when I arrive on the home page an error is put here: ""

This and a new installation (start over 5x), but I do not know where this error comes from. Here is the file of the administration logs.

Translation French / English with Google translator:

Code: [Select]
Field 'sess_data' doesn't have a default value
Array
(
    [0] => Array
        (
            [function] => error_handler
            [args] => Array
                (
                    [0] => 256
                    [1] => Field 'sess_data' doesn't have a default value
                    [2] => /home/theislan/public_html/adastratest/includes/user_functions.inc.php
                    [3] => 133
                    [4] => Array
                        (
                            [level_code] => all
                            [_bans] =>
                            [dbtable_prefix] => dsb_
                            [user_id] => 0
                            [now] => 20190510203121
                            [query] => REPLACE INTO `dsb_online` SET `fk_user_id`=0,`sess`='v26marqb87ebgjc01bshij8344',`last_activity`='20190510203121'
                            [res] =>
                        )

                )

        )

    [1] => Array
        (
            [file] => /home/theislan/public_html/adastratest/includes/user_functions.inc.php
            [line] => 133
            [function] => trigger_error
            [args] => Array
                (
                    [0] => Field 'sess_data' doesn't have a default value
                    [1] => 256
                )

        )

    [2] => Array
        (
            [file] => /home/theislan/public_html/adastratest/index.php
            [line] => 19
            [function] => check_login_member
            [args] => Array
                (
                    [0] => all
                )

        )

)

maverick

  • Administrator
  • Veteran Member
  • *****
  • Posts: 3134
  • Karma: +211/-7
    • Maverick Webworks
Re: Message Error
« Reply #1 on: May 10, 2019, 11:42:00 PM »
First make sure that your host server meets the requirements to support the Etano script.
http://www.datemill.com/etano/wiki/doku.php?id=requirements

A few other possibilities were mentioned in this topic:
http://forum.datemill.com/index.php?topic=4277.0

Fusion Responsive Template & Free Mods
http://www.maverickwebworks.com
DO NOT PM me asking for personal help. Post your problem or request in the forums so the entire community can contribute and benefit.

Sam963987

  • Confirmed Member
  • **
  • Posts: 2
  • Karma: +0/-0
Re: Message Error
« Reply #2 on: May 11, 2019, 09:08:07 AM »
hello, thank you for your quick reply! I have all the necessary options to install the CMS, but this error is still active: /
You can read it here: http://tinlife.ml/adastratest/info.php

maverick

  • Administrator
  • Veteran Member
  • *****
  • Posts: 3134
  • Karma: +211/-7
    • Maverick Webworks
Re: Message Error
« Reply #3 on: May 11, 2019, 11:16:24 PM »
Maybe something went wrong during your original setup and install of Etano, did you try doing a fresh install as recommended in this thread?? ...
http://forum.datemill.com/index.php?topic=4277.0
Did you check to see if your MySQL database is running in strict mode??

Fusion Responsive Template & Free Mods
http://www.maverickwebworks.com
DO NOT PM me asking for personal help. Post your problem or request in the forums so the entire community can contribute and benefit.

KHDev

  • Global Moderator
  • Veteran Member
  • *****
  • Posts: 514
  • Karma: +45/-2
  • Etano Contributor (Skins & Mods)
Re: Message Error
« Reply #4 on: May 13, 2019, 07:45:54 AM »

As a temporary fix you could try the following:

in etano > includes > user_functions.inc.php on line 132

replace :

Code: [Select]
$query="REPLACE INTO `{$dbtable_prefix}online` SET `fk_user_id`=$user_id,`sess`='".session_id()."',`last_activity`='$now'";
with

Code: [Select]
$query="REPLACE INTO `{$dbtable_prefix}online` SET `fk_user_id`=$user_id,`sess`='".session_id()."',`last_activity`='$now',`sess_data`=''";