Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

SH&E

macrumors newbie
Original poster
Feb 19, 2007
14
0
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! :)
 
...
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! :)

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.
 
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.

They're connecting at 192.168.0.60.

(P.S. I am a student, not the school network admin or anything heh...)
 
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...;)
 
I did a quick search on that zero reply error and found. The solutions offered sound pretty possible.

http://www.linux-noob.com/forums/lofiversion/index.php/t1878.html said:
the solution was to change my smoothwalls hostname, it contained an illegal character "_"

so I had given it a host called "firewall_1"

changing that to "firewall1" resolved the issue.

http://www.atutor.ca/view/7/5812/1.html said:
solving my own problems here, our Squid settings were fine, but we solved the problem by increasing the post time in php from 30 seconds to two minutes..

Possible memory issue: http://drupal.org/node/29786
 
What do you mean by possible memory issue Angelwatt? Its kinda getting too complicated...

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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.