Comments on BinarySudoku: Thank you. BTW, the little problem with the php enquiry seems to have cleared up on it own?!?! Bizarre!!

It takes a programmers sense of humor to consider that being funny :p

christa 2007-01-10 16:41 UTC


Hi all…
My website has started acting funny…
Why are these error being displayed?
(PS I get the basics of what its trying to tell me, but not sure how to get round it)

Warning: Unknown(): open(/tmp/sess_4108741e2c30a387ae023cc30a635cdc, O_RDWR) failed: Permission denied (13) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

Warning: session_start() [function.session-start]: open(/tmp/sess_4108741e2c30a387ae023cc30a635cdc, O_RDWR) failed: Permission denied (13) in content…/…/…/…/…/web/index.php on line 2

Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /content/StartupHostPlus/r/b/rbcsoftware.me.uk/web/index.php:2) in content…/…/…/…/…/web/index.php on line 2

The Creator 2007-01-10 23:53 UTC


It’s the lines that start

Warning: Unknown(): open(tmp….

that are the problem. The rest is just complaining that it can’t send the HTML errors because those errors have already sent them. Silly, I know :)

It looks like the webserver can’t write to the tempotary (/tmp) directory any more, so can’t store the session information. Get in touch with the admins for the server and ask them if they’ve changed the permissions without telling you.

Otherwise, you’ll need to change where the session info is stored. You’ll need to change session.save_path to somewhere other than /tmp.

Hope that helps.

ps – What do you think of the new-look http://www.greywulf.net? Your login and blogspace should still work, btw.

GreyWulf 2007-01-11 00:15 UTC


Just thinking, but would htadmin have anything to do with it???

I check it, but there doesn’t seem to be anything relating to th “/tmp” folder.

The Creator 2007-01-11 00:35 UTC


Nope. htadmin has to go with creating passwords to restrict access through a .htpasswd file. That’s got nothing to do with it :)

GreyWulf 2007-01-11 00:47 UTC


Ahhh,
Well, looks like a support call, coz I can’t edit my php.ini I don’t think.
The phpinfo reports that everything is in check tho, can’t understand whats happened.

Oh well…

The Creator 2007-01-11 00:52 UTC


Oh by the way,
the new greywulf::net is looking pretty cool.

I like the changable themes too…
Are you having a VB section on there??? ;o)

It’s a good job I’m better at VB than this PHP lark!!!
I’d be pretty screwed otherwise…

BTW, do you know of any user friendly Java SDKs, currently looking at the Java SDK from SUN, but by, gawd its harder than a teenager looking in the girls shower room…

:o/

I just fancy something thats easy, and has a better GUI.
Was thinking about writing in Java rather than VB so its easier to migrate. Or at least I would think so, I havent managed to get anything started…

Teach me Master Obi…

The Creator 2007-01-11 00:57 UTC


I might drop in the occasional VB tutorial if I find something of interest.

If you’re looking for something that’s VB-like, I’d suggest going with Mono. It’s darned cool and (as it uses the C# .NET framework) cross-platform too. C# is one of the best things to come out of Microsoft in a long time. Come to think about it, it’s probably the only good thing to come out of Microsoft for a long time :)

If you take a look at the some of the sample code on the site, you’ll see that it’s got a lot of code structure similarities to VB and java, but it’s much more readable, memory efficient and downright hackable than either.

There’s even a number of Gui toolkits out there (of which GtkSharp is probably the best) to it’s fairly easy to create your own gui-driven app.

Mono has it’s own IDE/SDK too in the form of MonoDevelop.

I’ll hunt out a set of resources and write a tutorial for Mono later this week. In the meantime, there’s no shortage of tutorials at http://www.mono-project.com/

If you’d like to take a look at a sample webapp, peek at fireblog.

Hope that helps!

GreyWulf 2007-01-11 01:50 UTC


Thank you.
BTW, the little problem with the php enquiry seems to have cleared up on it own?!?!
Bizarre!!

The Creator 2007-01-11 02:49 UTC

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *