|
#1
|
|||
|
|||
|
Session save path is empty!!
I just transferred my site to an external hoster. So far I have discovered that I can't add any photos to the database and I am getting the "Session save path is empty!!" on the general info page. I am not sure were my php.ini file is.
What are my next steps? Host Information URL http://jeezopeezo.com/admin/index.php PHP-version 5.0.5 (Pixelpost's min requirement: PHP version: 4.3.0 ) Session save path is empty!! MySQL version 5.0.27-standard-log (Pixelpost's min requirement: MySQL: 3.23.58 ) GD-lib bundled (2.0.28 compatible) with JPEG support File Uploads to Pixelpost site are possible. Server Software Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1mm EXIF Pixelpost is using exifer v1.5 for EXIF-information. Paths Guessed imagepath: /home/jeezopee/public_html/images/ Configured Imagepath: ../images/ Image Directory: OK - Can we write to the directory? YES. Current CHMOD: 0755 Thumbnails Directory: OK - Can we write to the directory? YES. Current CHMOD: 0755 Language Directory: OK Addons Directory: OK Includes Directory: OK Templates Directory: OK |
|
#2
|
||||
|
||||
|
You can show the error messages for your page by adding "&errors" or "&errorsall" to the URL string in the address field of your browser.
Tell us which error messages come up then (you must be logged in as admin to make that work). You can check the session settings of your PHP installation by calling the phpinfo() function. Create a file named phpinfo.php with the lines Code:
<?PHP phpinfo() ?> Usually the empty session path is a server related problem. Contact your hoster and ask him about session condiguration and session path |
|
#3
|
||||
|
||||
|
I had the same issue with PP installs on 2 different webhosts, both of whom are using PHP5 as their primary php version. It seems that the default server configuration for PHP5 on most servers does not specify the session.save_path as "/tmp" - it simply has "no value", which will cause this exact problem.
You can contact your webhost and ask about the server configuration for the session save path to see if they are willing to fix it. If they aren't, there is something you can do to take care of this issue yourself: I found a thread in this forum that helped me resolve my issue on one of the webhosts - the solution was provided by GeoS. Open up your FTP program and log into your server at the root of your account. At that level you should see several folders, one of which is public_html. Check to see if there is a folder called tmp at the same level as public_html. If there is, you're okay; if not, create one. Next, you need to open both index.php and admin/index.php in a plain-text editor (Programmer's Notepad is a good one to use). You need to add the following line at the top of each of them (around line 45 in each of them, directly above error_reporting(0);): session_save_path("/home/jeezopee/tmp/"); Make sure to save both files with UTF8 encoding and UNIX line endings. Upload both to the appropriate places on your server, then try logging in to PP again and see if you can now upload an image. It should work now. Also, when logging in to the admin section, make sure to check the box "Remember me" so that it will set a cookie on your computer.
__________________
My photoblog: KP Images |
|
#4
|
|||
|
|||
|
austriaka,
Thanks for the reply. I did that and found the correct info. My session path is now set fine. dhdesign Thanks for the help as well. I ended up doing the index.php and admin/index.php thing but I am still haivng issues trying to upload any new images. When I try to upload a new images when I try to upload a photo the screen just hangs. The address below is what is at the bottom of the screen. the page is blank. http://www.jeezopeezo.com/admin/?x=save I tried the error suggestion and had no luck....maybe it's me. I tried it this way .. http://www.jeezopeezo.com/admin/index.php"&errorsall" and http://www.jeezopeezo.com/admin/index.php&errorsall Is there any other option I could check. |
|
#5
|
||||
|
||||
|
use this one:
http://www.jeezopeezo.com/admin/index.php?errorsall the & is used to add more get-variables into the URL. The first one is called with ?, sorry for missing that. Usually you already have a get-string in admin area http://www.jeezopeezo.com/admin/index.php?view=images for example, and there you add the errors thing with '&' (without quotes). So if there are no get-variables in the string (view=images), add the errors or errorsall with ?, otherwise with & |
|
#6
|
|||
|
|||
|
austriaka,
I tried this one http://www.jeezopeezo.com/admin/index.php?errorsall and all I got was a blank page. Nothing updated. No errors. Can you tell me what you think is going on? Is this a permission issue on the DB or a path issue? here is the information again just to help. URL http://www.jeezopeezo.com/admin/index.php PHP-version 5.0.5 (Pixelpost's min requirement: PHP version: 4.3.0 ) Session save path /home/jeezopee/tmp/ MySQL version 5.0.27-standard-log (Pixelpost's min requirement: MySQL: 3.23.58 ) GD-lib bundled (2.0.28 compatible) with JPEG support File Uploads to Pixelpost site are possible. Server Software Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1mm EXIF Pixelpost is using exifer v1.5 for EXIF-information. Guessed imagepath: /home/jeezopee/public_html/images/ Configured Imagepath: ../images/ Image Directory: OK - Can we write to the directory? YES. Current CHMOD: 0755 Thumbnails Directory: OK - Can we write to the directory? YES. Current CHMOD: 0755 Language Directory: OK Addons Directory: OK Includes Directory: OK Templates Directory: OK |
|
#7
|
|||
|
|||
|
austriaka,
Here is some additional info. If I try to edit one of the posts that is already in the DB I can do that without problems. I can even replace the current photo with a new one. However, if I try to put in a new post and upload a new photo I am out of luck. Thanks again for the help. Rob |
|
#8
|
||||
|
||||
|
Rob -
The info you posted from the general info section shows the following: Image Directory: OK - Can we write to the directory? YES. Current CHMOD: 0755 Thumbnails Directory: OK - Can we write to the directory? YES. Current CHMOD: 0755 Both of those directories need to be at least 0775 in order to upload an image. Open your FTP program, change the permissions on both the images folder and thumbnails folder to 0775, then try to upload an new image. If it fails again, then try changing the permissions to 0777 and attempt to upload a new image. Just out of curiousity, who is your webhost?
__________________
My photoblog: KP Images |
|
#9
|
|||
|
|||
|
dhdesign,
No Luck. I tried 775 and 777 and had the same result. I use Siteground as the host. Here is the output... Host Information URL http://jeezopeezo.com/admin/index.php PHP-version 5.0.5 (Pixelpost's min requirement: PHP version: 4.3.0 ) Session save path /home/jeezopee/tmp/ MySQL version 5.0.27-standard-log (Pixelpost's min requirement: MySQL: 3.23.58 ) GD-lib bundled (2.0.28 compatible) with JPEG support File Uploads to Pixelpost site are possible. Server Software Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1mm EXIF Pixelpost is using exifer v1.5 for EXIF-information. Paths Guessed imagepath: /home/jeezopee/public_html/images/ Configured Imagepath: ../images/ Image Directory: OK - Can we write to the directory? YES. Current CHMOD: 0777 Thumbnails Directory: OK - Can we write to the directory? YES. Current CHMOD: 0777 Language Directory: OK Addons Directory: OK Includes Directory: OK Templates Directory: OK |
|
#10
|
||||
|
||||
|
so you can receive your admin panel?
If you are logged in as admin and add the ?errors or &error to the URL string, you should see the same page but with error messages shown (if there are some) blank page should not be the result :-/ |
| Post Reply |
| Thread Tools | |
|
|