Jump to content

Moved my cubecart v6.2.1 over to new hosting site, now getting error at storefront and backend - Deprecated: Required parameter $current_page follows optional parameter...


bws

Recommended Posts

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.

 

 

 

error 503.png

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?

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.
Link to comment
Share on other sites

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.

mail-failure2.png

mail-failed1(2).png

cubecart system error log.jpg

Link to comment
Share on other sites

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. 

 

new cubecart store setup.jpg

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. 

 

Link to comment
Share on other sites

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. 

 

Test SPF email1.jpg

Test SPF email2.jpg

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. 

 

cpanel zone editor.jpg

some more info 

 

Screenshot_20221203-124900_Brave.jpg

Link to comment
Share on other sites

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 

 

 

new cubecart store setup.jpg

And in cpanel, the server itself says it's this version 

mysql 8.jpg

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...