Post by ihateusernames » Tue Nov 26, 2024 10:47 am

Hi,
My oc site was getting 503 errors today, so I contacted my domain provider.

They said changing to a newer php version should solve the issue. So i've gone from 7.3 to 8.2 on my server.

The 503 errors have gone now, but i'm still getting some issues with auto email generation etc... How do I update oc to be php version 8.2? I can't see anything in the oc admin settings.
So I'm currently looking through the files on the server, but haven't managed to locate the right file yet. Does anyone know the best/right way to make sure these are matching (both server & software sides)? Thanks.

Using OC Version 3.0.3.2


Active Member

Posts

Joined
Wed Jul 24, 2019 10:31 am

Post by by mona » Tue Nov 26, 2024 12:58 pm

:laugh: Get a new host !
Upgrading from 7.4 to 8 resolved your hosts server issue.

OC3.0.3.2 will not run on php8. You just haven't noticed the other issues yet.
You will need to install OC 3.0.3.4 from https://www.opencart.com/index.php?rout ... ad/history

Don't feel too bad about it, upgrading to php8 is inevitable and improved security and speed is a benefit.
Nevertheless, a service provider with such 'tactics' is one you want to stay with.

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by JNeuhoff » Tue Nov 26, 2024 6:21 pm

@by mona: I think you meant OpenCart 3.0.4.0, not 3.0.3.4?

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by by mona » Tue Nov 26, 2024 7:09 pm

@JNeuhoff - oops I did indeed, thank you ;)
3.0.4.0 is for php 8

::) No idea where 3.0.3.4 even came from !!!

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by paulfeakins » Tue Nov 26, 2024 8:12 pm

ihateusernames wrote:
Tue Nov 26, 2024 10:47 am
My oc site was getting 503 errors today, so I contacted my domain provider.
If you're using Immunify360 and an older but "hardened" PHP, it could be this one which affected one of our sites this morning: https://support.cpanel.net/hc/en-us/art ... on-8-2-5-1

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by ihateusernames » Wed Nov 27, 2024 12:08 pm

Hi,

Thanks everyone for your input on this.

@paulfeakins I think you maybe correct in saying that this was due to whatever problem/outage cPanel experienced. I don't understand what the issue was exactly as I'm not that tech savy, but from the link you provided it looks likely to be the cause. I've no idea what a 'hardened' php means, but thanks for the further details & info.

@mona I think you may have jumped the gun a little & possibly have personal issues with server companies. You didn't provide any reasoning, logic or evidence for the issue been with my server company or explain what you meant by 'tactics'. You also made typing errors when quoting the php versions & the oc versions. Your last sentence also contradicts your first two sentences, unless that's a third typing error. We all make mistakes, so I'm not jumping up & down about this, but I don't think pointing the finger at the server provider is helpful unless you have evidence, logic or reasoning. I did also clearly state that the change to 8.2 had caused some minor errors as well, despite you claiming that I hadn't noticed any issues yet. That's why I enquired as to the best approach to resolve that issue with oc's php settings. I'm happy to upgrade to newer versions of php or oc etc at certain times, but as it requires a lot of time to back up data, uninstall software, do new installations, iron out any bugs & errors that occur & carry out various system checks. I would prefer to delay that until I create the time to carry that out properly & make better informed decisions on which version(s) are best to update to.

Now that the cPanel issue has been resolved by them, I could simply change my server php version back to 7.3. So far, everything appears to be working normally, but I haven't done a full system check yet. Again, thanks to everyone for all your input in helping me understand & isolate the problem in order to find a workable solution.

Using OC Version 3.0.3.2


Active Member

Posts

Joined
Wed Jul 24, 2019 10:31 am

Post by by mona » Wed Nov 27, 2024 12:32 pm

Your server provider told you a server issue, they must have been aware of, was your php version ??? That should be self explanatory.

An HTTP Error 503, also known as the "Service Unavailable" error, typically occurs when a website's server cannot handle a request, either due to being overloaded or undergoing maintenance

A descent host would not suggest to upgrade the php version without telling you to check if it is compatible just to close a ticket.

You should upgrade your php version for security reasons. That is not contradictory, it has nothing to do with the error 503 it is just a fact - but thanks for the English lesson.

Now that your issue has been resolved please edit your title to [SOLVED].

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by ihateusernames » Thu Nov 28, 2024 10:27 am

@mona thanks for clarifying your false assumptions.

To clarify further, my host wasn't aware of the 503 errors until I alerted them. They said upgrading my php version might solve the issue & left it as an option for me to try. They weren't trying to close the ticket, as that stayed open until today when I closed it myself. So there were no malicious server 'tactics' at play. The fault appears to have been with cpanel.net & not with my host, so your assumptions regarding this issue are unfounded & false. It would be more helpful to me & everyone else reading these posts, if you typed correctly (more typing errors in your last post) & also laid off with the general bad attitude & sulky accusatory stance that you give off. Nobody needs it or requested it, thanks.

Using OC Version 3.0.3.2


Active Member

Posts

Joined
Wed Jul 24, 2019 10:31 am

Post by by mona » Thu Nov 28, 2024 1:20 pm

I am not sure what has given you the impression of a bad attitude, or why you choose to make such personal insults but it appears you have an issue with me personally for no apparent reason, maybe it is some issue you have with my username.

Please note that your POST TITLE is
ihateusernames wrote:
Tue Nov 26, 2024 10:47 am
Changing php version from 7.3 to 8.x produce error 503
and in your POST CONTENT
ihateusernames wrote:
Tue Nov 26, 2024 10:47 am
My oc site was getting 503 errors today, so I contacted my domain provider.

They said changing to a newer php version should solve the issue. So i've gone from 7.3 to 8.2 on my server.
It is reasonable to suggest you may be "living in a glass house" here. I presume that you understand that phrase.

I am not looking to argue with you, but I will defend myself against such personal attacks. I have not been rude or personal and I expect to be treated with the same courtesy as any other user who does not offend you for no reason that can be attributed to anything other than your own preconceptions. The advice was based on the information you provided and it suggested that you upgrade your site to a version that is compatible with php8 (shorthand for php versions 8.0, 8.1, 8.2 & 8.3).

The issue was your server end, due to an upgrade requiring php8 (CPanel is usually provided via your host, maybe you have a different set up). The solution they provided was to fix a server end problem by upgrading to php8. Practically all websites are built using php, any host would know changing the php version effects software on the website. There is nothing inaccurate about that. In summary, the advice you adamantly disagree with is essentially to upgrade your site to a version that is compatible with php8 and you the advice you so adamantly agree with is to upgrade your server to php8 that isn't compatible with your website. Go figure !

Typos happen, we all make them, but no, I will not be making any special effort to spell check my posts. It is rare for me to have made the error that @JNeuhoff found, but it happens and I was obviously very tired that day. I gracefully accepted my mistake. I am happy with my attitude and grace.

Thank you for making this as [SOLVED].

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by ihateusernames » Sun Dec 01, 2024 12:55 pm

@mona

Thanks for continuing with your incorrect false assumptions & general bad faith. If you want to start trying to insult me personally, your welcome to, my shoulders are plenty broad enough to take it. You've completely ignored my points, either you don't understand, or maybe simply refuse to accept your incorrect assumptions.
I do not have any issue with your username.
The post title was altered by someone else, please look at the original thread if you want to see the original title that you responded to.
I think the glass house analogy applies to you more than me here, I've already clearly stated that we all make mistakes, been thankful for all assistance & stated that this isn't a big issue for me. The fact remains that there are numerous errors in your posts, but you only accept one?
I will re-iterate that the issue was not with my host, it was with cpanel.net. You are somewhere between 80% & 100% wrong with all that you've assumed & projected.
Thanks again & good day.

Using OC Version 3.0.3.2


Active Member

Posts

Joined
Wed Jul 24, 2019 10:31 am

Post by by mona » Sun Dec 01, 2024 5:52 pm

What exactly are you angry about?

I can see lots of sentences that express unhappiness and express I am the cause of this unhappiness, but I do not see anywhere where I am the cause of your unhappiness. I do not wish to cause you distress.

If you think that anyone on this forum should have known what software was installed onto your host server, you are wrong.

Had your host not been able to resolve the issue, you would have had to do one of the two options provided
a. change host
b. update OC

There is nothing wrong with that advice. The advice is still the same no matter which way you seem to think that there was some misunderstanding, post I replied to or some assumption made.

I made a comment that it would be wise to install OC3.0.4.0 which is compatible with php8 anyway, since it offers better speed and security.

I made a typo with OC3.0.3.4 instead of 3.0.4.0. There is no OC version 3.0.3.4 and I provided a link which cannot be misunderstood. No crucifixion required. I accept you feel this is a serious matter worthy of complaint. I feel this has been resolved.

I did not say that you had not checked your site for all the errors, I said that you will come across further errors that you have not discover yet. That is your misunderstanding of my post.

I did not make any error in the php version. There is no php8.x and in shorthand it is more commonly written php8, either way a reasonable person would be fine to understand both. A non-issue that you are making a mountain out of a non-existent molehill.

Error 503 is a server error. There is no assumption.

Your host (according to you) was not aware of the problem, did not know the cause of the problem and did not advise you that your site maybe not be compatible with php8 and this may cause you site to cease to function when you were advised to change your php version to a version that was compatible with the incomparable software upgrade CPanel (or your host manually) installed on your hosts server. I accept that your host probably did advise you but you did not understand or relay it.

There is no mention of a hosting provider, so this is again a non-issue.

It is irrelevant to the advice whether I believed they were "passing the buck" or the issue was “out of their control”. The advice to change server would still be correct in this instance.

Your host told you to try php8, the solution to requiring php 8 is to change hosts that allow for php7 or to upgrade OC to a version compatible with php8. The advice to change server would still be correct in this instance.

Your post makes no reference to any new installation of modules that could be the cause. There is no assumption.

Only the original poster and admin can change the post title. There is no admin conspiracy.

If you think that I am paid by OC or there is some star mechanism or complaints department that “complaint” posts will provide something to you, you are wrong.

If you want to particularise what it is you are so angry about rather than a paragraph waffle, it might assist with resolving what it is that you are so upset about. If there is something actually wrong that I can correct, I will.

Your issue is resolved and no one cares whether you upgrade your site or stay with you host.

The issue (according to you) was with an upgrade by CPanel to you hosts server that was not compatible with php7, but was with php8. Your site is not compatible with php8, so you had an issue either way.

The issue was resolved by CPanel fixing the upgrade they installed on your hosts server to enable you to return to php7.

The only thing that seems to make any sense in your ‘complaint’ is you believe I should have included a third option to return to php7, continue with a site with a 503 error and wait for your host (and any providers to that host) to resolve the issue.

Maybe by “something” you think this is any more than an indication of shorthand of a long paragraph?

Seriously I have absolutely no idea what it is you are so upset about or why you want to continue to argue an issue that has been resolved, completely out of the scope or control of this forum or you and just one of those random things and the advise would be correct for anyone searching the post with a similar (but not such a random issue)

As far as I am concerned this post is [SOLVED] and the matter is closed.

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by ihateusernames » Sat Dec 14, 2024 10:09 am

@mona

Correct, the issue was resolved along time ago. So I don't understand why you're still trying to qualify your incorrect assumptions?

I am not angry at anyone, that's another incorrect assumption of yours.

I don't see this forum as a 'complaints' department either, yet another incorrect assumption.

Most of what you state in your last post is garbled nonsense & largely incorrect. In your own words you state that some of it is irrelevant.

I think you've created this mountain, not me.

If you can't accept the facts, that's not my problem. There's no crucifixion, just your inability to read & understand without adding your own false assumptions.

As I've previously stated several times, we all make mistakes.

Thanks again.

Using OC Version 3.0.3.2


Active Member

Posts

Joined
Wed Jul 24, 2019 10:31 am

Post by OSWorX » Sat Dec 14, 2024 5:45 pm

@ihateusernames & @mona

I would say, it's good and enough.
Topic locked.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria
Who is online

Users browsing this forum: Bing [Bot] and 10 guests