Solved: "call to a member function on a non-object"

Tony Rein <[email protected]>
Newsgroups gmane.comp.audio.netjuke.user
Message-ID <1038436006.18795.7.camel@wilbur>
Hello all.

I've been running Netjuke for a while on a machine with Mandrake Linux.
A few days ago I upgraded the computer to Gentoo Linux, and since then,
I got the "call to a member function on a non-object" fatal error with
Netjuke.

I checked the Netjuke mailing list archives and several pages worth of
Google hits, but I didn't find an answer.

Then, today, I tried to run another PHP program (PHPRecipebook) and it
gave me an error saying that it didn't have permission to open a file in
the /tmp directory. Sure enough, the /tmp directory was set so that only
root could write to it. I did a "chmod 1777 /tmp" and PHPRecipebook
worked fine. Just on a hunch, I tried Netjuke again, and it now works,
also.

I hope this helps anyone who might be having the same problem.

Tony





-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.