Jump to content
thirty bees forum

Steve

Members
  • Posts

    155
  • Joined

  • Last visited

Everything posted by Steve

  1. So I wanted to go to PHP 7.1, I copied the MySQL folder, but I forgot to also copy the htdocs folder. Stupid I know. Now I do have a backup htdocs from a few weeks back. And I only changed stuff a few days ago, so the files should be still relevant. I also still have the mysql data folder from a few hours back. When I tried to copy the old htdocs folder and the new DB backup, I got on the homepage with all content wihtout problems, but when I tried to access other pages, I got a 404 error. Can I still solve it this way or should I do something else? Thanks! Edit: I also tried using the old htdocs and mysql from a few weeks back (the same ones), but I get these errors: ``` [ThirtyBeesDatabaseException] Table 'webshop.tbsmartylazy_cache' doesn't exist in engine DELETE FROM tb_smarty_lazy_cache WHERE template_hash='19e2980ce3d69dd779f122109efef95d' at line 849 in file classes/db/Db.php 844. if ($webserviceCall && $errno) { 845. $dbg = debugbacktrace(); 846. WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97); 847. } elseif (PSDEBUGSQL_ && $errno && !defined('TBINSTALLATIONINPROGRESS')) { 848. if ($sql) { 849. throw new PrestaShopDatabaseException($this->getMsgError().' '.$sql.''); 850. } 851. 852. throw new PrestaShopDatabaseException($this->getMsgError()); 853. } 854. } DbCore->displayError - [line 488 - classes/db/Db.php] - [1 Arguments] DbCore->query - [line 675 - classes/db/Db.php] - [1 Arguments] DbCore->execute - [line 128 - classes/SmartyCustom.php] - [2 Arguments] SmartyCustomCore->deletefromlazycache - [line 150 - classes/SmartyCustom.php] - [3 Arguments] SmartyCustomCore->clearCache - [line 3906 - classes/Tools.php] - [3 Arguments] ToolsCore::clearCache - [line 309 - modules/blocknewproducts/blocknewproducts.php] - [3 Arguments] BlockNewProducts->clearCache - [line 68 - modules/blocknewproducts/blocknewproducts.php] BlockNewProducts->__construct - [line - ] ReflectionClass->newInstance - [line 189 - Core/Foundation/IoC/CoreFoundationIoCContainer.php] CoreFoundationIoCContainer->makeInstanceFromClassName - [line 232 - Core/Foundation/IoC/CoreFoundationIoCContainer.php] - [2 Arguments] CoreFoundationIoCContainer->doMake - [line 253 - Core/Foundation/IoC/CoreFoundationIoCContainer.php] - [2 Arguments] CoreFoundationIoCContainer->make - [line 71 - Adapter/AdapterServiceLocator.php] - [1 Arguments] AdapterServiceLocator::get - [line 510 - classes/module/Module.php] - [1 Arguments] ModuleCore::coreLoadModule - [line 461 - classes/module/Module.php] - [1 Arguments] ModuleCore::getInstanceByName - [line 464 - classes/Hook.php] - [1 Arguments] HookCore::execWithoutCache - [line 288 - classes/Hook.php] - [7 Arguments] HookCore::exec - [line 339 - classes/controller/FrontController.php] - [1 Arguments] FrontControllerCore->initContent - [line 11 - override/classes/controller/FrontController.php] FrontController->initContent - [line 121 - controllers/front/PageNotFoundController.php] PageNotFoundControllerCore->initContent - [line 262 - classes/controller/Controller.php] ControllerCore->run - [line 253 - classes/controller/FrontController.php] FrontControllerCore->run - [line 837 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 33 - index.php] ``` I think it has to do with the old version of panda but I can't update it because I also can't access the backoffice.
  2. https://addons.prestashop.com/en/price-management/12794-options-fees-taxes-and-discounts-shipping-cost.html 'motionSeed'.
  3. When I able the module I get the errors: ``` Fatal error: Out of memory (allocated 23068672) (tried to allocate 8192 bytes) in C:xampphtdocswebshopclassesCart.php on line 2364 Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 4096 bytes) in C:xampphtdocswebshopclassesObjectModel.php on line 307 ``` As you can see I have more then enough memory. I contacted the support on 12-20-2018, then send another message on 1-02-2019 and one today. Now I get the this message: ``` Hi, Sorry we cannot give you support for the module for this platform. However, we can help you but this intervention will be paid for. Thanks for your understanding. ``` So in short, bad support from these guys. They somehow keep thinking that TB is so much different than PrestaShop 1.6. Note that the module earlier worked perfectly, so it's definitely not TB's fault.
  4. I'm on the xammp download page, the one I should install is 7.1.25 / PHP 7.1.25 right?
  5. Alright will do, should I reinstall xammp or downgrade in another way?
  6. Tab : Associations (500 Internal Server Error) A server error occurred while loading the tabs: some tabs could not be loaded. Please try again by refreshing the page. If you are still encountering this problem, please check your server logs or contact your hosting provider for assistance. These are the logs who are I think for the Error 500. [07-Jan-2019 12:03:18 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\webshop\classes\ObjectModel.php on line 813 [07-Jan-2019 12:03:18 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\webshop\classes\ObjectModel.php on line 813 [07-Jan-2019 12:03:27 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\webshop\modules\blockcart_mod\blockcart_mod.php on line 264 [07-Jan-2019 12:03:28 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\webshop\modules\blockcart_mod\blockcart_mod.php on line 264 [07-Jan-2019 12:09:28 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\webshop\modules\blockcart_mod\blockcart_mod.php on line 264 [07-Jan-2019 12:09:29 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\webshop\modules\blockcart_mod\blockcart_mod.php on line 264 [07-Jan-2019 12:10:02 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\webshop\modules\blockcart_mod\blockcart_mod.php on line 264 However, I also this error when I enable dev_mode: [07-Jan-2019 12:12:56 Europe/Amsterdam] PHP Warning: file_get_contents(C:\xampp\htdocs\webshop/cache/smarty/compile\6b\7e\ff\6b7eff669498a98d31b2d4e59e974e7ca1f66ef5.file.modal.tpl.php): failed to open stream: No such file or directory in C:\xampp\htdocs\webshop\vendor\smarty\smarty\libs\sysplugins\smarty_internal_templatebase.php on line 156 [07-Jan-2019 12:21:13 Europe/Amsterdam] PHP Notice: Undefined index: newps in C:\xampp\htdocs\webshop\vendor\smarty\smarty\libs\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 36 [07-Jan-2019 12:21:13 Europe/Amsterdam] PHP Notice: Trying to get property 'value' of non-object in C:\xampp\htdocs\webshop\vendor\smarty\smarty\libs\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 36 [07-Jan-2019 12:21:13 Europe/Amsterdam] PHP Notice: Undefined index: newps in C:\xampp\htdocs\webshop\vendor\smarty\smarty\libs\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 36 [07-Jan-2019 12:21:13 Europe/Amsterdam] PHP Notice: Trying to get property 'value' of non-object in C:\xampp\htdocs\webshop\vendor\smarty\smarty\libs\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 36 [07-Jan-2019 12:22:00 Europe/Amsterdam] PHP Notice: Undefined index: newps in C:\xampp\htdocs\webshop\vendor\smarty\smarty\libs\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 36 [07-Jan-2019 12:22:00 Europe/Amsterdam] PHP Notice: Trying to get property 'value' of non-object in C:\xampp\htdocs\webshop\vendor\smarty\smarty\libs\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 36 [07-Jan-2019 12:22:00 Europe/Amsterdam] PHP Notice: Undefined index: newps in C:\xampp\htdocs\webshop\vendor\smarty\smarty\libs\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 36 [07-Jan-2019 12:22:00 Europe/Amsterdam] PHP Notice: Trying to get property 'value' of non-object in C:\xampp\htdocs\webshop\vendor\smarty\smarty\libs\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 36 [07-Jan-2019 12:22:38 Europe/Amsterdam] PHP Warning: file_get_contents(C:\xampp\htdocs\webshop/cache/smarty/compile\36\e8\a7\36e8a7167e4e49d2ca67f84ebd835eabd3c3c1d1.file.layout-ajax.tpl.php): failed to open stream: No such file or directory in C:\xampp\htdocs\webshop\vendor\smarty\smarty\libs\sysplugins\smarty_internal_templatebase.php on line 156 I only get the 500 error when I want to edit a product, sometimes I can't even safe because it's loading. I have attached the whole error log. 01546860798264phperrorlog.zip
  7. What I mean by my second question is more clear in my image. I can only translate the links at the 'Custom Links' module, but not the headers of those links. I have already asked on the forum but the support person needs access to my site but I'm currently using XAMMP. Thanks!
  8. So when I want to override the CSS from the default to the Panda theme it doesn't work. I already messaged the dev but he also doesn't know why it doesn't work. I want to edit pa.css when using the panda theme. Default directory: C:\xampp\htdocs\webshop\modules\productarrangement\views\css\pa.css Panda directory: C:\xampp\htdocs\webshop\themes\panda\modules\productarrangement\views\css\pa.css Have I missed something? Thanks!
  9. @tomik When I try to update it it says: 'Unable to check update.' I do have registered my theme though.
  10. Hi, What I use: Thirtybees 1.0.7 Panda theme for TB Theme editor version: v 1.4.4 PHP 7.3 XAMPP When I’m installing Panda theme I get all these errors: ``` Deprecated: The each() function is deprecated. This message will be suppressed on further calls in C:\xampp\htdocs\webshop\vendor\smarty\smarty\libs\sysplugins\smartyinternalcompilebase.php on line 75 Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\webshop\modules\blockcartmod\blockcartmod.php on line 264 Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\webshop\modules\blockcartmod\blockcartmod.php on line 264 [ThirtyBeesException] Syntax error in template "C:\xampp\htdocs\webshop\themes\panda\breadcrumb.tpl" on line 50 " " unclosed {foreach} tag at line 50 in file vendor/smarty/smarty/libs/sysplugins/smartyinternaltemplatecompilerbase.php 45. */ 46. public static $_tag_objects = array(); 47. 48. /** 49. * tag stack 50. * 51. * @var array 52. */ 53. public $_tag_stack = array(); 54. 55. /** Smarty_Internal_TemplateCompilerBase->trigger_template_error - [line 165 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_compilebase.php] - [1 Arguments] Smarty_Internal_CompileBase->closeTag - [line 202 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_compile_if.php] - [2 Arguments] Smarty_Internal_Compile_Ifclose->compile - [line 570 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php] - [5 Arguments] Smarty_Internal_TemplateCompilerBase->callTagCompiler - [line 349 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php] - [3 Arguments] Smarty_Internal_TemplateCompilerBase->compileTag - [line 3684 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_templateparser.php] - [2 Arguments] Smarty_Internal_Templateparser->yy_r59 - [line 4392 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_templateparser.php] Smarty_Internal_Templateparser->yy_reduce - [line 4493 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_templateparser.php] - [1 Arguments] Smarty_Internal_Templateparser->doParse - [line 118 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_smartytemplatecompiler.php] - [2 Arguments] Smarty_Internal_SmartyTemplateCompiler->doCompile - [line 283 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php] - [1 Arguments] Smarty_Internal_TemplateCompilerBase->compileTemplate - [line 197 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php] - [1 Arguments] Smarty_Internal_Template->compileTemplateSource - [line 155 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php] Smarty_Internal_TemplateBase->fetch - [line 442 - classes/SmartyCustom.php] - [7 Arguments] Smarty_Custom_Template->fetch - [line 303 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php] - [7 Arguments] Smarty_Internal_Template->getSubTemplate - [line 481 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code] - [7 Arguments] Warning: file(C:\xampp\htdocs\webshop\vendor\smarty\smarty\libs\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code): failed to open stream: No such file or directory in C:\xampp\htdocs\webshop\classes\exception\PrestaShopException.php on line 184 content_5c1b518dd242c4_92877982 - [line 188 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php] - [1 Arguments] Smarty_Internal_TemplateBase->fetch - [line 442 - classes/SmartyCustom.php] - [7 Arguments] Smarty_Custom_Template->fetch - [line 303 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php] - [7 Arguments] Smarty_Internal_Template->getSubTemplate - [line 38 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code] - [7 Arguments] Warning: file(C:\xampp\htdocs\webshop\vendor\smarty\smarty\libs\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code): failed to open stream: No such file or directory in C:\xampp\htdocs\webshop\classes\exception\PrestaShopException.php on line 184 content_5c1b518dbd1548_03928526 - [line 188 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php] - [1 Arguments] Smarty_Internal_TemplateBase->fetch - [line 174 - classes/SmartyCustom.php] - [7 Arguments] SmartyCustomCore->fetch - [line 414 - classes/controller/Controller.php] - [1 Arguments] ControllerCore->smartyOutputContent - [line 823 - classes/controller/FrontController.php] - [1 Arguments] FrontControllerCore->smartyOutputContent - [line 1017 - classes/controller/FrontController.php] - [1 Arguments] FrontControllerCore->display - [line 280 - classes/controller/Controller.php] ControllerCore->run - [line 253 - classes/controller/FrontController.php] FrontControllerCore->run - [line 837 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 33 - index.php] ``` I can only hover around the home page, when I go to any other page I get these errors. Does anyone know what could be causing this? Thanks! (Just reposting from ST-Themes forum just incase anyone already here knows whats up) Edit: I just tried to reinstall, that did not work.
  11. @dosbiner @datakick's solution worked perfectly, thanks!
  12. It's fixed: DocumentRoot should be "C:/xammp/htdocs/webshop". And the lines were comments. Last question: I see these errors now: on top of my webpage: ``` Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in C:\xampp\htdocs\webshop\classes\Tools.php on line 5278 Deprecated: The each() function is deprecated. This message will be suppressed on further calls in C:\xampp\htdocs\webshop\vendor\smarty\smarty\libs\sysplugins\smartyinternalcompilebase.php on line 75 ``` Can I ingore those or should I fix them?
  13. I have this in my hosts file: ``` localhost name resolution is handled within DNS itself. 127.0.0.1 localhost ::1 localhost 127.0.0.4 webshop ``` And this in my C:\xampp\apache\conf\extra directory: ``` ##ServerAdmin webmaster@dummy-host.example.com ##DocumentRoot "C:/xampp/htdocs" ##ServerName webshop ##ServerAlias webshop ##ErrorLog "logs/dummy-host.example.com-error.log" ##CustomLog "logs/dummy-host.example.com-access.log" common ##ServerAdmin webmaster@dummy-host2.example.com ##DocumentRoot "C:/xampp/htdocs/dummy-host2.example.com" ##ServerName dummy-host2.example.com ##ErrorLog "logs/dummy-host2.example.com-error.log" ##CustomLog "logs/dummy-host2.example.com-access.log" common ``` I have no idea what to exactly change though, php 5.6 was different if I remember correctly.
  14. I'm finding this in an error.log: ``` [ssl:warn] [pid 11468:tid 672] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name [ssl:warn] [pid 11468:tid 672] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name ```
  15. @steve turn on debug mode on by editing config/defines.inc.php Already have that.
  16. @traumflug Yup, probabaly this module: http://nemops.com/free-prestashop-module-product-access/
  17. I did an overide of htdocs and the mysql 'data' folder. I can get to phpmyadmin without problems, but when I navigate to my site I get a blank page. Does anyone know why?
  18. I just went to PHP 7.3 and my pages are now blank when I navigate to the shop. I replaced htdocs and mysql with from my old site.
  19. @dosbiner Can I reinstall XAMPP? Or should I do it manually by dwnloading PHP? Because that isn't working for me.
  20. Steve

    HTTP Error 500

    @traumflug How can I safely upgrade to PHP 7? Can I reinstall XAMPP with PHP 7? Thanks!
  21. @haylau Was the problem just after switching to PHP7? Many modules are not compliant I still haven't switched, so no. I'm trying to do that but I'm not sure how to do that without ruining my databases.
  22. @haylau Do you have any installed modules that add tabs to the product page in the backoffice? Yes, Product Arrangement and Restrict Access. I think it started when I installed Restrict Access. Also please note that I'm using PHP 5.6, I have had some memory problems so I'm currently trying to upgrade to PHP 7.
  23. I almost always get it when I'm at Catalog > Products adding/editing products. Found this thread: https://stackoverflow.com/questions/34726844/prestashop-endless-spinning-product-save-button but I'm not sure if I should try the solutions posted there? (I already tried using another browser) I'm on localhost. Does anyone know how I could fix this? Tab : Attachments (500 Internal Server Error) A server error occurred while loading the tabs: some tabs could not be loaded. Please try again by refreshing the page. If you are still encountering this problem, please check your server logs or contact your hosting provider for assistance.
×
×
  • Create New...