InfoPulse Posted July 12, 2023 Posted July 12, 2023 Tried to install the latest version with PHP 8.0 since 7.4 is long end of life. But nothing worked -- the installer just threw a 500 error and my hosting company (InMotion) said it just doesn't work with 8.0. When will osCommerce 4 be compatible with PHP 8.0 or better? Quote
oewean Posted July 12, 2023 Posted July 12, 2023 It should work, running with both 8.0 and 8.1 https://www.oscommerce.com/wiki/Installing_osCommerce_v.4.0 Br. Ørjan osCommerce-Official 1 Quote
InfoPulse Posted July 13, 2023 Author Posted July 13, 2023 Tried installing the latest with PHP 8.0 and it made the installer hang at Step 2 -- got a 500 error. Worked fine with 7.4. So something is wonky with it. Quote
pandrei Posted July 13, 2023 Posted July 13, 2023 (edited) 18 hours ago, InfoPulse said: Tried to install the latest version with PHP 8.0 since 7.4 is long end of life. But nothing worked -- the installer just threw a 500 error and my hosting company (InMotion) said it just doesn't work with 8.0. When will osCommerce 4 be compatible with PHP 8.0 or better? osCommerce is compatible with PHP 8.0 Could you show a screenshot of the error? Edited July 13, 2023 by pandrei Quote
InfoPulse Posted July 13, 2023 Author Posted July 13, 2023 Obviously not since it's now been installed. Here is a paste of the conversation with tech support at inMotion Hosting, with my original trouble ticket at the end. I don't know why you think I'm making this up -- trying to install it with PHP 8.0 wasted HOURS of my time: On 7/12/2023 9:36 AM, Robert J. (InMotion Hosting) wrote: ##- Please type your reply above this line -## Your request (7146333) has been updated. To add additional comments, reply to this email. https://inmotionhosting.zendesk.com/system/photos/6149061878679/profile_image_5875193490199_9472898.png Robert J. (InMotion Hosting) Jul 12, 2023, 9:36 AM EDT Hello Lee, Thank you for contacting Support. My name is Robert. I would be happy to help you out today. The website cortina-languages.com loads for me after changing the PHP version from 8.0 to 7.4. It appears that this particular software is not compatible with PHP 8.0. We are available 24/7, 365 via email and chat if you need more help. We always strive to provide you, the customer, top-of-the-line Support and service. So that you know, you will receive an email within 24 hours to rate this interaction. I appreciate any feedback. We are available by phone between the hours of 9AM to 9PM EST, Monday through Friday. I hope you have a great day. Best Regards, Robert J. --InMotion Hosting We are available 24/7. Contact Us Avoid the wait! Search the customer exclusive knowledgebase in AMP Did you know that you can view, manage, and respond to your open support requests in your Account Management Panel? Learn more at our Support Center. https://inmotionhosting.zendesk.com/images/2016/default-avatar-80.png Lee Fleming Jul 12, 2023, 8:50 AM EDT Submitted through AMP: cd6fde77494b054f99bb Trying to install osCommerce 4.12.56860 on cortina-languages.com. It unzips the file, then I get a 500 error instead of it going to the next step. Step one is a check and it says everything is okay for the installation. Step two is unpacking the zip file. I'm installing with PHP 8.0, which is okay. I've done the PHP ini settings per spec. I have no idea what to do about the 500 error -- help! (Softalicious only has an older version of osC4 and the installation was buggy, so I restarted with an upload. I uploaded via the file manager in the cPanel. ZIP-Installer osCommerce v.4.12.56860https://www.oscommerce.com/download-oscommerce#content Server Requirements Jump to navigationJump to search Note: This manual is for osCommerce v4. Name Recommended Required PHP version 7.2.0 7.0.0+ MySQL database Yes Yes zLib PHP module Yes Yes PHP memory limit 256M 128M cURL PHP module Yes Yes fopen PHP function Yes Yes hash PHP function Yes Yes XML PHP module Yes Yes spl_autoload_register PHP function Yes Yes JSON PHP module Yes Yes GD Image module Yes Yes Pathinfo-Support Yes Yes This email is a service from InMotion Hosting. Quote
pandrei Posted July 14, 2023 Posted July 14, 2023 I did not say that you are making up, I just asked you to provide a screenshot of the error. The cause of the error could not be PHP version 8.0, but something else. osCommerce 4.12 supports both PHP 8.0 and PHP 8.1 Quote
InfoPulse Posted July 14, 2023 Author Posted July 14, 2023 All the screenshot would show is a 500 page -- that's all I saw, every time. As you know, a 500 error page doesn't say anything about the error that caused the page to appear. So a screenshot would be rather useless, right? And if PHP 8.0 is supported, why didn't the store install until the PHP was changed to 7.4? Since I haven't done anything with the installation yet, I am willing to give you access to the cpanel so you can rip out what's there and try installing it for yourself. Quote
pandrei Posted July 14, 2023 Posted July 14, 2023 17 minutes ago, InfoPulse said: Since I haven't done anything with the installation yet, I am willing to give you access to the cpanel so you can rip out what's there and try installing it for yourself. Ok. Send me an access to the cpanel and I will try to reproduce the issue osCommerce-Official 1 Quote
jimdanforth Posted July 14, 2023 Posted July 14, 2023 Kinda demanding to come hear and get nasty for something you were given for free. Then when help was offered you were still rude. Personally, I would have just bounced you from the group and gone on with life. We have uncovered probelms and been able to resolve them with the teams support and Andrie has been very helpfull. I would suggest you back up just a bit and listen instead of complaining. Ken Shea and osCommerce-Official 2 Quote
InfoPulse Posted July 14, 2023 Author Posted July 14, 2023 9 hours ago, pandrei said: Ok. Send me an access to the cpanel and I will try to reproduce the issue Happy to -- how can I send it to you? (I've never had to send anything privately before!) Quote
pandrei Posted July 14, 2023 Posted July 14, 2023 8 minutes ago, InfoPulse said: Happy to -- how can I send it to you? (I've never had to send anything privately before!) Quote
InfoPulse Posted July 14, 2023 Author Posted July 14, 2023 3 hours ago, jimdanforth said: Kinda demanding to come hear and get nasty for something you were given for free. Then when help was offered you were still rude. Personally, I would have just bounced you from the group and gone on with life. We have uncovered probelms and been able to resolve them with the teams support and Andrie has been very helpfull. I would suggest you back up just a bit and listen instead of complaining. I'm not being nasty and I'm not complaining -- just pointing out the installer didn't work for me using PHP 8.0. And if it didn't work for me, it won't work for others. Could be just the installer that doesn't support 8.0 -- but if I or someone else doesn't post that there is a problem, how will it get fixed? I did quite a bit of searching in the Forum and elsewhere to see what the problem might be and couldn't find any answer -- why would you attack me for pointing out a problem? Are you trying to discourage people from pointing out problems? I do see that eventually support and custom extensions will be offered for money -- which we will gladly pay for as we've been using osCommerce for more than 40 stores since 2004 and are hoping to move them to osCommerce 4 starting within the next couple of months or so. So we are anxious for this to work -- but not at the expense of being treated like we're a pest and nasty for pointing out a problem. Smoky Barnable 1 Quote
jimdanforth Posted July 14, 2023 Posted July 14, 2023 You have a nice life. I hopenyou are able to find what you need. Smoky Barnable and pandrei 1 1 Quote
pandrei Posted July 15, 2023 Posted July 15, 2023 On 7/12/2023 at 5:41 PM, InfoPulse said: Tried to install the latest version with PHP 8.0 since 7.4 is long end of life. But nothing worked -- the installer just threw a 500 error and my hosting company (InMotion) said it just doesn't work with 8.0. When will osCommerce 4 be compatible with PHP 8.0 or better? The cause of the problem: 1. The default PHP version for the host is 5.4 2. When you select PHP version for your domain, the following code is adding to your root .htaccess # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php80” package as the default “PHP” programming language. <IfModule mime_module> AddHandler application/x-httpd-ea-php80 .php .php8 .phtml </IfModule> # php -- END cPanel-generated handler, do not edit 3. When you start osCommerce installation it unpacks the osCommerce files and overwrites root .htaccess 4. After unpacking, it redirects to the install folder for next step, but the root .htaccess has already been overwritten and PHP version has been reset to 5.4. A 500 error occurs here because the minimum PHP version for osCommerce v4 is 7.4 Solution for now: after you get 500 error, go to PHP version selector in your Control Panel (it's called MultiPHP Manager in your case) and select PHP 8.0 again. If it is not work, you can add the PHP selector code to the end of the root .htaccess manually. Also we will add additional check for such case in the next osCommerce version. @InfoPulse, you can continue the installation, I've already reselect PHP 8.0 for your domain. Smoky Barnable 1 Quote
InfoPulse Posted July 16, 2023 Author Posted July 16, 2023 Many thanks -- I will follow up with this and let you know what happens! There is no way I would've been able to figure this out, so thank you for your time! Quote
InfoPulse Posted July 16, 2023 Author Posted July 16, 2023 16 hours ago, pandrei said: @InfoPulse, you can continue the installation, I've already reselect PHP 8.0 for your domain. Thank you, I successfully completed the installation with no problem (except that the only country I could choose was United Kingdom -- United States is not a select option!) Best wishes. Quote
pandrei Posted July 17, 2023 Posted July 17, 2023 On 7/16/2023 at 7:29 AM, InfoPulse said: (except that the only country I could choose was United Kingdom -- United States is not a select option!) We will fix it in the next version. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.