I am running into several problems related to the eCommerce part of the system.
1. I have added a test product into the system and when I go to the site:purchase page it lists the product as well as my subscriptions. When I click on the subscriptions they work fine, but when I click on my test product I get the following error:
PHP NOTICE [8] Undefined index: FIELD_3 in /home/successm/public_html/sources/hooks/systems/ecommerce/catalogue_items.php on line 586 (version: 4.3.1, PHP version: 5.2.12, URL: /site/index.php?page=purchase&type=message&id=-1&product=1)
Here is the stack trace:
Below is a stack trace revealing the state the software was in when the error occurred. If this represents a bug in the unmodified software, you may want to check ocPortal website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information. We apologise for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.
File
'/home/successm/public_html/sources/failure.php'
Line
'557'
Function
'get_html_trace'
Args
File
'/home/successm/public_html/sources/global2.php'
Line
'862'
Function
'_fatal_exit'
Args
'PHP NOTICE [8] Undefined index: FIELD_3 in /home/successm/public_html/sources/hooks/systems/ecommerce/catalogue_items.php on line 586'
File
'/home/successm/public_html/sources/failure.php'
Line
'156'
Function
'fatal_exit'
Args
'PHP NOTICE [8] Undefined index: FIELD_3 in /home/successm/public_html/sources/hooks/systems/ecommerce/catalogue_items.php on line 586'
2. Still have a problem with the stock level. I can blank out the "Stock Level" and "Stock Level Warn Threshold" and select "Stock Maintained" = No and it will save just fine but if I go back to the edit page the 2 that I blanked out have been changed back to "0". And if I try to order it I get the following error:
The product 'Test Form' is currently out of stock. If you think this is an error, please contact the website staff.
And the stack trace is:
An error has occurred
The product 'Test Form' is currently out of stock. If you think this is an error, please contact the website staff. (version: 4.3.1, PHP version: 5.2.12, URL: /site/index.php?page=shopping&keep_fatalistic=1&type=add_item&product_id=1&hook=catalogue_items)
Here is the stack trace:
Below is a stack trace revealing the state the software was in when the error occurred. If this represents a bug in the unmodified software, you may want to check ocPortal website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information. We apologise for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.
OK I figured out # 1. I was trying to hide the stock level and if it is hidden you get that error. Since I can't make this work without stock tracking is there a way to not display the stock level to the user? Thanks again.
If not, please let us know how we can do better (please make suggestions that are economically viable and scalable, not just requests to do more for free).
If so, please let others know about ocPortal whenever you see the opportunity.
If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Here it is almost Lunch time but even so, scrabled eggs sound good right now. …minus the brains, of course!
Get some rest Chris, or as Rick says, "… we will all be lost."
Prehistorics Illustrated http://prehistoricsillustrated.com Another ocPortal powered website & The Fascinating World of Dinosaurs & Prehistoric Creatures of all Kinds
If not, please let us know how we can do better (please make suggestions that are economically viable and scalable, not just requests to do more for free).
If so, please let others know about ocPortal whenever you see the opportunity.
If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Well I just ran into another problem. I tested a purchase of a test item. I then went into the eCommerce deal to look at all orders. I then tried to dispach my test order and got the following error:
PHP ERROR [4096] Object of class ocp_tempcode could not be converted to string in /home/successm/public_html/sources/lang.php on line 770 (version: 4.3.1, PHP version: 5.2.12, URL: /adminzone/index.php?page=admin_orders&type=order_act&id=94240)
Here is the stack trace:
Below is a stack trace revealing the state the software was in when the error occurred. If this represents a bug in the unmodified software, you may want to check ocPortal website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information. We apologise for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.
File
'/home/successm/public_html/sources/failure.php'
Line
'557'
Function
'get_html_trace'
Args
File
'/home/successm/public_html/sources/global2.php'
Line
'862'
Function
'_fatal_exit'
Args
'PHP ERROR [4096] Object of class ocp_tempcode could not be converted to string in /home/successm/public_html/sources/lang.php on line 770'
File
'/home/successm/public_html/sources/failure.php'
Line
'156'
Function
'fatal_exit'
Args
'PHP ERROR [4096] Object of class ocp_tempcode could not be converted to string in /home/successm/public_html/sources/lang.php on line 770'
false
File
'/home/successm/public_html/sources/global2.php'
Line
'725'
Function
'_ocportal_error_handler'
Args
'error'
4096
'Object of class ocp_tempcode could not be converted to string'
'/home/successm/public_html/sources/lang.php'
770
Function
'ocportal_error_handler'
Args
…
File
'/home/successm/public_html/sources/lang.php'
Line
'770'
Function
'str_replace'
Args
'{4}'
object
'Hi Success Mentors, The stock of product <a href="Guides">Rick Henson</a> gone below the product\'s minimum stock level. Please purchase new stock and edit this product to reflect the increased stock level.'
If not, please let us know how we can do better (please make suggestions that are economically viable and scalable, not just requests to do more for free).
If so, please let others know about ocPortal whenever you see the opportunity.
If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Thanks Chris, that seems to have fixed that issue. I have another problem with subscriptions but will start a new topic since it is not directly related to this.