Post by jwyatt » Thu Mar 02, 2023 1:49 am

Hi everyone!

I've found one other similar error discussed at this page (viewtopic.php?t=208951) but this topic is discussing a jquery and my error doesn't appear to be that.

This error occurs on the Checkout Page, in the Payment Method section. After the customer clicks to agree to Terms, then clicks "Continue" this error pops up and prevents them from proceeding:

Code: Select all

error
<!DOCTYPE html>
<html dir="ltr" lang="en" class="webkit chrome chrome110 win journal-desktop is-guest skin-100 responsive-layout bottom-menu-bar infinite-scroll center-header mega-header lang-flag lang-flag-mobile currency-symbol currency-symbol-mobile collapse-footer-columns header-center header-sticky sticky-menu backface product-grid-second-image product-list-no-second-image hide-cart layout-4 route-error-not_found oc2 flyout-active one-column no-currency no-language" data-jv2="2.16.1">
<head>
<meta charset="UTF-8" />
<meta name='viewport' content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="format-detection" content="telephone=no">
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"/><![endif]-->
<title>The page you requested cannot be found!</title>
<base href="/" />
<meta property="og:title" content="Micro-Trains Online" />
<meta property="og:site_name" content="Micro-Trains Online" />
<meta property="og:url" content="" />
<meta proprety="og:description" content="Micro-Trains Line- American made N Scale and Z Scale Model Railroading Supplies. Home of the Magne-Matic and True-..."
Note: Strangely, the pop-up that contains the error for some reason does not allow me to copy and paste the text of the error (even with browser Developer Tools), so this code above I typed up from looking at the pop-up. Hope I didn't get any typos there!

Any help would be greatly appreciated - as this problem basically stops customers from ordering online! Yikes!
Last edited by jwyatt on Thu Mar 02, 2023 10:55 pm, edited 1 time in total.

New member

Posts

Joined
Thu May 31, 2018 5:38 am

Post by Cue4cheap » Thu Mar 02, 2023 2:34 am

jwyatt wrote:
Thu Mar 02, 2023 1:49 am
Hi everyone!

I've found one other similar error discussed at this page (viewtopic.php?t=208951) but this topic is discussing a jquery and my error doesn't appear to be that.

This error occurs on the Checkout Page, in the Payment Method section. After the customer clicks to agree to Terms, then clicks "Continue" this error pops up and prevents them from proceeding:


error
<!DOCTYPE html>
<html dir="ltr" lang="en" class="webkit chrome chrome110 win journal-desktop is-guest skin-100 responsive-layout bottom-menu-bar infinite-scroll center-header mega-header lang-flag lang-flag-mobile currency-symbol currency-symbol-mobile collapse-footer-columns header-center header-sticky sticky-menu backface product-grid-second-image product-list-no-second-image hide-cart layout-4 route-error-not_found oc2 flyout-active one-column no-currency no-language" data-jv2="2.16.1">
Using Journal?
Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by halfhope » Thu Mar 02, 2023 3:15 am

Hi!

File catalog/controller/checkout/success.php doesn't exists or has wrong access rights or owner (chmod/chown). Try to restore file from original engine and refresh modificators.

And I recommend you not load image MNLogo.png until need (~4MB).

My FREE extensions in marketplace. [ security | flexibility | speedup ]


User avatar
Active Member

Posts

Joined
Tue Dec 10, 2013 9:44 pm
Location - San Diego

Post by jwyatt » Thu Mar 02, 2023 5:12 am

Cue4cheap wrote:
Thu Mar 02, 2023 2:34 am
Using Journal?
Mike
Yes! We're using Journal theme, Version 2.16.1

New member

Posts

Joined
Thu May 31, 2018 5:38 am

Post by jwyatt » Thu Mar 02, 2023 5:19 am

halfhope wrote:
Thu Mar 02, 2023 3:15 am
Hi!

File catalog/controller/checkout/success.php doesn't exists or has wrong access rights or owner (chmod/chown). Try to restore file from original engine and refresh modificators.

And I recommend you not load image MNLogo.png until need (~4MB).
Thank you halfhope! Thanks for pointing out the MNLogo.png file - usually that's just a few hundred kilobytes, so I've fixed that. And I am looking at success.php - sadly my knowledge can't fully grasp your advice about access rights. Our situation is a web developer made this site for our company, and no longer works here, and unfortunately I couldn't rightly claim to be a developer! =) But I can say the file success.php exists on the server, and I also find it interesting it hasn't been modified since June of 2016. So I wonder what may have changed there... Do you think our host (GoDaddy) could repair this if I told them there may be a chmod/chown issue on this file?

Thanks again folks!

New member

Posts

Joined
Thu May 31, 2018 5:38 am

Post by halfhope » Thu Mar 02, 2023 5:49 am

Do you think our host (GoDaddy) could repair this if I told them there may be a chmod/chown issue on this file?
Yes, they can change rights for this file.

My FREE extensions in marketplace. [ security | flexibility | speedup ]


User avatar
Active Member

Posts

Joined
Tue Dec 10, 2013 9:44 pm
Location - San Diego

Post by jwyatt » Thu Mar 02, 2023 5:57 am

halfhope wrote:
Thu Mar 02, 2023 5:49 am
Yes, they can change rights for this file.
OK! I'm reaching out to them, but have an estimated hour long wait. Could I show you the screenshot of its current permissions in case GoDaddy never gets to me? =)
Image

New member

Posts

Joined
Thu May 31, 2018 5:38 am

Post by halfhope » Thu Mar 02, 2023 6:00 am

set 755 and check checkout

My FREE extensions in marketplace. [ security | flexibility | speedup ]


User avatar
Active Member

Posts

Joined
Tue Dec 10, 2013 9:44 pm
Location - San Diego

Post by jwyatt » Thu Mar 02, 2023 6:04 am

halfhope wrote:
Thu Mar 02, 2023 6:00 am
set 755 and check checkout
OK I changed success.php to 7 5 5... and here are the checkout permissions:

Image

New member

Posts

Joined
Thu May 31, 2018 5:38 am

Post by halfhope » Thu Mar 02, 2023 6:06 am

I mean that now you can check checkout page. Bad English, sorry.

My FREE extensions in marketplace. [ security | flexibility | speedup ]


User avatar
Active Member

Posts

Joined
Tue Dec 10, 2013 9:44 pm
Location - San Diego

Post by jwyatt » Thu Mar 02, 2023 6:07 am

Oh! =) I misunderstood, your English was totally fine only I assumed you were talking about the folder for some reason!

Checkout still throws the error. Hmm...

New member

Posts

Joined
Thu May 31, 2018 5:38 am

Post by halfhope » Thu Mar 02, 2023 6:13 am

Sorry, that's my fault:) Need to check not checkout/success.php and checkout/confirm.php

checkout/success work's fine.

My FREE extensions in marketplace. [ security | flexibility | speedup ]


User avatar
Active Member

Posts

Joined
Tue Dec 10, 2013 9:44 pm
Location - San Diego

Post by jwyatt » Thu Mar 02, 2023 6:23 am

No problem! =) OK I just set the confirm.php permissions to:

Image

New member

Posts

Joined
Thu May 31, 2018 5:38 am

Post by halfhope » Thu Mar 02, 2023 6:33 am

I see index.php?route=checkout/confirm still has a 404 error. It means OpenCart didn't see the checkout/confirm controller, and I don't know what's happening. We weeded out the main reasons, but there is something unusual. I think it would be easier to hire someone to figure it out.

My FREE extensions in marketplace. [ security | flexibility | speedup ]


User avatar
Active Member

Posts

Joined
Tue Dec 10, 2013 9:44 pm
Location - San Diego

Post by jwyatt » Thu Mar 02, 2023 6:38 am

OK. Thank you so much for your help halfhope... I have no idea why it wouldn't find the checkout success page, especially when we haven't made any changes to back end code or anything. It's a real mystery! =) But I really appreciate your help today!

New member

Posts

Joined
Thu May 31, 2018 5:38 am

Post by halfhope » Thu Mar 02, 2023 6:40 am

I think some of modificators has changes confirm.php not correctly. Opencart needs not only readable/executable php file (file rights) but and function index() in each controller. If some modification broke this function opencart can't see controller and not run it.

My FREE extensions in marketplace. [ security | flexibility | speedup ]


User avatar
Active Member

Posts

Joined
Tue Dec 10, 2013 9:44 pm
Location - San Diego

Post by jwyatt » Thu Mar 02, 2023 6:42 am

By the way, I was able to copy the entire error when accessing the site on my phone. I'll put the whole thing here in case this shines any more light into what specifically is happening:

Code: Select all

error
<!DOCTYPE html>
<html dir="ltr" lang="en" class="iphone iphone15 mobile is-guest skin-100 responsive-layout bottom-menu-bar infinite-scroll center-header mega-header lang-flag lang-flag-mobile currency-symbol currency-symbol-mobile collapse-footer-columns header-center header-sticky sticky-menu backface product-grid-no-second-image product-list-no-second-image hide-cart layout-4 route-error-not_found oc2 no-currency no-language" data-j2v="2.16.1">
<head>
<meta charset="UTF-8" />
<meta name='viewport' content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="format-detection" content="telephone=no">
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"/><![endif]-->
<title>The page you requested cannot be found!</title>
<base href="/" />
<meta property="og:title" content="Micro-Trains Online" />
<meta property="og:site_name" content="Micro-Trains Online" />
<meta property="og:url" content="" />
<meta property="og:description" content="Micro-Trains Line-American made N Scale and Z Scale Model Railroading Supplies. Home of the Magne-Matic and True-Scale couplers...." />
<meta property="og:type" content="website" />
<meta property="og:image" content="image/cache/WebImages/MTLlogoWithFlag-600x315-0.png" />
<meta property="og:image:width" content="600" />
<meta property="og:image:height" content="315" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="Micro-Trains Online" />
<meta name="twitter:description" content="Micro-Trains Line-American made N Scale and Z Scale Model Railroading Supplies. Home of the Magne-Matic and True-Scale couplers...." />
<meta name="twitter:image" content="image/cache/WebImages/MTLlogoWithFlag-200x200-0.png" />
<meta name="twitter:image:width" content="200" />
<meta name="twitter:image:height" content="200" />

                                                <script type="application/ld+json">            
            {
             "@context
             

New member

Posts

Joined
Thu May 31, 2018 5:38 am

Post by jwyatt » Thu Mar 02, 2023 8:24 am

Just a little update FYI. GoDaddy dug into it and stated that it is a PHP Fatal Error. Our site is running on an old OpenCart version and old PHP version as well. They said we'd need to talk to a developer to see if there is an error in the root file. Dang!

New member

Posts

Joined
Thu May 31, 2018 5:38 am

Post by SohBH » Thu Mar 02, 2023 6:21 pm

jwyatt wrote:
Thu Mar 02, 2023 8:24 am
Just a little update FYI. GoDaddy dug into it and stated that it is a PHP Fatal Error. Our site is running on an old OpenCart version and old PHP version as well. They said we'd need to talk to a developer to see if there is an error in the root file. Dang!
Hi, kindly change to php 7.3
If you encounter any issues, please do not hesitate to contact me for assistance.

View all extensions | Request custom work | Pricing | Contact Me


User avatar
Active Member

Posts

Joined
Mon Nov 02, 2020 12:01 am
Location - Malaysia

Post by ADD Creative » Thu Mar 02, 2023 7:59 pm

There was another topic where someone was getting "The page you requested cannot be found!" on some requests to controllers, which didn't make sense. The were also using GoDaddy. viewtopic.php?t=230799

Their solution was to change PHP version. viewtopic.php?t=230799&start=40#p854286

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: No registered users and 12 guests