Setting Up Forum On Local Network, Need A Bit Of Help Please!

Discussion in 'Web Design and Development' started by SH&E, Feb 2, 2008.

  1. SH&E macrumors newbie

    Joined:
    Feb 19, 2007
    #1
    Hi everyone. I was hoping somebody could help me with a little problem I've been having with phpBB3. I've been trying to set up a Forum on my MacBook that everyone at school can access through the network. I've managed to get that far, and I've got the forum up. Everything is working fine except one thing...

    Nobody seems to be able to register. You click on the register page and put in your info, click submit, wait a few seconds and then safari comes up with 'Zero Sized Reply' (when I'm at school because they use squid),
    and 'Safari can’t open the page “bla-bla-bla” because the server unexpectedly dropped the connection, which sometimes occurs when the server is busy. You might be able to open the page later.' (when I'm at home.)

    I guess they're just two different ways of saying the same thing but anyway.. I'm running everything that comes with Leopard plus the latest MySQL, and I was wondering if anyone else has had this problem, and how/if they fixed it.

    There's also one more thing, and that's I can't seem to get the PHP mail function working properly. Is it even possible to use PHP mail when you're on a local network??? I've googled it loads of times and I've tried many things, but nothing seems to work :(.

    If someone could help me with any of my two problems, I would be very happy. Thanks in advance! :)
     
  2. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #2
    I'm not sure about your first question. Are the other students connecting by IP address or are they finding you by browsing the local network? I don't think I'd open up my computer like that on a school network.

    As for the second question, I have gotten the PHP mail to work as localhost, but whether or not I can remember everything you need to do ....

    In php.ini
    Code:
    [mail function]
    SMTP = your ISP SMTP mail server (e.g., mail.school.edu)
    smtp_port = 25
    sendmail_path = /usr/sbin/sendmail -t -i -f your@email.address
    I have MAMP installed to use as a local web server, but for some reason it was missing part of the PEAR library, like the Mail library. I had to get them from elsewhere for it to work.
     
  3. SH&E thread starter macrumors newbie

    Joined:
    Feb 19, 2007
    #3
    They're connecting at 192.168.0.60.

    (P.S. I am a student, not the school network admin or anything heh...)
     
  4. brian9271 macrumors 6502

    brian9271

    Joined:
    Jan 31, 2008
    Location:
    Next door
    #4
    Why don't you ask the school technicians, maybe they could help with all that web server and stuff, since they set up the school's website themselves...;)
     
  5. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #5
    I did a quick search on that zero reply error and found. The solutions offered sound pretty possible.

    Possible memory issue: http://drupal.org/node/29786
     
  6. brian9271 macrumors 6502

    brian9271

    Joined:
    Jan 31, 2008
    Location:
    Next door
    #6
    What do you mean by possible memory issue Angelwatt? Its kinda getting too complicated...
     
  7. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #7
    From what I picked up at that link it sounded like a possibility was that PHP needed more memory. I don't consider myself overly knowledgeable here I'm just posting links to people who also are having the same issue and have found solutions.
     

Share This Page