Skip to content
FREE & OPEN SOURCE Million Dollar Script is a free WordPress plugin for sponsor walls, campaign grids, fundraiser boards, and premium add-on workflows.

Installation

Warning Errors

Started May 15, 2013 by Eliza

Hi guys! I am a new user of the script. I have just finished installing it, deleted the install.php and moved on to the admin section. I add the password but keep getting warnings there and i'm not sure what i am doing wrong. Can someone help? This is what I get:Warning: session_start() [function.session-start]: open(/var/chroot/home/content/92/11054992/tmp/sess_4dtm06gk28r6n6rtjulg8mbmb5, O_RDWR) failed: No such file or directory (2) in /home/content/92/11054992/html/admin/admin_common.php on line 2Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/92/11054992/html/admin/admin_common.php:2) in /home/content/92/11054992/html/admin/admin_common.php on line 2Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/92/11054992/html/admin/admin_common.php:2) in /home/content/92/11054992/html/admin/admin_common.php on line 2Main SummaryCurrent GMT Time: 2013-05-15 07:28:430Advertiser Accounts0Orders Waiting0Orders Cancelled0Orders Completed0Pixels Waiting for approvalWarning: Unknown: open(/var/chroot/home/content/92/11054992/tmp/sess_4dtm06gk28r6n6rtjulg8mbmb5, O_RDWR) failed: No such file or directory (2) in Unknown on line 0Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0Thanks!

13 replies

Hello,It looks like your tmp folder might not be writable by the web server user located here: /var/chroot/home/content/92/11054992/tmpMake sure that folder has write permissions for the user the web server is running under.

Thanks for the quick reply! :)I changed the permissions and made sure that pixels and tmp (in admin) has write permissions for the web server as well.. I still get the same error though.. : Not sure if I'm doing something wrong..

Hmm, well for whatever reason your web server user is unable to access this directory. /var/chroot/home/content/92/11054992/tmp/It may be a parent directory such as /var or /var/chroot or /var/chroot/home/content/92 which it doesn't have access to view etc.It is the location of your PHP session folder and PHP is failing to start a session because it cannot access /var/chroot/home/content/92/11054992/tmp/ to create a session file there.

Hmm.. After uploading the files and before installing the script, I have changed my os from windows to linux, because of some permission issues I had at go daddy. I got an email that the update took place, but it might need some time for new content to appear. Is there a chance that this is what messed things up? Should I maybe try re-installing? Thanks again for your time :) I'm a newbie at this and I really don't know what I am doing :p

Well, in my experiences Godaddy is a horrible host and I often refuse to work on peoples websites if they don't get off Godaddy and use some other host.Other then that I doubt reinstalling will do anything. Waiting likely isn't going to do anything either. If you can't adjust the permissions so that PHP can write to the tmp folder then all I could say is change your PHP session save path to somewhere else outside of your website root folder so it isn't accessible from the internet and see if that helps. If you can even edit your PHP settings with Godaddy.

Changing a host is not an option for me as i have already paid and will be losing my money. Go daddy might not be the best host but so far they have been willing to help me resolve any problems I had. Like I said, I am very new to this, but very willing to learn as well. I need help though. I am not able to see where this directory is: /var/chroot/home/content/92/11054992/tmp/Is it not the same as this one: webroot/admin/temp ?That is the one I am changing, using ftp file manager. Is there an other way to do it? Am I accessing the wrong files?

No that isn't the same folder. Your webroot is where your web files go that are accessible to the internet. PHP sessions should go in another folder. In this case that other folder does not appear to be writable by your PHP installation for whatever reason. Try putting this PHP script I just made into a file into your webroot folder. Name it test.php or whatever. Then go to yoursite.com/test.php[code][/code]

ok.. i did that and I'm getting similar problems:Warning: touch() [function.touch]: Unable to create file /var/chroot/home/content/92/11054992/tmp/testfile because No such file or directory in /home/content/92/11054992/html/test.php on line 5Unable to create file...Warning: unlink(/var/chroot/home/content/92/11054992/tmp/testfile) [function.unlink]: No such file or directory in /home/content/92/11054992/html/test.php on line 12Unable to remove file...So I need to figure out how to access my webroot and change the permissions. Thanks again for your time and help! I appreciate it!

So basically it is like I said before. Your web server does not have access to that folder and that is where your PHP session save path is set to. You have to either change your PHP session save path in your php.ini settings or make sure that folder exists and is readable/writable by your web server. If you have any troubles doing this you should contact your host.

Ok.. I contacted go daddy and the issue is resolved. It was indeed an issue with the permissions and it was due to the transition from windows to linux. Some file was not updated correctly. It's almost all good now. Admin panel works perfectly and the example page looks good, but i do not have access to the main site. When I visit my actual website I get :ForbiddenYou don't have permission to access / on this server.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.Apache Server at melissi.net Port 80I think it again has something to do with permissions and it must be on go daddy's behalf as well. I ll see to it!Thanks again for your help and patience. The script is great!

yeah.. that's because I don't have an index file :p Was there supposed to be one with the script or am I supposed to create it myself? :)

You are using the old version (rather than development snapshot) so you would have to rename example.html to index.html as noted in the README.txtIf you have any troubles try starting fresh and giving the development snapshot a try.

yeap! I got it :) Thanks for all your help! I ll try updating as well!