Post by DR Smoke » Tue Jul 16, 2019 11:28 am

Hello I am very new to Open cart, but been able to get by reading the forums and what not to get through setting up products and general setup on the website. I am running into an issue when i add one particular product the cart is greyed out and shows empty even though i get the confirmation that it has been added. once this happens the cart completely stops working until i clear the cache.

http://www.njpelletgrills.com/index.php ... duct_id=75

Open cart version 3.0.3.2

If you need anything else please explain how to get you the required information.

Newbie

Posts

Joined
Tue Jul 16, 2019 11:20 am

Post by paulfeakins » Tue Jul 16, 2019 6:37 pm

All pages go to a white screen for me which means there's a PHP error.

Check your error logs and post the error here.

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Expert Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by DR Smoke » Tue Jul 16, 2019 6:45 pm

Thanks for the reply could you let me know how I get you the error log?

Newbie

Posts

Joined
Tue Jul 16, 2019 11:20 am

Post by letxobnav » Tue Jul 16, 2019 6:52 pm

you get a 500 error on common/cart/info

Crystal Light Centrum Taiwan
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


Active Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by letxobnav » Tue Jul 16, 2019 6:54 pm

correction, you get 500 errors everywhere, check your php error log for those.

Crystal Light Centrum Taiwan
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


Active Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by paulfeakins » Tue Jul 16, 2019 6:59 pm

letxobnav wrote:
Tue Jul 16, 2019 6:54 pm
correction, you get 500 errors everywhere, check your php error log for those.
See my comments above.

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Expert Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by DR Smoke » Tue Jul 16, 2019 8:27 pm

Thanks guys here is the logs.


2019-07-15 22:45:31 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 180
2019-07-15 22:45:31 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 180
2019-07-15 22:45:31 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 180
2019-07-15 22:45:31 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 180
2019-07-15 22:45:31 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 180
2019-07-15 22:45:31 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 180
2019-07-15 22:45:31 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 180
2019-07-15 23:28:01 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 180
2019-07-15 23:28:01 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 180
2019-07-15 23:28:01 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 180
2019-07-15 23:28:01 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 180
2019-07-15 23:28:01 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 180
2019-07-15 23:28:01 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 180
2019-07-15 23:28:01 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 180
2019-07-15 23:39:37 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:39:37 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:39:37 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:39:37 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:39:37 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:39:37 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:39:37 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:40:25 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:40:25 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:40:25 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:40:25 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:40:25 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:40:25 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:40:25 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:41:12 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 180
2019-07-15 23:41:12 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 180
2019-07-15 23:41:12 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 180
2019-07-15 23:41:12 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 180
2019-07-15 23:41:12 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 180
2019-07-15 23:41:12 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 180
2019-07-15 23:41:12 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 180
2019-07-15 23:42:39 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:42:39 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:42:39 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:42:39 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:42:39 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:42:39 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:42:39 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:43:55 - FEDEX :: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelop ... :RateReply xmlns:v10="http://fedex.com/ws/rate/v10"> <v10:HighestSeverity xmlns:v10="http://fedex.com/ws/rate/v10">ERROR</v1 ... stSeverity> <v10:Notifications xmlns:v10="http://fedex.com/ws/rate/v10"> <v10:Severity xmlns:v10="http://fedex.com/ws/rate/v10">ERROR</v10:Severity> <v10:Source xmlns:v10="http://fedex.com/ws/rate/v10">prof</v10:Source> <v10:Code xmlns:v10="http://fedex.com/ws/rate/v10">1000</v10:Code> <v10:Message xmlns:v10="http://fedex.com/ws/rate/v10">Authentication Failed</v10:Message> </v10:Notifications> <v10:Version xmlns:v10="http://fedex.com/ws/rate/v10"> <v10:ServiceId xmlns:v10="http://fedex.com/ws/rate/v10">crs</v10:ServiceId> <v10:Major xmlns:v10="http://fedex.com/ws/rate/v10">10</v10:Major> <v10:Intermediate xmlns:v10="http://fedex.com/ws/rate/v10">0</v10:Intermediate> <v10:Minor xmlns:v10="http://fedex.com/ws/rate/v10">0</v10:Minor> </v10:Version> </v10:RateReply></SOAP-ENV:Body></SOAP-ENV:Envelope>
2019-07-15 23:44:41 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:44:41 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:44:41 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:44:41 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:44:41 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:44:41 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:44:41 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:56:01 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:56:01 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:56:01 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:56:01 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:56:01 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:56:01 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-15 23:56:01 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-16 0:05:57 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-16 0:05:57 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-16 0:05:57 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-16 0:05:57 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-16 0:05:57 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-16 0:05:57 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-16 0:05:57 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-16 0:11:42 - FEDEX :: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelop ... aultstring xml:lang="en">Fault</faultstring><detail><cause>UnrecoverableClientError</cause><code>SchemaError</code><desc>validation failure for RateRequest Error:cvc-enumeration-valid: Value 'OZ' is not facet-valid with respect to enumeration</desc></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
2019-07-16 0:14:28 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-16 0:14:28 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-16 0:14:28 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-16 0:14:28 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-16 0:14:28 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-16 0:14:28 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-16 0:14:28 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-16 0:22:25 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-16 0:22:25 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-16 0:22:25 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-16 0:22:25 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-16 0:22:25 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-16 0:22:25 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-16 0:22:25 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-16 0:23:34 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-16 0:23:34 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-16 0:23:34 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-16 0:23:34 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-16 0:23:34 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-16 0:23:34 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-16 0:23:34 - PHP Warning: in_array() expects parameter 2 to be array, null given in /home/thsr2i576szi/public_html/catalog/model/extension/shipping/fedex.php on line 181
2019-07-16 2:34:39 - PHP Warning: mysqli::__construct(): (28000/1045): Access denied for user 'thsr2i576szi'@'localhost' (using password: YES) in /home/thsr2i576szi/public_html/system/library/db/mysqli.php on line 7
2019-07-16 2:34:39 - PHP Warning: DB\MySQLi::__construct(): Couldn't fetch mysqli in /home/thsr2i576szi/public_html/system/library/db/mysqli.php on line 10
2019-07-16 2:34:39 - PHP Warning: DB\MySQLi::__construct(): Couldn't fetch mysqli in /home/thsr2i576szi/public_html/system/library/db/mysqli.php on line 10
2019-07-16 2:34:57 - PHP Warning: mysqli::__construct(): (28000/1045): Access denied for user 'thsr2i576szi'@'localhost' (using password: YES) in /home/thsr2i576szi/public_html/system/library/db/mysqli.php on line 7
2019-07-16 2:34:57 - PHP Warning: DB\MySQLi::__construct(): Couldn't fetch mysqli in /home/thsr2i576szi/public_html/system/library/db/mysqli.php on line 10
2019-07-16 2:34:57 - PHP Warning: DB\MySQLi::__construct(): Couldn't fetch mysqli in /home/thsr2i576szi/public_html/system/library/db/mysqli.php on line 10

Newbie

Posts

Joined
Tue Jul 16, 2019 11:20 am

Post by straightlight » Tue Jul 16, 2019 8:56 pm

In catalog/model/extension/shipping/fedex.php file,

find:

Code: Select all

if (in_array(strtoupper($code), $this->config->get('shipping_fedex_service'))) {
replace with:

Code: Select all

if (in_array(strtoupper($code), (array)$this->config->get('shipping_fedex_service'))) {
Then, in your OC admin extensions shipping fedex form page, ensure to have configured your fedex settings.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Administrator

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by DR Smoke » Tue Jul 16, 2019 9:08 pm

I just changed what you asked in the PHP file. I assume this is all done in the Public HTML folder?

Same thing with error 500 and also adding that particular product is not working correct

Any other product that I add the shipping module works just fine for as it calculates based off of the dimensions that i put in for each product.

I just cleared the error list.

If i go to a fresh page from a private window the page comes up and does not give me the error 500 i get when i am browsing normally. I hope this helps.

Newbie

Posts

Joined
Tue Jul 16, 2019 11:20 am

Post by DR Smoke » Wed Jul 17, 2019 1:43 am

I appreciate the feedback so far hopefully someone can help.

Newbie

Posts

Joined
Tue Jul 16, 2019 11:20 am

Post by straightlight » Wed Jul 17, 2019 10:13 am

Also ensure to make the change in your storage/modification folder before re-testing. A cloned file could be listed in there. Try another test afterwards. If you don't see a clone file in there, however, follow this FAQ: viewtopic.php?f=176&t=200804#p718325 and test again.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Administrator

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 23 guests