• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Site went blank after/during update
PostPosted: Mon Aug 13, 2018 12:49 pm 
Offline
Forum Members
Forum Members

Joined: Thu Aug 12, 2010 2:27 pm
Posts: 66
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


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Site went blank after/during update
PostPosted: Mon Aug 13, 2018 12:56 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Apr 23, 2008 7:53 am
Posts: 7591
Location: The Netherlands
viewtopic.php?t=77535&p=335801

_________________
Image

Did my post help you solving a problem at your (customers) website and it saved you many hours of work? Great!! Consider buying me a cup of coffee in return! [ Click here ]



Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Site went blank after/during update
PostPosted: Mon Aug 13, 2018 1:19 pm 
Offline
Forum Members
Forum Members

Joined: Thu Aug 12, 2010 2:27 pm
Posts: 66
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.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Site went blank after/during update
PostPosted: Mon Aug 13, 2018 2:00 pm 
Offline
Forum Members
Forum Members

Joined: Thu Aug 12, 2010 2:27 pm
Posts: 66
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


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Site went blank after/during update
PostPosted: Mon Aug 13, 2018 2:13 pm 
Offline
Forum Members
Forum Members

Joined: Thu Aug 12, 2010 2:27 pm
Posts: 66
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!


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Site went blank after/during update
PostPosted: Mon Aug 13, 2018 2:39 pm 
Offline
Forum Members
Forum Members

Joined: Thu Aug 12, 2010 2:27 pm
Posts: 66
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?


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Site went blank after/during update
PostPosted: Tue Aug 14, 2018 7:08 am 
Offline
Forum Members
Forum Members

Joined: Thu Aug 12, 2010 2:27 pm
Posts: 66
Would it be possible to just re-upload the files of the CGEcommerceBase Module? Or does that reset everything?


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Site went blank after/during update
PostPosted: Tue Aug 14, 2018 10:24 am 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Apr 23, 2008 7:53 am
Posts: 7591
Location: The Netherlands
Quote:
"GEcommerceBase is not completely/properly configured... cannot continue"
Walk through the pages of the module and fill in what you can/need

Quote:
" 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?

_________________
Image

Did my post help you solving a problem at your (customers) website and it saved you many hours of work? Great!! Consider buying me a cup of coffee in return! [ Click here ]



Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Site went blank after/during update
PostPosted: Tue Aug 14, 2018 10:50 am 
Offline
Forum Members
Forum Members

Joined: Thu Aug 12, 2010 2:27 pm
Posts: 66
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
CGEcommerceBase.jpg [ 94.09 KiB | Viewed 251 times ]
Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Site went blank after/during update
PostPosted: Tue Aug 14, 2018 11:14 am 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Apr 23, 2008 7:53 am
Posts: 7591
Location: The Netherlands
Already tried to clear CMS *and* browser cache?

_________________
Image

Did my post help you solving a problem at your (customers) website and it saved you many hours of work? Great!! Consider buying me a cup of coffee in return! [ Click here ]



Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Site went blank after/during update
PostPosted: Tue Aug 14, 2018 1:22 pm 
Offline
Forum Members
Forum Members

Joined: Thu Aug 12, 2010 2:27 pm
Posts: 66
Just did, doesn't make a difference..


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting