Page 1 of 1

Problem with sendpic-feature (email)

Posted: 22 Apr 2007, 05:32
by sathonys
Hi guys,
I just stumbled over the email-feature where a visitor can send a picture by email and changed the slideshowimagevueconfig.ini and slideshowconfig.ini accordingly.
(maincontrols = select,previous,next,toggleplay,sfx,window,popup,download,sendemail)
and
(rightclick = next,previous,toggleplay,window,popup,download,sendemail)

So far, so good, the email feature is now displayed and right-click functionality enabled. But when I test the form and send it, an error appears after some seconds: "An error ocurred: can not open template"

I searched for this message and found it in sendpic.php
Code
//read template
		$maildata['gal_url']='http://'.getenv('HTTP_HOST').getDirname(getenv('REQUEST_URI'));
 $tpl=@unMagic(implode(file('include/sendpic.html')),1) or die ('error=can not open template');
But I don't know what to do (I also tried setting an absolute path for sendpic.html there, but nothing..- everything else works perfectly (I'm using the carbon-template)). Maybe someone had this problem as well?
Would be awesome to get the email-feature working..

Posted: 22 Apr 2007, 12:04
by piko111647
I have posted a similar question in the other( config) forum but have not yet had a reply. I have just sent a private email this morning to imagevue. as soon as they reply I will let you know.
Good luck with the setup.

Peter Mclaren

Posted: 25 Apr 2007, 02:37
by mjau-mjau
Do you have links to your galleries so we may do some inspection?

I will talk to my partner regarding this to see if there is any solution. Have you made sure your template file has not received incorrect permissions somehow? Try to access the file in your browser similar to this: yoursite.com/gallery/include/sendpic.html -

Try setting perms 777 on the file in your include folder.