Jump to content

disabled cache


SentiJB
 Share

Recommended Posts

Posted (edited)

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

 

Edited by SentiJB
Link to comment
Share on other sites

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

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

Posted (edited)
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 )

Edited by SentiJB
Link to comment
Share on other sites

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

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

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

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

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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...