Site went blank after/during update

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
Edwin_IandD
Forum Members
Forum Members
Posts: 80
Joined: Thu Aug 12, 2010 2:27 pm

Site went blank after/during update

Post 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
User avatar
Rolf
Dev Team Member
Dev Team Member
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Site went blank after/during update

Post by Rolf »

- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Edwin_IandD
Forum Members
Forum Members
Posts: 80
Joined: Thu Aug 12, 2010 2:27 pm

Re: Site went blank after/during update

Post 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.
Edwin_IandD
Forum Members
Forum Members
Posts: 80
Joined: Thu Aug 12, 2010 2:27 pm

Re: Site went blank after/during update

Post 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
Edwin_IandD
Forum Members
Forum Members
Posts: 80
Joined: Thu Aug 12, 2010 2:27 pm

Re: Site went blank after/during update

Post 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!
Edwin_IandD
Forum Members
Forum Members
Posts: 80
Joined: Thu Aug 12, 2010 2:27 pm

Re: Site went blank after/during update

Post 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?
Edwin_IandD
Forum Members
Forum Members
Posts: 80
Joined: Thu Aug 12, 2010 2:27 pm

Re: Site went blank after/during update

Post by Edwin_IandD »

Would it be possible to just re-upload the files of the CGEcommerceBase Module? Or does that reset everything?
User avatar
Rolf
Dev Team Member
Dev Team Member
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Site went blank after/during update

Post 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?
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Edwin_IandD
Forum Members
Forum Members
Posts: 80
Joined: Thu Aug 12, 2010 2:27 pm

Re: Site went blank after/during update

Post 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.
Attachments
CGEcommerceBase.jpg
User avatar
Rolf
Dev Team Member
Dev Team Member
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Site went blank after/during update

Post by Rolf »

Already tried to clear CMS *and* browser cache?
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Edwin_IandD
Forum Members
Forum Members
Posts: 80
Joined: Thu Aug 12, 2010 2:27 pm

Re: Site went blank after/during update

Post by Edwin_IandD »

Just did, doesn't make a difference..
Post Reply

Return to “Modules/Add-Ons”