Jump to content
thirty bees forum

haylau

Members
  • Posts

    627
  • Joined

  • Last visited

  • Days Won

    35

Posts posted by haylau

  1. 2 hours ago, MichaelEZ said:

    Well after clicking upgrade, it says upgraded successfully - but shouting label is still present 

    I have noticed that occasionally. Sometimes you need to click 2 or 3 times. I think it may be that if there are a few updated versions between yours and the latest it does 1 at a time 

    • Thanks 1
  2. 7 hours ago, MichaelEZ said:

    I can see wishlist in my list too, but its shouts at me: UPGRADE ME! 😄 thats why i was searching for last version out there. Go check github, ty for advices

    So, you just click the UPGRADE ME button and it should sort itself out

    • Like 1
  3. Found this elsewhere

    Quote

    PS 1.6.1.5, after some combinations were deleted cache_default_attribute was filled with obsolete reference, once following (as stated in one of previous posts above) was executed problem went away:

    
    UPDATE ps_product SET cache_default_attribute = 0;
    UPDATE ps_product_shop SET cache_default_attribute = 0;

    Seems to have worked, the result told me 100 products were affected. Not sure what this has done, or why, but seems to have worked

    • Like 1
  4. I noticed a really weird thing on our category pages, sometimes the price is not shown. It is always the same products, and obviously they do have a price. Once you click through in to the product page the price is shown. I have compared EVERY setting of these products and the settings are identical. Also if I change price, QTY etc then the problem persists

    image.png.edbb24b8fd408b8bf6d9374cdd7629ff.png

     

    So I started checking the tables to see if there were any flags that may be affecting products

     

    And I stumbled upon two settings 

     

    In ps_produc_shop there is a field called cache_default_attribute 

    and in 

    ps_product there is also a field called cache_default_attribute

    There is an entry in the fields that do not show the price. If i remove the value then the price is shown again

    So the question is what are these fields? are they needed? am I safe deleted the contents of those fields?

  5. Solved - I think 

    When I checked the server I noticed that PHP-FHM was disabled. Not sure if i had that enabled or disabled previously. So I think an update over night changed something 

    Anyway, enabled it and all seems to be working - fingers crossed PHP-FHM does not actually introduce any other errors

    • Like 1
  6. Managed to access files and switched on debug.

    Get this on main page 

    ThirtyBeesException
    RecursiveDirectoryIterator::__construct(/home/uboltsrus/public_html/cache/smarty/cache/stfeaturedcategories/1/1/1/3/17_/): failed to open dir: Permission denied
    in file vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_cacheresourcefile.php at line 65
    Source file: vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_cacheresourcefile.php
    46:                }
    47:            }
    48:        }
    49:        if (isset($resource_name)) {
    50:            $_save_stat = $smarty->caching;
    51:            $smarty->caching = Smarty::CACHING_LIFETIME_CURRENT;
    52:            $tpl = new $smarty->template_class($resource_name, $smarty);
    53:            $smarty->caching = $_save_stat;
    54:            // remove from template cache
    55:            $tpl->source; // have the template registered before unset()
    56:            if ($tpl->source->exists) {
    57:                $_resourcename_parts = basename(str_replace('^', '/', $tpl->cached->filepath));
    58:            } else {
    59:                return 0;
    60:            }
    61:        }
    62:        $_count = 0;
    63:        $_time = time();
    64:        if (file_exists($_dir)) {
    65:            $_cacheDirs = new RecursiveDirectoryIterator($_dir);
    66:            $_cache = new RecursiveIteratorIterator($_cacheDirs, RecursiveIteratorIterator::CHILD_FIRST);
    67:            foreach ($_cache as $_file) {
    68:                if (substr(basename($_file->getPathname()), 0, 1) === '.') {
    69:                    continue;
    70:                }
    71:                $_filepath = (string)$_file;
    72:                // directory ?
    73:                if ($_file->isDir()) {
    74:                    if (!$_cache->isDot()) {
    75:                        // delete folder if empty
    Stack trace
    1. vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_cacheresourcefile.php:65 source RecursiveDirectoryIterator->__construct(arguments)
    2. vendor/smarty/smarty/libs/sysplugins/smarty_internal_cacheresource_file.php:186 source Smarty_Internal_Runtime_CacheResourceFile->clear(arguments)
    3. vendor/smarty/smarty/libs/sysplugins/smarty_internal_method_clearcache.php:48 source Smarty_Internal_CacheResource_File->clear(arguments)
    4. vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php:133 source Smarty_Internal_Method_ClearCache->clearCache(arguments)
    5. vendor/smarty/smarty/libs/sysplugins/smarty_internal_data.php:290 source Smarty_Internal_Extension_Handler->_callExternalMethod(arguments)
    6. classes/SmartyCustom.php:274 source Smarty_Internal_Data->__call(arguments)
    7. classes/SmartyCustom.php:227 source SmartyCustomCore->check_template_invalidation(arguments)
    8. classes/module/Module.php:3265 source SmartyCustomCore->createTemplate(arguments)
    9. classes/module/Module.php:3338 source ModuleCore->getCurrentSubTemplate(arguments)
    10. modules/stfeaturedcategories/stfeaturedcategories.php:1510 source ModuleCore->isCached(arguments)
    11. classes/Hook.php:769 source StFeaturedCategories->hookDisplayHome(arguments)
    12. classes/Hook.php:471 source HookCore::coreCallHook(arguments)
    13. classes/Hook.php:288 source HookCore::execWithoutCache(arguments)
    14. controllers/front/IndexController.php:58 source HookCore::exec(arguments)
    15. override/controllers/front/IndexController.php:15 source IndexControllerCore->initContent()
    16. classes/controller/Controller.php:208 source IndexController->initContent()
    17. classes/controller/FrontController.php:255 source ControllerCore->run()
    18. classes/Dispatcher.php:852 source FrontControllerCore->run()
    19. ./index.php:33 source DispatcherCore->dispatch()

    And this on admin

    ThirtyBeesException
    unable to create directory /home/uboltsrus/public_html/cache/smarty/compile/5c/4e/37
    in file vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_writefile.php at line 51
    Source file: vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_writefile.php
    32:        $_file_perms = property_exists($smarty, '_file_perms') ? $smarty->_file_perms : 0644;
    33:        $_dir_perms =
    34:            property_exists($smarty, '_dir_perms') ? (isset($smarty->_dir_perms) ? $smarty->_dir_perms : 0777) : 0771;
    35:        if ($_file_perms !== null) {
    36:            $old_umask = umask(0);
    37:        }
    38:        $_dirpath = dirname($_filepath);
    39:        // if subdirs, create dir structure
    40:        if ($_dirpath !== '.') {
    41:            $i = 0;
    42:            // loop if concurrency problem occurs
    43:            // see https://bugs.php.net/bug.php?id=35326
    44:            while (!is_dir($_dirpath)) {
    45:                if (@mkdir($_dirpath, $_dir_perms, true)) {
    46:                    break;
    47:                }
    48:                clearstatcache();
    49:                if (++$i === 3) {
    50:                    error_reporting($_error_reporting);
    51:                    throw new SmartyException("unable to create directory {$_dirpath}");
    52:                }
    53:                sleep(1);
    54:            }
    55:        }
    56:        // write to tmp file, then move to overt file lock race condition
    57:        $_tmp_file = $_dirpath . DIRECTORY_SEPARATOR . str_replace(array('.', ','), '_', uniqid('wrt', true));
    58:        if (!file_put_contents($_tmp_file, $_contents)) {
    59:            error_reporting($_error_reporting);
    60:            throw new SmartyException("unable to write file {$_tmp_file}");
    61:        }
    Stack trace
    1. vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:209 source Smarty_Internal_Runtime_WriteFile->writeFile(arguments)
    2. vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:184 source Smarty_Template_Compiled->write(arguments)
    3. vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:141 source Smarty_Template_Compiled->compileTemplateSource(arguments)
    4. vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:105 source Smarty_Template_Compiled->process(arguments)
    5. vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216 source Smarty_Template_Compiled->render(arguments)
    6. vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:232 source Smarty_Internal_Template->render(arguments)
    7. vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116 source Smarty_Internal_TemplateBase->_execute(arguments)
    8. classes/SmartyCustom.php:540 source Smarty_Internal_TemplateBase->fetch(arguments)
    9. classes/SmartyCustom.php:515 source Smarty_Custom_Template->fetchWithRetries(arguments)
    10. classes/controller/AdminController.php:2098 source Smarty_Custom_Template->fetch()
    11. classes/controller/Controller.php:226 source AdminControllerCore->display()
    12. classes/Dispatcher.php:852 source ControllerCore->run()
    13. nimda/index.php:63 source DispatcherCore->dispatch()

    Looking for clues as to what may be wrong on the server so it is not about the thirtybees specifically

  7. 1 minute ago, veganline said:

    Doesn't decrypt in my copy of TB (unless I am doing something wrong); I get no report after pressing "decrypt"

    Thanks for trying. I got that also when i tried the ThirtyBees demo but hoped that it was disabled on there

    Stumped now 😞

  8. Can anyone decrypt this 500 error report file for me?

    Something happened on our server last night, i think during a cpanel update but not sure. The issue is wider than thirtybees (also affects wordpress) but I can't get into our back office to do anything so I was hoping the error report might tell me something

    exception_202161095458.txt

  9. Hi

    We are having some unusual errors on one of our installations (imports from Ebay not creating orders correctly)

    I was advised by the app developer (involic) to have a look at some tables in the database (We are on Mariadb)

    Whilst there, I noticed that our tables are a mixture of types and collations (MyISAM / InnoDb (and various collations)

    image.thumb.png.3246309d046dbd54e93dc4e02e41d220.png

     

    So

    1) Does this matter? 

    2) Should they all be the same?

    3) If they should all be the same - what should they be and how would I go about making them all the same 

  10. Add the different attributes here:

    image.png.76868939eeebab3b86c860b965b584d6.png

     

    Then use the product combinations tab to add them in, (use the quantity tab to add the quantities of each combination

     

    image.thumb.png.58739a46f68df6a702861bf6a642c0a7.png

     

    And that ends up looking like this

     

    image.png.b547e2689ac9f596e4d76a328b7ccc00.png

  11. I don't think it is CSS

    Check Preferences > Themes > Advanced settings

    Is the default right column enabled? Is right column enabled on the Index page?

    Also, Block CMS is not really used for the center column it is usually for left / right column and footers

    For text there, you need a different module - Home Text Editor I think it is called ( i don't have it anymore)

     

    - EDIT

     

    Sorry I think the module is now

    Front office Features
    HTML Block v1.0.1 - by thirty bees

    Add custom html or code anywhere in your theme

    -

  12. No system is perfect and that includes google re-captcha . It is not the necessarily the module or the programming or shop system, but that people have many ways to circumvent the system (including, yes, human farms. I am sure I can speak for datakick when he and I suggest people we did not mean one person doing it all, but lareg groupd being paid to target)

    https://www.perimeterx.com/resources/blog/2020/captchas-hard-for-humans-easy-for-bots/

    So, the any module is only part of the armoury.

    Have you installed the bad bots module?

    Have you scanned all the files on the server for issues?

    Have you utilised cloudflare like suggetions on the other threads?

  13. Probably best to stick with one thread. How do you know it is the recaptcha that is not working? Are you using v2 or v3? How do you know it is not a bank of people really creating the accounts to test?

    Have you checked the IP’s are they all one country? Can you block that country

    Stick to one thread then it is easier to piece it all together

×
×
  • Create New...