SentiJB Posted May 21, 2021 Share Posted May 21, 2021 in admin i accidently disabled Caching now nothing database driven works anymore in front end of shop :s get a blank page. how can i fix this :s Link to comment Share on other sites More sharing options...
bsmither Posted May 21, 2021 Share Posted May 21, 2021 That is implausible. But, let's see if there are any errors reported by PHP: https://forums.cubecart.com/topic/51550-how-to-create-the-error-log/ Link to comment Share on other sites More sharing options...
SentiJB Posted May 21, 2021 Author Share Posted May 21, 2021 i upgraded also to latest version . there's a problem with the hook loaders it seem [<strong>Notice</strong>] hookloader.class.php:298 - Error: Hook 'dynamic_category_content/hooks/class.catalogue.category_product_list.php' was not found Link to comment Share on other sites More sharing options...
bsmither Posted May 21, 2021 Share Posted May 21, 2021 That is a Notice from CubeCart. A missing hook (or a missing Dynamic Category Content extension) would not cause (rather, should not cause) a blank screen. The error_log may have more clues. Link to comment Share on other sites More sharing options...
SentiJB Posted May 21, 2021 Author Share Posted May 21, 2021 Quote If the problem is with CubeCart, and you get the blank page, there should be a new file named error_log in the main folder. i get the blank page but no error_log is created in main folder only problem is the catalogue page. all rest of table data is pulled from db ( eg account ) Link to comment Share on other sites More sharing options...
bsmither Posted May 21, 2021 Share Posted May 21, 2021 Just to confirm, CubeCart was updated to CC642? (As opposed to CC643 - released yesterday? I haven't confirmed anything about CC643, yet.) Link to comment Share on other sites More sharing options...
SentiJB Posted May 21, 2021 Author Share Posted May 21, 2021 from 642 to 643 and the problem is , i didn't download everything as a backup only the files i changed :s Link to comment Share on other sites More sharing options...
bsmither Posted May 22, 2021 Share Posted May 22, 2021 I believe you can still get into admin? If so, click the PHP Info link at the bottom of the left-side Navigation panel. On this page, scroll to the Core table, and scan for the rows for 'error_log' and 'log_errors' -- Just on the off-chance your hosting provider has locked the error_log to be written someplace specific. Link to comment Share on other sites More sharing options...
SentiJB Posted May 22, 2021 Author Share Posted May 22, 2021 Directive Local Value Master Value error_log error_log no value log_errors On Off Link to comment Share on other sites More sharing options...
bsmither Posted May 22, 2021 Share Posted May 22, 2021 So, we now have to assume that CubeCart is getting to a point where it simply exits. Sometimes that happens when there is a syntax error in a skin template, as Smarty seems to be reluctant to announce such problems. We know CubeCart is at least checking on the validity of that plugin. If you haven't already, verify that the plugin exists and that all the hook files are present according to the plugin's config.xml file. Link to comment Share on other sites More sharing options...
SentiJB Posted May 22, 2021 Author Share Posted May 22, 2021 now i got the error log [22-May-2021 01:47:28 Europe/Brussels] PHP Notice: Error: Hook 'dynamic_category_content/hooks/class.catalogue.category_product_list.php' was not found in /customers/e/4/b/aquariumlovers.be/httpd.www/classes/hookloader.class.php on line 298 [22-May-2021 01:47:28 Europe/Brussels] PHP Notice: Undefined variable: list in /customers/e/4/b/aquariumlovers.be/httpd.www/classes/catalogue.class.php on line 776 [22-May-2021 01:47:28 Europe/Brussels] PHP Notice: Error: Hook 'dynamic_category_content/hooks/class.cubecart.pre_display_category.php' was not found in /customers/e/4/b/aquariumlovers.be/httpd.www/classes/hookloader.class.php on line 298 [22-May-2021 01:49:09 Europe/Brussels] PHP Notice: Error: Hook 'dynamic_category_content/hooks/class.catalogue.category_product_list.php' was not found in /customers/e/4/b/aquariumlovers.be/httpd.www/classes/hookloader.class.php on line 298 [22-May-2021 01:49:09 Europe/Brussels] PHP Notice: Undefined variable: list in /customers/e/4/b/aquariumlovers.be/httpd.www/classes/catalogue.class.php on line 776 [22-May-2021 01:49:09 Europe/Brussels] PHP Notice: Error: Hook 'dynamic_category_content/hooks/class.cubecart.pre_display_category.php' was not found in /customers/e/4/b/aquariumlovers.be/httpd.www/classes/hookloader.class.php on line 298 [22-May-2021 01:49:53 Europe/Brussels] PHP Notice: Error: Hook 'dynamic_category_content/hooks/class.catalogue.category_product_list.php' was not found in /customers/e/4/b/aquariumlovers.be/httpd.www/classes/hookloader.class.php on line 298 [22-May-2021 01:49:53 Europe/Brussels] PHP Notice: Undefined variable: list in /customers/e/4/b/aquariumlovers.be/httpd.www/classes/catalogue.class.php on line 758 [22-May-2021 01:49:53 Europe/Brussels] PHP Notice: Error: Hook 'dynamic_category_content/hooks/class.cubecart.pre_display_category.php' was not found in /customers/e/4/b/aquariumlovers.be/httpd.www/classes/hookloader.class.php on line 298 [22-May-2021 01:49:55 Europe/Brussels] PHP Notice: Error: Hook 'dynamic_category_content/hooks/class.catalogue.category_product_list.php' was not found in /customers/e/4/b/aquariumlovers.be/httpd.www/classes/hookloader.class.php on line 298 [22-May-2021 01:49:55 Europe/Brussels] PHP Notice: Undefined variable: list in /customers/e/4/b/aquariumlovers.be/httpd.www/classes/catalogue.class.php on line 758 [22-May-2021 01:49:55 Europe/Brussels] PHP Notice: Error: Hook 'dynamic_category_content/hooks/class.cubecart.pre_display_category.php' was not found in /customers/e/4/b/aquariumlovers.be/httpd.www/classes/hookloader.class.php on line 298 [22-May-2021 01:49:56 Europe/Brussels] PHP Notice: Error: Hook 'dynamic_category_content/hooks/class.catalogue.category_product_list.php' was not found in /customers/e/4/b/aquariumlovers.be/httpd.www/classes/hookloader.class.php on line 298 [22-May-2021 01:49:56 Europe/Brussels] PHP Notice: Undefined variable: list in /customers/e/4/b/aquariumlovers.be/httpd.www/classes/catalogue.class.php on line 758 [22-May-2021 01:49:56 Europe/Brussels] PHP Notice: Error: Hook 'dynamic_category_content/hooks/class.cubecart.pre_display_category.php' was not found in /customers/e/4/b/aquariumlovers.be/httpd.www/classes/hookloader.class.php on line 298 [22-May-2021 01:49:57 Europe/Brussels] PHP Notice: Error: Hook 'dynamic_category_content/hooks/class.catalogue.category_product_list.php' was not found in /customers/e/4/b/aquariumlovers.be/httpd.www/classes/hookloader.class.php on line 298 [22-May-2021 01:49:57 Europe/Brussels] PHP Notice: Undefined variable: list in /customers/e/4/b/aquariumlovers.be/httpd.www/classes/catalogue.class.php on line 758 [22-May-2021 01:49:57 Europe/Brussels] PHP Notice: Error: Hook 'dynamic_category_content/hooks/class.cubecart.pre_display_category.php' was not found in /customers/e/4/b/aquariumlovers.be/httpd.www/classes/hookloader.class.php on line 298 [22-May-2021 01:50:16 Europe/Brussels] PHP Notice: Error: Hook 'dynamic_category_content/hooks/admin.navigation.php' was not found in /customers/e/4/b/aquariumlovers.be/httpd.www/classes/hookloader.class.php on line 298 [22-May-2021 01:50:16 Europe/Brussels] PHP Notice: Error: Hook 'dynamic_category_content/hooks/admin.tabs.php' was not found in /customers/e/4/b/aquariumlovers.be/httpd.www/classes/hookloader.class.php on line 298 [22-May-2021 01:50:20 Europe/Brussels] PHP Notice: Error: Hook 'dynamic_category_content/hooks/admin.navigation.php' was not found in /customers/e/4/b/aquariumlovers.be/httpd.www/classes/hookloader.class.php on line 298 [22-May-2021 01:50:20 Europe/Brussels] PHP Notice: Error: Hook 'dynamic_category_content/hooks/admin.tabs.php' was not found in /customers/e/4/b/aquariumlovers.be/httpd.www/classes/hookloader.class.php on line 298 [22-May-2021 01:52:43 Europe/Brussels] PHP Notice: Error: Hook 'dynamic_category_content/hooks/admin.navigation.php' was not found in /customers/e/4/b/aquariumlovers.be/httpd.www/classes/hookloader.class.php on line 298 [22-May-2021 01:52:43 Europe/Brussels] PHP Notice: Error: Hook 'dynamic_category_content/hooks/admin.tabs.php' was not found in /customers/e/4/b/aquariumlovers.be/httpd.www/classes/hookloader.class.php on line 298 [22-May-2021 01:55:42 Europe/Brussels] PHP Notice: Error: Hook 'dynamic_category_content/hooks/class.catalogue.category_product_list.php' was not found in /customers/e/4/b/aquariumlovers.be/httpd.www/classes/hookloader.class.php on line 298 [22-May-2021 01:55:42 Europe/Brussels] PHP Notice: Undefined variable: list in /customers/e/4/b/aquariumlovers.be/httpd.www/classes/catalogue.class.php on line 758 [22-May-2021 01:55:42 Europe/Brussels] PHP Notice: Error: Hook 'dynamic_category_content/hooks/class.cubecart.pre_display_category.php' was not found in /customers/e/4/b/aquariumlovers.be/httpd.www/classes/hookloader.class.php on line 298 [22-May-2021 01:55:50 Europe/Brussels] PHP Notice: Error: Hook 'dynamic_category_content/hooks/class.catalogue.category_product_list.php' was not found in /customers/e/4/b/aquariumlovers.be/httpd.www/classes/hookloader.class.php on line 298 [22-May-2021 01:55:50 Europe/Brussels] PHP Notice: Undefined variable: list in /customers/e/4/b/aquariumlovers.be/httpd.www/classes/catalogue.class.php on line 758 [22-May-2021 01:55:50 Europe/Brussels] PHP Notice: Error: Hook 6 minutes ago, bsmither said: So, we now have to assume that CubeCart is getting to a point where it simply exits. Sometimes that happens when there is a syntax error in a skin template, as Smarty seems to be reluctant to announce such problems. We know CubeCart is at least checking on the validity of that plugin. If you haven't already, verify that the plugin exists and that all the hook files are present according to the plugin's config.xml file. i didn't alter anything in the skin template or class , will add all the hooks in the file manually again and will see if it works. when i change the skin , it doesn't do catalogue either Link to comment Share on other sites More sharing options...
bsmither Posted May 22, 2021 Share Posted May 22, 2021 They are all Notices concerning that plugin. Are the files in the plugin's /hooks/ directory present? As an experiment, let's enable safe mode from all the plugins and code snippets. In the file /includes/globals.inc.php, add the following just before the last line: $glob['safe_mode'] = true; // Set to true to disable hooks and code snippets, 'hooks' to disable code hooks and 'snippets' to disable code snippets Link to comment Share on other sites More sharing options...
SentiJB Posted May 22, 2021 Author Share Posted May 22, 2021 first i uploaded all original files (what has to do something with catalogue) from cubecart , didn't work. still white screen. after putting in all the hooks , now it works again :s Link to comment Share on other sites More sharing options...
bsmither Posted May 22, 2021 Share Posted May 22, 2021 So to conclude, the database has references to the various plugins and their hooks, but one or more were missing. Restoring the missing hooks/plugins allowed CubeCart to finally display pages. We would have really liked to have explored this more. But, I understand that getting the store up and running is much more important. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.