Reply to Re: session_write_close() failing

Your name:

Reply:


Posted by Steve Brecher on 05/03/06 04:29

I wrote:
> I wrote:
>> (As a *nix newbie) I think this is more of a system configuration
>> problem than a php language problem, but I'm not sure where else to
>> go for help. I'm trying to install phpMyAdmin on a linux shared
>> hosting account. When I run it (load phpMyAdmin's index.php with a
>> browser), I get the following three Warnings, and no other output:
>>
>> Warning: session_write_close():
>> open(/tmp/php-ses/sess_0c21c95414d34dd67d6adf9ab3de88f6, O_RDWR)
>> failed: No such file or directory (2)
>> [etc.]
>
> Solution -- insert:
> session_save_path ('/absolute/path/to/local/sessions/directory/');
> at the start of phpMyAdmin's libraries/session.inc.php, where the
> string argument is of course a "self-documenting dummy"(tm).

I forgot to mention some context. The key was finding this from the hosting
provider: "customers cannot use the default PHP session path in /tmp.
Instead, sessions will need to be saved in each account’s home directory."

--
For mail, please use my surname where indicated:
steve@surname.reno.nv.us (Steve Brecher)

[Back to original message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация