Post by Middleman » Mon May 11, 2015 7:49 pm

Hi guys,

After doing a sandbox test on my site with an order, I discovered that at the top of the screen when I view my order under the Orders section, an error comes up related to my database. This is what came up on screen:

Image

Code: Select all

Notice: Error: Table 'db1023109_opencart.paypal_order' doesn't exist
Error No: 1146
SELECT * FROM `paypal_order` WHERE `order_id` = '3' LIMIT 1 in /var/www/vhosts/12/107431/webspace/httpdocs/mysite.com/system/library/db/mysqli.php on line 41Notice: Trying to get property of non-object in /var/www/vhosts/12/107431/webspace/httpdocs/mysite.com/admin/model/payment/pp_express.php on line 72
Also, it seemed to occur when my stock level was -1. I since updated the stock level under the product section and it still showed the same problem.

I have added (and used) only PayPal Express as the payment method, but not added normal PayPal. Could this be an issue?

Attachments

paypal-error.png

paypal-error.png (20.21 KiB) Viewed 790 times


New member

Posts

Joined
Sat May 09, 2015 1:04 am

Post by pm-netti » Mon May 11, 2015 8:13 pm

Middleman wrote:Hi guys,

After doing a sandbox test on my site with an order, I discovered that at the top of the screen when I view my order under the Orders section, an error comes up related to my database. This is what came up on screen:

Code: Select all

Notice: Error: Table 'db1023109_opencart.paypal_order' doesn't exist
Error No: 1146
SELECT * FROM `paypal_order` WHERE `order_id` = '3' LIMIT 1 in /var/www/vhosts/12/107431/webspace/httpdocs/mysite.com/system/library/db/mysqli.php on line 41Notice: Trying to get property of non-object in /var/www/vhosts/12/107431/webspace/httpdocs/mysite.com/admin/model/payment/pp_express.php on line 72
Also, it seemed to occur when my stock level was -1. I since updated the stock level under the product section and it still showed the same problem.

I have added (and used) only PayPal Express as the payment method, but not added normal PayPal. Could this be an issue?
Is it installed admin > Extension > Payments > PayPal Express Checkout?

User avatar
Active Member

Posts

Joined
Sat Apr 07, 2012 11:22 pm
Location - Kittilä, Finland

Post by Middleman » Mon May 11, 2015 8:20 pm

Is it installed admin > Extension > Payments > PayPal Express Checkout?
Yes. Still under sandbox mode, with only the sandbox APIs filled. The main APIs are blank at the moment.
Could that be an issue?

New member

Posts

Joined
Sat May 09, 2015 1:04 am

Post by pm-netti » Mon May 11, 2015 9:34 pm

Middleman wrote:
Is it installed admin > Extension > Payments > PayPal Express Checkout?
Yes. Still under sandbox mode, with only the sandbox APIs filled. The main APIs are blank at the moment.
Could that be an issue?
As you can see from that error, table `paypal_order` missing. This table to create, than press `Install` in line "PayPal Express Checkout". You try uninstall and install again.

User avatar
Active Member

Posts

Joined
Sat Apr 07, 2012 11:22 pm
Location - Kittilä, Finland

Post by Middleman » Mon May 11, 2015 11:08 pm

Thanks PM-Netti, that worked! :D

New member

Posts

Joined
Sat May 09, 2015 1:04 am
Who is online

Users browsing this forum: No registered users and 9 guests