Forum Moderators: coopster

Message Too Old, No Replies

problem with session start();

problem need help

         

awallapeprs

12:37 pm on Apr 26, 2010 (gmt 0)

10+ Year Member



hi guys

I'm trying to install this Wallpaper Script

so when i trying to setup I got session_start(); error

can any one download the script and tell me what is the problem

I think it's in the Framework.php file in the sys folder

[edited by: eelixduppy at 12:39 pm (utc) on Apr 26, 2010]
[edit reason] no personal URLs, please [/edit]

eelixduppy

12:40 pm on Apr 26, 2010 (gmt 0)



Welcome to WebmasterWorld. Please read our forum charter [webmasterworld.com] about posting links.

What kind of error are you getting? Can you post the whole error message, please.

awallapeprs

1:25 pm on Apr 26, 2010 (gmt 0)

10+ Year Member



this is the erorr when I try to setup the website

Warning: session_start() [function.session-start]: open(/var/php_sessions/sess_d34228fca639673f5eabe954f15c1191, O_RDWR) failed: No such file or directory (2) in /hermes/web10/b2240/moo.awallpapersnet/333/sys/Framework.php on line 28

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /hermes/web10/b2240/moo.awallpapersnet/333/sys/Framework.php:28) in /hermes/web10/b2240/moo.awallpapersnet/333/sys/Framework.php on line 28

Congratulations you installed Veppa Wallpaper Script. View your website.


Warning: Unknown: open(/var/php_sessions/sess_d34228fca639673f5eabe954f15c1191, O_RDWR) failed: No such file or directory (2) 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 (/var/php_sessions) in Unknown on line 0


note : 333 is the folder where I put the script for test

eelixduppy

11:00 pm on Apr 26, 2010 (gmt 0)



It looks like you have to set your session.save_path to /var/php_sessions for this script to work correctly.

Go into your php.ini file and modify the session.save_path directive to mirror this change.

Not sure if this will fix all the errors, but you should try that (and restart your server after making the changes) to see if that fixes it.

awallapeprs

10:07 am on Apr 27, 2010 (gmt 0)

10+ Year Member



where is my php.ini please ?

Matthew1980

10:13 am on Apr 27, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi there awallapeprs,

If this is a localhost server it will be in the root of your php directory, but this depends on what install you are using I think: wampp xampp etc.

[EDIT] Failing that do a seacrh for php.ini from your windows explorer (windows key+F, then seacrh whole computer, which is generally the C:/)

Cheers,
MRb

arvind gupta

1:33 pm on Apr 27, 2010 (gmt 0)

10+ Year Member



Hi awallapeprs,

Which OS are you using?

If it's windows, "php.ini" could be in your PHP installation directory or the Windows directory.

If you're using Linux, however, it depends on which Linux you're using.

awallapeprs

3:06 pm on Apr 27, 2010 (gmt 0)

10+ Year Member



thanks you guys so much it's works now
I updated the session path in the server thanks you all

you are very helpful ! :D