Post by Garret H » Sat Aug 04, 2018 3:56 pm

Hello,

I just installed OC 3.0 and migrated all my orders and info over from 1.5.6.4 using Excelport. I initially installed the site in its own folder and everything worked great. I moved it over to the root and now I'm getting "error undefined" when trying to edit or delete an order.

I searched the issue and it appears to be an SSL problem but I couldn't find any legitimate solves. Help!

New member

Posts

Joined
Wed Jan 25, 2012 12:20 am

Post by straightlight » Sat Aug 04, 2018 8:24 pm

As a new forum user, please read the forum rules. Error / server access logs unprovided.

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.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member
Online

Posts

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

Post by Garret H » Sun Aug 05, 2018 12:18 am

I checked the error log after trying to delete an order and there are no errors showing for the the current time. When I try to delete a order, I get a pop-up saying, "error undefined."

New member

Posts

Joined
Wed Jan 25, 2012 12:20 am

Post by straightlight » Sun Aug 05, 2018 4:14 am

Did you created your API account? Also, are you using any Anti-Fraud extension modules?

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.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member
Online

Posts

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

Post by Garret H » Sun Aug 05, 2018 5:21 am

Yes on API, no on fraud extensions.

New member

Posts

Joined
Wed Jan 25, 2012 12:20 am

Post by straightlight » Sun Aug 05, 2018 5:42 am

What is the full error message of the API error message?

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.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member
Online

Posts

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

Post by Garret H » Sun Aug 05, 2018 5:56 am

It just says "Error undefined"

What's strange is the website functions just fine in the subfolder but I get these errors when I move it to the root. The other option is I can just leave it in the subfolder if there's a way to make it so the www.mysite.com points to www.mysite.com/oc3

Thanks for your assistance

New member

Posts

Joined
Wed Jan 25, 2012 12:20 am

Post by straightlight » Sun Aug 05, 2018 9:04 pm

Duplicated topic: viewtopic.php?f=199&t=206183#p731096 . Twisted words.

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.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member
Online

Posts

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

Post by MrPhil » Sun Aug 05, 2018 9:31 pm

Garret H wrote:
Sun Aug 05, 2018 5:56 am
What's strange is the website functions just fine in the subfolder but I get these errors when I move it to the root. The other option is I can just leave it in the subfolder if there's a way to make it so the www.mysite.com points to www.mysite.com/oc3
It's always a bad idea to move an existing store from its original position (the subfolder). If the whole point of the exercise is to eliminate the need for a customer to type in "/oc3", it's better to rewrite the URL in /.htaccess (assuming you're on a server that permits this). The following will rewrite a visit to https://www.mysite.com to https://www.mysite.com/oc3 without the customer having to do any extra effort:

Code: Select all

RewriteEngine On
# force https and www.
RewriteCond  %{HTTPS}  !on  [OR]
RewriteCond  %{HTTP_HOST}  !^www\.  [NC]
RewriteRule  ^(.*)$   https://www.mysite.com/$1  [R=301,L]
# if visit to root, jump to /oc3
RewriteCond  %{REQUEST_URI}  !^/oc3 
RewriteRule  ^(.*)$  /oc3/$1
It also forces SSL usage (https), and the use of www. in the domain name. Most sites want to do it that way. The rewrite to /oc3 is invisible until some other link is clicked, when /oc3 will start showing up. Your internal links in your store (defined in the configure.php files) should still contain /oc3.

The advantage to doing it this way is that if you later add a "landing page" /index.html (for instance) to welcome visitors and direct them to various parts of the site (blog, gallery, etc.), all you have to do is remove the rewrite to /oc3 and all the existing bookmarks and search engine entries will still be valid.

User avatar
Active Member

Posts

Joined
Wed May 10, 2017 11:52 pm

Post by Garret H » Fri Aug 17, 2018 4:58 am

Thank you both for your help.

I've used 1.5.6.4 for almost 7 years now. I upgraded to 3.0 because my site was constantly getting hacked. I was hoping 3.0 would be better than 1 .5.6.4 which had a ton of glitches and required numerous mods to fix. Sadly, I see it is no different. Simple things such as the contact us page didn't work properly. Opencart has some serious development issues and sadly, I don't have the time and money to spend fixing it like I did with 1.5.6.4. I've made the migration over to Shopify. The $26 a month is nothing compared to the thousands I've spent trying to keep OC working right over the years. It's refreshing to use a cart system that actually works properly out of the box.

New member

Posts

Joined
Wed Jan 25, 2012 12:20 am
Who is online

Users browsing this forum: No registered users and 8 guests