bws Posted November 27, 2022 Share Posted November 27, 2022 Here is a screenshot. Quote Link to comment Share on other sites More sharing options...
bws Posted November 27, 2022 Author Share Posted November 27, 2022 Update - The new hosting said I should change the PHP version in Cpanel, so I checked the old Cpanel setting, it was 5.6. Changed the new one from 8.0 to the previous setting and now the store seems to work.. Quote Link to comment Share on other sites More sharing options...
bws Posted November 27, 2022 Author Share Posted November 27, 2022 Now I find another problem with this server. When I go to edit languages in the back end, I receive a 503 error. Here are the screenshots. I don't think it is a temporary problem, I've tried it several times. I received a message from the new hosting.. Jay, I have set permissions to all files, give a try now, if its still does not work, provide steps and access to reproduce the issue. And it still does not work, so I would like to give him access to the back end, but I would like to give him his own Admin name and password, that he can use and may be temporary. Rather than giving him my own password to the back end of the site. Is this possible, and how can I make him Admin #2 for the store? Quote Link to comment Share on other sites More sharing options...
bws Posted November 27, 2022 Author Share Posted November 27, 2022 I'm going to try to add another administrator to my store. Anyone know what "Link to customer account" is for and what goes there? I will give all privileges read only to start and he should be able to reproduce the error. Quote Link to comment Share on other sites More sharing options...
bsmither Posted November 27, 2022 Share Posted November 27, 2022 CubeCart 6.2.1 has coding syntax incompatible with PHP 7.4 and newer. Cubecart 6.4.7 has all troublesome coding syntax fixed to work with PHP 8.1. I have not seen a 503 Error, even if it were to have been caused by CubeCart. But, to begin searching for the problem, create the error log. https://forums.cubecart.com/topic/51550-how-to-create-the-error-log/ And, I have not traced how an admin account links to a customer account. Quote Link to comment Share on other sites More sharing options...
bws Posted November 27, 2022 Author Share Posted November 27, 2022 I added ini-custom.inc.php to the main folder and then went back to edit the English language and received another 503 error, but when I checked error_log in same folder it had not been updated, so I guess problem is with the new server settings. I will try and create a new Admin for the store and see if the server tech can figure it out. Quote Link to comment Share on other sites More sharing options...
bws Posted November 29, 2022 Author Share Posted November 29, 2022 I think we solved the problem of the error 503, I'm not sure how it was done, but I may be able to get the details from the tech who is working there how he did it. I've run into a more serious problem. I have the tech as a store Admin and while he was working, I was in the back end checking stuff too. I decided to switch on the 2nd language I have but was not using, and it wouldn't show in the front end of the store after I switched it on. Was this another problem I should tell the tech about? So I remembered about the "clear cache" button which I've never used.. I did a quick online check, and saw that it will do exactly what I wanted, have the changes show in the front end. By the way, one of the reasons I've never used it is because I've had caching turned off the whole time, I don't need the fast, and the less complicated the better for me. So after I did that, later on I noticed that the store logo had changed back to "Store Logo" from the actual image. I thought that was odd, I remember that was one of the first modifications I had made to the store. I reloaded the correct image to skins/foundation/images/default/logo/default.png After the tech said he had fixed the problem, I went and checked everything and noticed that a major custom modification I had made was missing.. Basically, it appears that since I had never used this button before, if I do use it, it will make changes back to the original vanilla cubecart. Since we have the cubecart folder and db archived and can reload back onto the server, I think we can restore everything. I will repost this problem with a new title in Technical Help - Cache Button. Quote Link to comment Share on other sites More sharing options...
bws Posted December 3, 2022 Author Share Posted December 3, 2022 I checked my PHP version, they raised it to 7.1.33 and I guess that took care of the 503 errors. I placed a test order at my store, and my email confirmation was rejected so it ended up in the admin's email spam folder and as a customer I received no emails. Here's a screenshot of bounced email. Also, the order date is off. On this email, on the print order form invoice, and in backend under Customer list - Date Registered- all the customers have this gibberish as the date. I checked the error log, here's a screenshot. The techs are working on it, but I'm also posting it here as it could be something they can't solve. The previous host had cubecart software for free via Softaculous, but this one doesn't so probably doesn't know that much about it. And the clear cache button was only kidding, it's tiny and plain white color now, and no one's scared of it. I informed the techs to leave caching off, and ignore the warnings. Looks like I can only post 1 screenshot here. Quote Link to comment Share on other sites More sharing options...
bws Posted December 3, 2022 Author Share Posted December 3, 2022 Received message from my hosting, Jay, I am not sure if that is related to hosting, our L3 support will check. As far SPF record it does exist initially, please send a test message to: [email protected] and let us know, we'll analyze email. So I'm thinking I may need to figure this out myself.. When I was in cpanel I noticed there was a folder v6.4.7 so I went back to see if I can access the login page and this is what I see.. So it looks like everything is installed, but instead of MySQL 5.5+ I see - mysqlnd 5.0.12 plus gibberish, so it looks like that's what is not installed correctly. Plus the error messages say to check the SQL syntax. I may try out this latest cubecart version, but I would have to modify my existing modifications to make it work. I did that once, the original modifications were done on a cubecart version before v6.2.1, and I managed to get them to work on v6.2.1 when it was current version. Received message from my hosting, Jay, I am not sure if that is related to hosting, our L3 support will check. As far SPF record it does exist initially, please send a test message to: [email protected] and let us know, we'll analyze email. So I'm thinking I may need to figure this out myself.. When I was in cpanel I noticed there was a folder v6.4.7 so I went back to see if I can access the login page and this is what I see.. So it looks like everything is installed, but instead of MySQL 5.5+ I see - mysqlnd 5.0.12 plus gibberish, so it looks like that's what is not installed correctly. Plus the error messages say to check the SQL syntax. I may try out this latest cubecart version, but I would have to modify my existing modifications to make it work. I did that once, the original modifications were done on a cubecart version before v6.2.1, and I managed to get them to work on v6.2.1 when it was current version. Quote Link to comment Share on other sites More sharing options...
bws Posted December 3, 2022 Author Share Posted December 3, 2022 I registered a test customer and used the email the tech said to send it to.. But I don't think the email ever arrived. From my spam folder. Tech help hasn't responded so I'd like to just try changing some settings myself in cpanel. Is this the correct place? Got there by doing a search for SPF. But I don't see anyplace there to edit SPF. some more info Quote Link to comment Share on other sites More sharing options...
bws Posted December 3, 2022 Author Share Posted December 3, 2022 I think the top line is the one I need to edit. Which of those cpanel boxes will I need to click on? And how to edit so it will work, and not be considered spam? Quote Link to comment Share on other sites More sharing options...
bws Posted December 4, 2022 Author Share Posted December 4, 2022 we took care of the email problem and i figured out the date issue myself The only thing remaining is the error log with errors piling up.. I think it's the SQL version the server is using. The latest version of cubecart says it's this version And in cpanel, the server itself says it's this version Quote Link to comment Share on other sites More sharing options...
bws Posted December 4, 2022 Author Share Posted December 4, 2022 And in cubecart v6.2.1 under PHP Info it says mysqli is version 5.0.12. That's all I know... And under System Error Log it says - [Clear Error log] And that looks a lot safer than "Clear Cache" Nuff said. Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 4, 2022 Share Posted December 4, 2022 The compatibility check should be checking the version of the MySQL PHP extension. Cubecart does not yet know how or where to contact the database server. Once CubeCart is up and running, in admin, Maintenance, Query Database (Advanced) tab, you should find the actual version that the database server states: MySQL 10.4.12-MariaDB-1:10.4.12+maria~bionic-log running on localhost as cc_database@localhost It should match what Cpanel says. As for the SQL errors, that particular error was fixed in CC627. See: https://github.com/cubecart/v6/commit/a31d085e7a75362259eb8563761c63a777ed5a45 Quote Link to comment Share on other sites More sharing options...
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.