Jump to content
kimi00

PHP Fatal error: Class 'Cookie'

Recommended Posts

Hello,

 

I got weird problem...

 

Error log says:

PHP Fatal error:  Class 'Cookie' not found in /home/folder/public_html/config/config.inc.php on line 174

 

I try to remove cache/class_index.php and nothing happened. Backend and shop shows white screen.

 

And cookie.php is in classes -folder.

 

What I can do next?

 

PS 1.6.1.14

Edited by kimi00 (see edit history)

Share this post


Link to post
Share on other sites

Hello,

 

I got weird problem...

 

Error log says:

PHP Fatal error:  Class 'Cookie' not found in /home/folder/public_html/config/config.inc.php on line 174

 

I try to remove cache/class_index.php and nothing happened. Backend and shop shows white screen.

 

And cookie.php is in classes -folder.

 

What I can do next?

 

PS 1.6.1.14

 

I would try to upload again /classes/Cookie.php from default PS and check that it's not overriden. Then remove /cache/class_index.php.

Share this post


Link to post
Share on other sites

Thanks!

 

I take two folders from backup: Classes and Config. Upload them with all files and now everything works.

 

Any knowledge, what cause this?

Share this post


Link to post
Share on other sites

Thanks!

 

I take two folders from backup: Classes and Config. Upload them with all files and now everything works.

 

Any knowledge, what cause this?

 

You still have old files?

Share this post


Link to post
Share on other sites

Yes I have. What do you think?

 

You could compare both folders with "WinMerge".

Share this post


Link to post
Share on other sites

Ok, Thanks again!

 

Never do that before, but I´will try.

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More