SibSoft Ltd.
Development Services
software products
 RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
EZYWebhost - Cheap XUpload & XFileSharing 100% campatible hosting

AJAX upload progress bar

File sharing script
Template->new Cannot open included file ...default.html

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XUpload
View previous topic :: View next topic  
Author Message
monkofthefunk



Joined: 29 Apr 2008
Posts: 5

PostPosted: Apr 29, 2008 8:18 pm    Post subject: Template->new Cannot open included file ...default.html Reply with quote

It doesn't appear to be able to generate the default.html file.
It uploads fine, so I set the template dir in the upload dir to confirm that it should be able to write to that folder, the template.pm is able to execute.
any suggestions?
Thank you

Quote:

Software error:

HTML::Template->new() : Cannot open included file /var/www/html/dev_tobias/uploads/template/default.html : file not found. at HTML/Template.pm line 1616
HTML::Template::_init_template('HTML::Template=HASH(0x8bef2a4)') called at HTML/Template.pm line 1189
HTML::Template::_init('HTML::Template=HASH(0x8bef2a4)') called at HTML/Template.pm line 1083
HTML::Template::new('HTML::Template', 'filename', '/var/www/html/dev_tobias/uploads/template/default.html', 'die_on_bad_params', 0) called at /var/www/cgi-bin/upload_status.cgi line 41

Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 1107
Location: Undisclosed location

PostPosted: Apr 30, 2008 3:19 am    Post subject: Reply with quote

What Version of XUpload?!
Back to top
View user's profile Send private message Visit poster's website AIM Address
monkofthefunk



Joined: 29 Apr 2008
Posts: 5

PostPosted: Apr 30, 2008 3:01 pm    Post subject: Reply with quote

fresh version 2.6 free edition on apache vr2052
Thanks
Back to top
View user's profile Send private message
monkofthefunk



Joined: 29 Apr 2008
Posts: 5

PostPosted: Apr 30, 2008 11:14 pm    Post subject: Reply with quote

any suggestions?
:s
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 1107
Location: Undisclosed location

PostPosted: May 01, 2008 6:40 am    Post subject: Reply with quote

Sure there are Smile
Put correct path for "templates_dir" in config.
e.g.
Code:
templates_dir => '/var/www/html/dev_tobias/Templates',
Back to top
View user's profile Send private message Visit poster's website AIM Address
monkofthefunk



Joined: 29 Apr 2008
Posts: 5

PostPosted: May 01, 2008 3:13 pm    Post subject: Reply with quote

Oh! is there a special template directory for cgi templates, hence I cant use just any folder?
Back to top
View user's profile Send private message
monkofthefunk



Joined: 29 Apr 2008
Posts: 5

PostPosted: May 05, 2008 8:49 pm    Post subject: Reply with quote

Well thats why... some how the Template folder wasnt in my zip file and didnt get extracted... I thought template.pm generated the default.html

Thanks for your help
Tobias
Razz
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XUpload All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group