Jump to content

Problem with classes


Andron777

Recommended Posts

Hello, I need urgent help with this:

 

I hvae backup the classes files, after uploading back, i get this error:

 

Fatal error: Class 'Address' not found in /home/____________/classes/Cart.php on line 540

 

website is not opening....

 

Why this happens, I upload old files back and the same error.

 

 

Please help!

Link to comment
Share on other sites

Hi Andron,

Sorry to hear you have this problem. Seems that some file is either corrupt, unreachable or not available.

 

Please check if you have the file /classes/Address.php and if you can open it normally in an editor. Then see if the file is complete (look if opening and closing {} for the total class are there.

(Also, probably last function is 

    public function getDeliveryAddressesWithoutCarriers    

(in vsn 1.5.6.2 at least))

 

if you have all this, see if the file has set its permissions correctly: should be 644 (or sometimes 755, depending on the host).

post-455771-0-62706300-1398196742_thumb.png

 

 

 

Hope this helps,

pascal

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...