Page 1 of 1

Site went blank after/during update

Posted: Mon Aug 13, 2018 12:49 pm
by Edwin_IandD
Hello, I was just trying to update my Cart2 module when my site went blank.. I also don't have access to the admin side.

This was in my error log:
[13-Aug-2018 13:42:43 Europe/Dublin] PHP Fatal error: Access level to Orders::get_country_list() must be public (as in class CGExtensions) in /home/itmustbedingle/public_html/modules/Orders/Orders.module.php on line 0

Is there anything I can do? (besides uploading a back-up which might or might not be up-to-date..)

Thanks,
Ed

Re: Site went blank after/during update

Posted: Mon Aug 13, 2018 12:56 pm
by Rolf

Re: Site went blank after/during update

Posted: Mon Aug 13, 2018 1:19 pm
by Edwin_IandD
Thanks, Rolf. I've just disabled the get_country_list Function, which at least allows me to see the site again and get access to the Admin side.

I don't know if this has any consequences for the site, but at least it gives me some more options.

I've just made a back up of the site at the moment and will upgrade the rest of the E-commerce modules to see what happens.

Re: Site went blank after/during update

Posted: Mon Aug 13, 2018 2:00 pm
by Edwin_IandD
And that just f*&$cked up all my product templates... By replacing them with the original default ones! Anyway, that was an easy fix.

But I do run into the next problem. I cannot add anything to the card and get the following error:


[13-Aug-2018 14:54:25 Europe/Dublin] PHP Fatal error: Call to a member function GetNumItems() on null in /home/itmustbedingle/public_html/modules/CGEcommerceBase/lib/class.cg_ecomm_cart.php on line 43

Re: Site went blank after/during update

Posted: Mon Aug 13, 2018 2:13 pm
by Edwin_IandD
And that was fixed again by clicking 'set as cart module' in the Cart2 settings. So great that you need to set everything back to the way you want after an upgrade!! >:D

And so we run into the next problem: When I click on submit in the shopping basket nothing happens...

Would that have something to do with the disabling of the 'get_country_list' function?

EDIT: It must have, because when I enabled the function again and went directly to the Check Out page I got the same error. Any ideas?
Thanks!

Re: Site went blank after/during update

Posted: Mon Aug 13, 2018 2:39 pm
by Edwin_IandD
And the story continues (I am logging this as I go along, so other people with similar problems might find a solution in my struggles!).

Apparently clicking upgrade in the available upgrades isn't enough, you also need to upgrade each individual module in the list of modules!

Anyway, now my GEcommerceBase seems to be all over the place and I am getting the following message on my checkout page:

"GEcommerceBase is not completely/properly configured... cannot continue"

Also I am getting these messages in my admin log:

" Cart2 module called without a sku parameter on page 39"

Any ideas?

Re: Site went blank after/during update

Posted: Tue Aug 14, 2018 7:08 am
by Edwin_IandD
Would it be possible to just re-upload the files of the CGEcommerceBase Module? Or does that reset everything?

Re: Site went blank after/during update

Posted: Tue Aug 14, 2018 10:24 am
by Rolf
"GEcommerceBase is not completely/properly configured... cannot continue"
Walk through the pages of the module and fill in what you can/need
" Cart2 module called without a sku parameter on page 39"
you call the module like {Cart2 sku=$entry->sku}
Do all products have a filled in SKU?

From what CMSMS version started this upgrade process?

Re: Site went blank after/during update

Posted: Tue Aug 14, 2018 10:50 am
by Edwin_IandD
Hello Rolf, thanks for helping.
For some reason none of the countries were selected which caused the problem. But it still didn't fix everything and my CGEcommerceBase looks like the attached image..
Re-uploading the files did nothing.

All my products have and SKU.
I only get the error when I click on the 'submit' button in the cart. If I go directly to checkout I can check out as usual.

Re: Site went blank after/during update

Posted: Tue Aug 14, 2018 11:14 am
by Rolf
Already tried to clear CMS *and* browser cache?

Re: Site went blank after/during update

Posted: Tue Aug 14, 2018 1:22 pm
by Edwin_IandD
Just did, doesn't make a difference..