UNA Page BUG page/edit-persons-cover

My UNA site has a problem with
The side:
page/edit-persons-cover? id = 21
it cannot be updated.
Bug
I hope that can be helped.
Here error message from the server:
mod_fcgid: stderr: PHP Warning: chmod(): open_basedir restriction in effect. File(/var/www/*****/) is not within the allowed path(s): (/var/www/******/******.com/:/tmp/) in /var/www/******/******.com/httpsdocs/***********/inc/classes/BxDolStorageLocal.php on line 142, referer: https:/*****/********.com/
Database error
Query:
SELECT ``.* FROM `` WHERE 1 AND ``.`content_id` = :id
Mysql error:
Incorrect table name ''
Location:
The error was found in getAllWithKey function in the file /var/www/******/******.com/httpsdocs/******/modules/base/general/classes/BxBaseModGeneralDb.php at line 224.
collation_connection:
utf8mb4_unicode_ci
Debug backtrace:
Array
(
[0] => Array
(
[file] => /var/www/******/******.com/httpsdocs/******/inc/classes/BxDolDb.php
[line] => 1191
[function] => execute
[class] => PDOStatement
[type] => ->
[args] => Array
(
[0] =>
)
)
[1] => Array
(
[file] => /var/www/******/******.com/httpsdocs/******/inc/classes/BxDolDb.php
[line] => 1174
[function] => executeStatementException
[class] => BxDolDb
[type] => ->
[args] => Array
(
[0] => PDOStatement Object
(
[queryString] => SELECT ``.* FROM `` WHERE 1 AND ``.`content_id` = :id
)
[1] => Array
(
)
[2] =>
)
)
[2] => Array
(
[file] => /var/www/******/******.com/httpsdocs/******/inc/classes/BxDolDb.php
[line] => 538
[function] => executeStatement
[class] => BxDolDb
[type] => ->
[args] => Array
(
[0] => PDOStatement Object
(
[queryString] => SELECT ``.* FROM `` WHERE 1 AND ``.`content_id` = :id
)
[1] => Array
(
)
[2] =>
[3] => 1103
)
)
[3] => Array
(
[file] => /var/www/******/******.com/httpsdocs/******/inc/classes/BxDolDb.php
[line] => 366
[function] => res
[class] => BxDolDb
[type] => ->
[args] => Array
(
[0] => PDOStatement Object
(
[queryString] => SELECT ``.* FROM `` WHERE 1 AND ``.`content_id` = :id
)
[1] => Array
(
[id] => 18
)
)
)
[4] => Array
(
[file] => /var/www/******/******.com/httpsdocs/******/inc/classes/BxDolDb.php
[line] => 441
[function] => getFirstRow
[class] => BxDolDb
[type] => ->
[args] => Array
(
[0] => PDOStatement Object
(
[queryString] => SELECT ``.* FROM `` WHERE 1 AND ``.`content_id` = :id
)
[1] => Array
(
[id] => 18
)
[2] => 2
)
)
[5] => Array
(
[file] => /var/www/******/******.com/httpsdocs/******/modules/base/general/classes/BxBaseModGeneralDb.php
[line] => 224
[function] => getAllWithKey
[class] => BxDolDb
[type] => ->
[args] => Array
(
[0] => PDOStatement Object
(
[queryString] => SELECT ``.* FROM `` WHERE 1 AND ``.`content_id` = :id
)
[1] =>
[2] => Array
(
[id] => 18
)
)
)
[6] => Array
(
[file] => /var/www/******/******.com/httpsdocs/******/studio/template/scripts/BxBaseStudioFormsField.php
[line] => 418
[function] => getNestedBy
[class] => BxBaseModGeneralDb
[type] => ->
[args] => Array
(
[0] => Array
(
[type] => content_id
[id] => 18
[key_name] =>
)
[1] =>
)
)
[7] => Array
(
[file] => /var/www/******/******.com/httpsdocs/******/studio/template/scripts/BxBaseStudioFormsField.php
[line] => 177
[function] => checkRateableFiledValue
[class] => BxBaseStudioFormsField
[type] => ->
[args] => Array
(
[0] => picture
[1] => bx_persons
[2] => bx_person
[3] => a:1:{i:0;s:23:"bx_persons_picture_crop";}
)
)
[8] => Array
(
[file] => /var/www/******/******.com/httpsdocs/******/studio/template/scripts/BxBaseStudioFormsField.php
[line] => 96
[function] => getCodeEdit
[class] => BxBaseStudioFormsField
[type] => ->
[args] => Array
(
[0] => edit
[1] => sys_studio_forms_fields
)
)
[9] => Array
(
[file] => /var/www/******/******.com/httpsdocs/******/studio/template/scripts/BxBaseStudioFormsFields.php
[line] => 91
[function] => getCode
[class] => BxBaseStudioFormsField
[type] => ->
[args] => Array
(
[0] => edit
[1] => sys_studio_forms_fields
)
)
[10] => Array
(
[file] => /var/www/******/******.com/httpsdocs/******/grid.php
[line] => 31
[function] => performActionEdit
[class] => BxBaseStudioFormsFields
[type] => ->
[args] => Array
(
)
)

  • 379
  • More
Replies (8)
    • Hello Juergen !

      It seems you need to oodify the open_basedir settings in your PHP configuration. Better to have there "no value".

      • Hello Leonid,
        had worked to update cover
        Thanks for the tip
        but have more BUG
        Load images in MODUL custom (edit account or create account) also BUG
        Can't upload pictures as there is no fixed selection.
        Also BUG with video
        Upload and record ok.
        But not visible on the side.
        Wanted to buy modules in a few months. So that the productive page can go online
        But that wouldn't be a good idea at the moment

        • Plz specify what error do you have in every described case?

          • so
            open_basedir
            doesn't seem to be the problem.
            update cover
            The problem is back

            • So it needs to check the error log then to get what's wrong there.

              • Hello Leonid,
                the UNA Mem memory
                for temporary storage
                was problem for updating pictures and update cover.
                Videos cannot be played.
                Username is not shown after registration.
                Idas is currently the biggest problem.
                Error Report:

                mod_fcgid: stderr: thrown in /var/www/********/******.comhttpsdocs/********/inc/classes/BxDolLiveUpdates.php on line 200, referer: https://******.com/page/view-album-media?id=26&context=album&autoplay=1
                [Wed Apr 07 15:24:28.390721 2021] [fcgid:warn] [pid 2500] [client 206.36.200.95:45312] mod_fcgid: stderr: thrown in /var/www/******/******.com/httpsdocs/********/inc/classes/BxDolLiveUpdates.php on line 200, referer: https://******.com/page/view-album-media?id=26&context=album&autoplay=1
                [Wed Apr 07 15:24:28.390670 2021] [fcgid:warn] [pid 2500] [client 206.36.200.95:45312] mod_fcgid: stderr: #3 /var/www/******/******.com/httpsdocs/********/inc/classes/BxDolLiveUpdates.php(113): BxDolLiveUpdates->_getCachedSystems(), referer: https://******.com/page/view-album-media?id=26&context=album&autoplay=1

                • Strange, the 200 of inc/classes/BxDolLiveUpdates.php file has the following view:

                  return $this->_oQuery->genDbCacheKey($this->{'_sCacheKey' . ucfirst($sType)});

                  I may suggest that smth wrong with available memory size.

                  • Hello Leonid,
                    had increased the memory limit to 328M
                    content deleted in cache and cache_public

                    I played back an older backup.

                    Pages can update

                    but the following Apache errors:

                    mod_fcgid: stderr: PHP Notice: Trying to access array offset on value of type null in /var/www/*******/my.site.com/httpsdocs/******/inc/classes/ BxDolVoteReactions.php on line 101, referer: https://my.site.com/page/view-persons-profile?id=28

                    Login or Join to comment.