HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Error creating/adding a product into catergory

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#91120 (In Topic #18360)
Avatar

Fan in action

Hi all,
I'm having a bit of difficultly trying to resolve an issue when adding products into a category.
I've created a test category called "Points" and tried to add a product into it. Everything is entered fine, but as a user, when I go into the store I get the following error;

"Critical error – bailing out
This is an error that has been elevated to critical error status because it occurred during the primary error mechanism reporting system itself (possibly due to it occuring within the standard output framework). It may be masking a secondary error that occurred before this, but was never output - if so, it is likely strongly related to this one, thus fixing this will fix the other.
A template file is missing: CATALOGUE_DEFAULT_ENTRY_FIELD_PICTURE (themes/default/templates/CATALOGUE_DEFAULT_ENTRY_FIELD_PICTURE.tpl or an overridden equivalent to this path) (version: 9.0.1, PHP version: 5.3.13, URL: /index.php?page=catalogues&type=category&id=products-home%2Fpoints_2)
Stack trace…

File -> '/home/<username>/public_html/sources/failure.php'
 Line -> 693
 Function -> 'die_html_trace'
 Args -> array

File -> '/home/<username>/public_html/sources/global.php(206) : eval()\'d code'
 Line -> 1009
 Function -> '_fatal_exit'
 Args -> array

File -> '/home/<username>/public_html/sources/tempcode.php'
 Line -> 575
 Function -> 'fatal_exit'
 Args -> array

File -> '/home/<username>/public_html/sources/tempcode.php'
 Line -> 578
 Function -> 'do_template'
 Args -> array

File -> '/home/<username>/public_html/sources/hooks/systems/fields/theme_image.php'
 Line -> 128
 Function -> 'do_template'
 Args -> array

File -> '/home/<username>/public_html/sources/catalogues.php'
 Line -> 688
 Function -> 'render_field_value'
 Class -> 'Hook_fields_theme_image'
 Object -> Hook_fields_theme_image::__set_state(array( ))
 Type -> '->'
 Args -> array

File -> '/home/<username>/public_html/sources/hooks/systems/symbols/CATALOGUE_ENTRY_ALL_FIELD_VALUES.php'
 Line -> 41
 Function -> 'get_catalogue_entry_map'
 Args -> array

File -> '/home/<username>/public_html/sources/symbols.php'
 Line -> 2265
 Function -> 'run'
 Class -> 'Hook_symbol_CATALOGUE_ENTRY_ALL_FIELD_VALUES'
 Object -> Hook_symbol_CATALOGUE_ENTRY_ALL_FIELD_VALUES::__set_state(array( ))
 Type -> '->'
 Args -> array ( 0 => array ( 0 => '19', ), )

File -> '/home/<username>/public_html/sources/tempcode.php(1686) : eval()\'d code'
 Line -> 9
 Function -> 'ecv'
 Args -> array ( 0 => 'EN', 1 => array ( ), 2 => 0, 3 => 'CATALOGUE_ENTRY_ALL_FIELD_VALUES', 4 => array ( 0 => '19', ), )

File -> '/home/<username>/public_html/sources/tempcode.php'
 Line -> 1686
 Function -> 'eval'

File -> '/home/<username>/public_html/sources/tempcode.php'
 Line -> 138
 Function -> 'evaluate'
 Class -> 'ocp_tempcode'
 Object -> object
 Type -> '->'
 Args -> array ( )

File -> '/home/<username>/public_html/sources/tempcode.php(1560) : eval()\'d code'
 Line -> 136
 Function -> 'output_tempcode_parameter'
 Args -> array

File -> '/home/<username>/public_html/sources/tempcode.php'
 Line -> 1560
 Function -> 'eval'

File -> '/home/<username>/public_html/sources/site.php'
 Line -> 725
 Function -> 'evaluate_echo'
 Class -> 'ocp_tempcode'
 Object -> object
 Type -> '->'
 Args -> array ( )

File -> '/home/<username>/public_html/index.php'
 Line -> 97
 Function -> 'do_site'
 Args -> array ( )"

Any help would be greatfully appreciated.
Cheers

Be gentle, I'm new to this :)
Back to the top
 
Important!
Posted
Item has a rating of 5 (Liked by RoyBoy)  
Rating:
#91121
Avatar

Automated fix message

RoyBoy said

Hi all,
I'm having a bit of difficultly trying to resolve an issue when adding products into a category.
I've created a test category called "Points" and tried to add a product into it. Everything is entered fine, but as a user, when I go into the store I get the following error;

"Critical error – bailing out
This is an error that has been elevated to critical error status because it occurred during the primary error mechanism reporting system itself (possibly due to it occuring within the standard output framework). It may be masking a secondary error that occurred before this, but was never output - if so, it is likely strongly related to this one, thus fixing this will fix the other.
A template file is missing: CATALOGUE_DEFAULT_ENTRY_FIELD_PICTURE (themes/default/templates/CATALOGUE_DEFAULT_ENTRY_FIELD_PICTURE.tpl or an overridden equivalent to this path) (version: 9.0.1, PHP version: 5.3.13, URL: /index.php?page=catalogues&type=category&id=products-home%2Fpoints_2)
Stack trace…

File -> '/home/<username>/public_html/sources/failure.php'
 Line -> 693
 Function -> 'die_html_trace'
 Args -> array

File -> '/home/<username>/public_html/sources/global.php(206) : eval()\'d code'
 Line -> 1009
 Function -> '_fatal_exit'
 Args -> array

File -> '/home/<username>/public_html/sources/tempcode.php'
 Line -> 575
 Function -> 'fatal_exit'
 Args -> array

File -> '/home/<username>/public_html/sources/tempcode.php'
 Line -> 578
 Function -> 'do_template'
 Args -> array

File -> '/home/<username>/public_html/sources/hooks/systems/fields/theme_image.php'
 Line -> 128
 Function -> 'do_template'
 Args -> array

File -> '/home/<username>/public_html/sources/catalogues.php'
 Line -> 688
 Function -> 'render_field_value'
 Class -> 'Hook_fields_theme_image'
 Object -> Hook_fields_theme_image::__set_state(array( ))
 Type -> '->'
 Args -> array

File -> '/home/<username>/public_html/sources/hooks/systems/symbols/CATALOGUE_ENTRY_ALL_FIELD_VALUES.php'
 Line -> 41
 Function -> 'get_catalogue_entry_map'
 Args -> array

File -> '/home/<username>/public_html/sources/symbols.php'
 Line -> 2265
 Function -> 'run'
 Class -> 'Hook_symbol_CATALOGUE_ENTRY_ALL_FIELD_VALUES'
 Object -> Hook_symbol_CATALOGUE_ENTRY_ALL_FIELD_VALUES::__set_state(array( ))
 Type -> '->'
 Args -> array ( 0 => array ( 0 => '19', ), )

File -> '/home/<username>/public_html/sources/tempcode.php(1686) : eval()\'d code'
 Line -> 9
 Function -> 'ecv'
 Args -> array ( 0 => 'EN', 1 => array ( ), 2 => 0, 3 => 'CATALOGUE_ENTRY_ALL_FIELD_VALUES', 4 => array ( 0 => '19', ), )

File -> '/home/<username>/public_html/sources/tempcode.php'
 Line -> 1686
 Function -> 'eval'

File -> '/home/<username>/public_html/sources/tempcode.php'
 Line -> 138
 Function -> 'evaluate'
 Class -> 'ocp_tempcode'
 Object -> object
 Type -> '->'
 Args -> array ( )

File -> '/home/<username>/public_html/sources/tempcode.php(1560) : eval()\'d code'
 Line -> 136
 Function -> 'output_tempcode_parameter'
 Args -> array

File -> '/home/<username>/public_html/sources/tempcode.php'
 Line -> 1560
 Function -> 'eval'

File -> '/home/<username>/public_html/sources/site.php'
 Line -> 725
 Function -> 'evaluate_echo'
 Class -> 'ocp_tempcode'
 Object -> object
 Type -> '->'
 Args -> array ( )

File -> '/home/<username>/public_html/index.php'
 Line -> 97
 Function -> 'do_site'
 Args -> array ( )"

Any help would be greatfully appreciated.
Cheers
This issue has been filed on the tracker as issue #823, with a fix.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Important!
 
Posted
Rating:
#91123
Avatar

Fan in action

Thank you Chris :o)

Be gentle, I'm new to this :)
Back to the top
 
Posted
Rating:
#91124
Avatar

Fan in action

Hmmm, strange...
I have uploaded the fix, and cleared browser and site caches, and now I'm getting a slight variation;

"Critical error – bailing out
This is an error that has been elevated to critical error status because it occurred during the primary error mechanism reporting system itself (possibly due to it occuring within the standard output framework). It may be masking a secondary error that occurred before this, but was never output - if so, it is likely strongly related to this one, thus fixing this will fix the other.
A template file is missing: CATALOGUE_DEFAULT_ENTRY (themes/default/templates/CATALOGUE_DEFAULT_ENTRY.tpl or an overridden equivalent to this path) (version: 9.0.1, PHP version: 5.3.13, URL: /index.php?page=catalogues&type=category&id=products-home%2Fpoints_2)
Stack trace…

File -> '/home/rbcjhubc/public_html/sources/failure.php'
 Line -> 693
 Function -> 'die_html_trace'
 Args -> array

File -> '/home/rbcjhubc/public_html/sources/global.php(206) : eval()\'d code'
 Line -> 1009
 Function -> '_fatal_exit'
 Args -> array

File -> '/home/rbcjhubc/public_html/sources/tempcode.php'
 Line -> 575
 Function -> 'fatal_exit'
 Args -> array

File -> '/home/rbcjhubc/public_html/sources/tempcode.php'
 Line -> 578
 Function -> 'do_template'
 Args -> array

File -> '/home/rbcjhubc/public_html/sources/hooks/systems/symbols/CATALOGUE_ENTRY_ALL_FIELD_VALUES.php'
 Line -> 47
 Function -> 'do_template'
 Args -> array

File -> '/home/rbcjhubc/public_html/sources/symbols.php'
 Line -> 2265
 Function -> 'run'
 Class -> 'Hook_symbol_CATALOGUE_ENTRY_ALL_FIELD_VALUES'
 Object -> Hook_symbol_CATALOGUE_ENTRY_ALL_FIELD_VALUES::__set_state(array( ))
 Type -> '->'
 Args -> array ( 0 => array ( 0 => '19', ), )

File -> '/home/rbcjhubc/public_html/sources/tempcode.php(1686) : eval()\'d code'
 Line -> 9
 Function -> 'ecv'
 Args -> array ( 0 => 'EN', 1 => array ( ), 2 => 0, 3 => 'CATALOGUE_ENTRY_ALL_FIELD_VALUES', 4 => array ( 0 => '19', ), )

File -> '/home/rbcjhubc/public_html/sources/tempcode.php'
 Line -> 1686
 Function -> 'eval'

File -> '/home/rbcjhubc/public_html/sources/tempcode.php'
 Line -> 138
 Function -> 'evaluate'
 Class -> 'ocp_tempcode'
 Object -> object
 Type -> '->'
 Args -> array ( )

File -> '/home/rbcjhubc/public_html/sources/tempcode.php(1560) : eval()\'d code'
 Line -> 136
 Function -> 'output_tempcode_parameter'
 Args -> array

File -> '/home/rbcjhubc/public_html/sources/tempcode.php'
 Line -> 1560
 Function -> 'eval'

File -> '/home/rbcjhubc/public_html/sources/site.php'
 Line -> 725
 Function -> 'evaluate_echo'
 Class -> 'ocp_tempcode'
 Object -> object
 Type -> '->'
 Args -> array ( )

File -> '/home/rbcjhubc/public_html/index.php'
 Line -> 97
 Function -> 'do_site'
 Args -> array ( )"

Be gentle, I'm new to this :)
Back to the top
 
Posted
Rating:
#91126
Avatar

Fan in action

The file it suggests is missing, this I gather. I have looked into the manual installer for ocportal 9.0.1 and this file is not in the respective folder either???
themes/default/templates/CATALOGUE_DEFAULT_ENTRY.tpl

Be gentle, I'm new to this :)
Back to the top
 
Posted
Item has a rating of 5 (Liked by RoyBoy)  
Rating:
#91127
Avatar

This is actually a separate issue… there's a fix in the bugs database for it.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#91128
Avatar

Fan in action

Chris Graham said

This is actually a separate issue… there's a fix in the bugs database for it.
Cheers, found it and fixed…
:P

Be gentle, I'm new to this :)
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: