Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Error Need Help

  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Posts
    271
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Error Need Help

    I get this error message on a script


    Warning: main(/home2/cruisevacationcenter/public_html/emml/class.html.mime.mail.php) [function.main]: failed to open stream: No such file or directory in /home2/cruisew/public_html/cruisevacationcenter.net/emml/emml_config.php on line 130

    Warning: main(/home2/cruisevacationcenter/public_html/emml/class.html.mime.mail.php) [function.main]: failed to open stream: No such file or directory in /home2/cruisew/public_html/cruisevacationcenter.net/emml/emml_config.php on line 130

    Warning: main() [function.include]: Failed opening '/home2/cruisevacationcenter/public_html/emml/class.html.mime.mail.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/cruisew/public_html/cruisevacationcenter.net/emml/emml_config.php on line 130

    Fatal error: Cannot instantiate non-existent class: html_mime_mail in /home2/cruisew/public_html/cruisevacationcenter.net/emml/emml_config.php on line 132

    The class.html.mime.mail is there

    Lines 130 132 are

    include("$emml_path/class.html.mime.mail.php");

    $em_mail = new html_mime_mail('X-Mailer: ');

    Could I have the path wrong ??

    THXS Stev e

  • #2
    Senior Coder
    Join Date
    Sep 2005
    Posts
    1,791
    Thanks
    5
    Thanked 36 Times in 35 Posts
    The 2 paths in the error msg are different:
    /home2/cruisevacationcenter/public_html/emml/class.html.mime.mail.php
    /home2/cruisew/public_html/cruisevacationcenter.net/emml/emml_config.php
    should the first bit of the first look like the first bit of the 2nd?
    My thoughts on some things: http://codemeetsmusic.com
    And my scrapbook of cool things: http://gjones.tumblr.com

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Posts
    271
    Thanks
    4
    Thanked 0 Times in 0 Posts
    here is what i set up fpr paths

    // set $emml_path where emml scripts resides
    // e.g. $emml_path = "/home/yourname/public_html/emml";

    $emml_path = "/home2/cruisevacationcenter/public_html/emml";

    // set $emml_admin_path where emml admin scripts resides
    // e.g. $emml_admin_path = "/home/yourname/public_html/emml/admin";

    $emml_admin_path = "/home2/cruisevacationcenter/public_html/emml/admin";

    // set $template_html_path where emml html templates resides
    // e.g. $template_html_path = "/home/yourname/public_html/emml/template";

    $template_html_path = "/home2/cruisevacationcenter/public_html/emml/template";

    // set URL of emml
    // e.g. $emml_url = "http://www.yourdomain.com/emml";

    $emml_url = "http://www.cruisevacationcenter.net/emml";

    // set URL of emml admin
    // e.g. $emml_admin_url = "http://www.yourdomain.com/emml/admin";

    $emml_admin_url = "http://www.cruisevacationcenter.net/emml/admin";

    // set URL of images
    // e.g. $emml_admin_url = "http://www.yourdomain.com/emml/images";

    $emml_image_url = "http://www.cruisevacationcenter.net/emml/images";


  •  

    Posting Permissions

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