+ Reply to Thread (include dating software, release, and patch number!)
Results 1 to 7 of 7

Thread: notifies.php

  1. #1
    windy's Avatar
    Join Date
    Sep 2006
    Posts
    46

    Exclamation notifies.php

    Hi

    Most things seem to work in V6.03 except I cannot get the cron notifies working

    everything is set up Exactly as I have in V6.01

    The full path to header.inc.php etc like this:

    require_once('/home/windy/public_html/mysite/inc/header.inc.php' );


    but I do not recieve any notifications whatsoever from cron - in mass mailer the emails are still in the queue

    if I alter the path to header.inc.php - I then get error messages

    any help/advice would be appreciated

    Many thanks

    Windy

  2. #2
    windy's Avatar
    Join Date
    Sep 2006
    Posts
    46

    Default Fixed

    Quote Originally Posted by windy View Post
    Hi

    Most things seem to work in V6.03 except I cannot get the cron notifies working

    everything is set up Exactly as I have in V6.01

    The full path to header.inc.php etc like this:
    require_once('/home/windy/public_html/mysite/inc/header.inc.php' );


    but I do not recieve any notifications whatsoever from cron - in mass mailer the emails are still in the queue

    if I alter the path to header.inc.php - I then get error messages

    any help/advice would be appreciated

    Many thanks

    Windy
    The problem was not the notifies.php after all - it was the header.inc.php

    extra code has been generated in the header.inc.php file at installation in V6.03 that was not there in V6.01

    So for anyone else with this problem this may help:

    download your header.inc.php and remove the code below and reupload - then the periodic mail then works - well it does for me

    //check correct hostname
    $aUrl = parse_url( $site['url'] );
    if( $_SERVER['HTTP_HOST'] != $aUrl['host'] )
    {
    header( "Location:http://{$aUrl['host']}{$_SERVER['REQUEST_URI']}" );
    exit;
    }


    Hope this helps someone

    Windy

  3. #3
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,642
    Blog Entries
    5

    Default

    I ran this by Mark (ModMySite's Lead coder), and he said:

    this is the bug fixed for ajax
    if the $site[ur]=http://somesite.com
    and you access http://www.somesite.com
    it will be redirect to http://somesite.com
    to fix the ajax domain access problem
    Code:
    if( $_SERVER['HTTP_HOST'] != $aUrl['host'] and $argv[1] == ""  )
    {
     header( "Location:http://{$aUrl['host']}{$_SERVER['REQUEST_URI']}" );
     exit;
    }
    is what he did to fix this same problem.

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  4. #4
    windy's Avatar
    Join Date
    Sep 2006
    Posts
    46

    Default

    Hi Smoge

    Where do I add this fix?

    If I put it in header.inc.php - I cannot access anything in Admin???

    Windy

  5. #5
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,642
    Blog Entries
    5

    Default

    I think the fix Mark mentioned was prior to 6.0.3 - it was just a comment - it has not been tested in 6.0.3

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  6. #6
    hollywood
    Guest

    Default

    so i deleted as above:

    //check correct hostname
    $aUrl = parse_url( $site['url'] );
    if( $_SERVER['HTTP_HOST'] != $aUrl['host'] )
    {
    header( "Location:http://{$aUrl['host']}{$_SERVER['REQUEST_URI']}" );
    exit;
    }


    and the mass mailer still is not working... any other ideas?

  7. #7

    Join Date
    Jan 2008
    Posts
    72

    Default

    Works great for me. Mass mail is working, and now the registration is email is actually being received by yahoo accounts. It is showing up in the bulk folder, but at least it's showing up. Thanks.
    Dolphin 6.0.0003 + Ray 3.0 Modded

+ Reply to Thread (include dating software, release, and patch number!)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. notifies.php error
    By silverado350 in forum General Troubleshooting
    Replies: 1
    Last Post: 11-24-2008, 09:18 AM
  2. Replies: 8
    Last Post: 09-21-2007, 12:32 AM
  3. notifies spams me
    By sanne in forum Dolphin General Discussion v5.3 to v5.6.5
    Replies: 1
    Last Post: 08-25-2007, 10:57 PM
  4. Cron notifies not working...help!
    By LG in forum General Troubleshooting
    Replies: 1
    Last Post: 10-17-2006, 03:16 AM

Bookmarks

Posting Permissions

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