Internet Marketing Forum

Navigation: Make Money Online SEO Service Internet Marketing Forum Free Software Contact Us


Advanced search
  • Board index ‹ Website Development ‹ Coding
  • Change font size
  • Print view
   
  • Register
  • Login
Anything that has to do with website coding, HTML, XHTML, DHTML, CSS, PHP, PERL, ASP, ColdFusion, C++ and so on.
Post a reply
4 posts • Page 1 of 1

Php Warning

Postby jonathan on Mon Apr 21, 2008 11:00 pm

Does anyone know why i get this php warning in my site
open(/tmp\sess_03416739e8d8712a1489aa6bb6bdf19d, O_RDWR)" failed ?

I tried everthing i dont know why i keep getting this warning ?
jonathan
 
Posts: 18
Joined: Mon Apr 21, 2008 2:28 pm
Top

Re: Php Warning

Postby Trusted Writer on Wed Apr 23, 2008 11:38 pm

It seems your script has a directory called "tmp" and it has not given the right permissions.

Check your root directory for tmp and apply chmod 777

If that directory does not exists, create it manually and proceed with chmod, that should do the trick
:geek:
User avatar
Trusted Writer
 
Posts: 22
Joined: Tue Apr 22, 2008 8:25 pm
Top

Re: Php Warning

Postby mann3r on Thu Apr 24, 2008 12:07 am

does the warning ever have your site or script not working due to this warning? they are normally a session log (not sure though). chmod as stated above by trusted writer will do the trick
mann3r
 
Posts: 13
Joined: Sat Apr 12, 2008 7:55 am
Top

Re: Php Warning

Postby BuckBuck on Tue May 13, 2008 8:11 am

This is not that hard to cope with. If you are running on windows you need to make a change to the default php.ini file to define where session files have to be written. The thing you have to edit look like this:

session.save_path = /tmp

You have to make it point to your temp directory. Good luck. :)
Tasty recipes!
User avatar
BuckBuck
 
Posts: 532
Joined: Fri Apr 25, 2008 12:47 pm
Top


Post a reply
4 posts • Page 1 of 1

Return to Coding

Php Warning

Who is online

Users browsing this forum: No registered users and 0 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC - 5 hours [ DST ]


All Rights Reserved, Copyright GuruCreation
Internet Marketing
Powered by phpBB
cron