Results 1 to 2 of 2

Thread: Error messages

  1. #1
    Join Date
    Jun 2003

    Unanswered: Error messages

    I'm trying to run a script from the command line and keep getting these errors.

    <b>Warning</b>: Smarty error: problem creating directory "/%%176/%%1762577084" in <b>/home/httpd/documentroot/mysql01/dev/dhermanson/modules/campaign/libs/Smarty/Smarty.class.php</b> on line <b>999</b><br>
    <b>Warning</b>: Smarty error: problem writing '/%%176/%%1762577084/campaign_3.tpl.php.' in <b>/home/httpd/documentroot/mysql01/dev/dhermanson/modules/campaign/libs/Smarty/Smarty.class.php</b> on line <b>999</b><br>
    <b>Warning</b>: unable to create file /%%176/%%1762577084/campaign_3.tpl.php because No such file or directory in <b>/home/httpd/documentroot/mysql01/dev/dhermanson/modules/campaign/libs/Smarty/Smarty.class.php</b> on line <b>1518</b><br>
    <b>Warning</b>: Failed opening '/%%176/%%1762577084/campaign_3.tpl.php' for inclusion (include_path='.:/usr/local/phpcgi//lib/php') in <b>/home/httpd/documentroot/mysql01/dev/dhermanson/modules/campaign/libs/Smarty/Smarty.class.php</b> on line <b>1118</b><br>

    I have chmod 777 all the files that I am working with and it still gives me an error. I have narrowed it down to this piece of code.

    $smarty = new Smarty();

    $smarty->assign ("email", $email);
    $smarty->assign ("first", $first);
    $smarty->assign ("last", $last);
    $smarty->assign ("keycode", $keycode);
    $smarty->assign ("email_id", $email_id);
    $smarty->assign ("campaign_id",

    echo $smarty->fetch ("/home/httpd/documentroot/mysql01/dev/dhermanson/GRIN/email_templates/campaign_{$campaign_id}.tpl");


    Any help would be great.

  2. #2
    Join Date
    Feb 2002
    North Wales, UK
    By the looks of the errors, it would appear the script is trying to create the following file:
    Which it shouldn't be able to, never used Smarty myself but does it config options? If so I'd check them over.
    J^ - web | email
    newsASP Developer

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts