| View previous topic :: View next topic |
| Author |
Message |
monkofthefunk
Joined: 29 Apr 2008 Posts: 5
|
Posted: Apr 29, 2008 8:18 pm Post subject: Template->new Cannot open included file ...default.html |
|
|
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 |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: Apr 30, 2008 3:19 am Post subject: |
|
|
| What Version of XUpload?! |
|
| Back to top |
|
 |
monkofthefunk
Joined: 29 Apr 2008 Posts: 5
|
Posted: Apr 30, 2008 3:01 pm Post subject: |
|
|
fresh version 2.6 free edition on apache vr2052
Thanks |
|
| Back to top |
|
 |
monkofthefunk
Joined: 29 Apr 2008 Posts: 5
|
Posted: Apr 30, 2008 11:14 pm Post subject: |
|
|
any suggestions?
:s |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: May 01, 2008 6:40 am Post subject: |
|
|
Sure there are
Put correct path for "templates_dir" in config.
e.g. | Code: | | templates_dir => '/var/www/html/dev_tobias/Templates', |
|
|
| Back to top |
|
 |
monkofthefunk
Joined: 29 Apr 2008 Posts: 5
|
Posted: May 01, 2008 3:13 pm Post subject: |
|
|
| Oh! is there a special template directory for cgi templates, hence I cant use just any folder? |
|
| Back to top |
|
 |
monkofthefunk
Joined: 29 Apr 2008 Posts: 5
|
Posted: May 05, 2008 8:49 pm Post subject: |
|
|
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
 |
|
| Back to top |
|
 |
|