Warning: Smarty error: problem creating directory "/home/wbpro/public_html/sys/ac/templates_c//main_default_header/%%415/%%4159914376" in /home/wbpro/public_html/sys/ac/smarty/Smarty.class.php on line 589
Warning: Smarty error: problem writing '/home/wbpro/public_html/sys/ac/templates_c//main_default_header/%%415/%%4159914376/header.tpl.php.' in /home/wbpro/public_html/sys/ac/smarty/Smarty.class.php on line 589
Warning: touch() [function.touch]: Unable to create file /home/wbpro/public_html/sys/ac/templates_c//main_default_header/%%415/%%4159914376/header.tpl.php because No such file or directory in /home/wbpro/public_html/sys/ac/smarty/Smarty.class.php on line 968
Warning: fetch(/home/wbpro/public_html/sys/ac/templates_c//main_default_header/%%415/%%4159914376/header.tpl.php) [function.fetch]: failed to open stream: No such file or directory in /home/wbpro/public_html/sys/ac/smarty/Smarty.class.php on line 686
Warning: fetch(/home/wbpro/public_html/sys/ac/templates_c//main_default_header/%%415/%%4159914376/header.tpl.php) [function.fetch]: failed to open stream: No such file or directory in /home/wbpro/public_html/sys/ac/smarty/Smarty.class.php on line 686
Warning: fetch() [function.include]: Failed opening '/home/wbpro/public_html/sys/ac/templates_c//main_default_header/%%415/%%4159914376/header.tpl.php' for inclusion (include_path='/usr/lib/php:.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/wbpro/public_html/sys/ac/smarty/Smarty.class.php on line 686
I just uploaded a CGI application and it does not work. What am I doing wrong?
A:
Chances are you didn't make the file executable with the CHMOD feature of your FTP client. Here's some guidelines:
1. Always CHMOD your CGI scripts so they're executable. 2. Make sure they have a .cgi or .pl extension. 6. Make sure you upload any CGI scripts in ASCII mode. Failing to do so will disrupt your carriage returns and the script will not run.