Jump to content

Contact form issue with classes/Tools.php


C2S

Recommended Posts

Dear members,

 

Im using PrestaShop 1.6 and Im new to it.

Unfortunately, there seems to be an error, when the contactform is used.
 

 

This is the error:

 Warning: touch(): Unable to create file /home/dinghy/domains/MYDOMAIN.nl/public_html/cache/push/activity because No such file or directory in /home/dinghy/domains/MYDOMAIN.nl/public_html/classes/Tools.php on line 3139

I checked the file Tools.php , on ln: 3139 , and found out that when I deleted the touch($file_name); the error was solved.

This is how it looks like now:

	public static function changeFileMTime($file_name)
	{
		
	}

As you can see, its empty.

I'm not sure what the error exactly meant and Im not use what the implications are then I deleted that part.

 

I have tested the form , with and without attachment, and it all seems fine.

 

Could someone explain whats going on here?

 

Thanks in advance.

 

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...