Search…

X3 Photo Gallery Support Forums

Search…
 
sathonys
Topic Author
Posts: 1
Joined: 22 Apr 2007, 05:22

Problem with sendpic-feature (email)

22 Apr 2007, 05:32

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..
 
piko111647
Posts: 12
Joined: 16 Apr 2007, 03:57

22 Apr 2007, 12:04

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
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

25 Apr 2007, 02:37

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.