View Full Version : Session save path is empty!!
rcjay2
11-28-2007, 02:56 AM
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
austriaka
11-28-2007, 11:20 AM
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
<?PHP
phpinfo()
?>
and upload this to your server. Call the file and you'll see your PHP information.
Usually the empty session path is a server related problem. Contact your hoster and ask him about session condiguration and session path
dhdesign
11-28-2007, 12:42 PM
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 (http://www.pixelpost.org/forum/showthread.php?t=5609&highlight=session+save+path+empty) 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 (http://www.pnotepad.org/) 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.
rcjay2
11-29-2007, 01:52 AM
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.
austriaka
11-29-2007, 06:54 AM
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 &
rcjay2
11-30-2007, 12:04 AM
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
rcjay2
11-30-2007, 12:08 AM
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
dhdesign
11-30-2007, 12:20 AM
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?
rcjay2
11-30-2007, 04:20 AM
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
austriaka
11-30-2007, 12:53 PM
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 :-/
rcjay2
11-30-2007, 09:48 PM
So I logged into the admin panel and I was sitting at the New Iamge page. I then pasted the URL http://www.jeezopeezo.com/admin/index.php?errorsall into the address bar and wahla....
Error all over the place.......
Notice: Undefined index: x in /home/jeezopee/public_html/admin/pass_recovery.php on line 7
Notice: Undefined index: x in /home/jeezopee/public_html/admin/index.php on line 138
Notice: Undefined index: x in /home/jeezopee/public_html/admin/index.php on line 164
Notice: Undefined index: view in /home/jeezopee/public_html/includes/functions.php on line 593
Notice: Undefined variable: Exif_Msg in /home/jeezopee/public_html/addons/admin_update_exif.php on line 63
Notice: Undefined variable: Exif_Msg in /home/jeezopee/public_html/addons/admin_update_exif.php on line 64
Notice: Undefined variable: cfgrow in /home/jeezopee/public_html/addons/admin_akismet_comment.php on line 19
Notice: Undefined variable: cfgrow in /home/jeezopee/public_html/addons/admin_akismet_comment.php on line 20
Notice: Undefined index: view in /home/jeezopee/public_html/addons/admin_akismet_comment.php on line 298
Notice: Undefined index: view in /home/jeezopee/public_html/addons/admin_akismet_comment.php on line 305
Notice: Undefined index: x in /home/jeezopee/public_html/addons/admin_autoresize.php on line 17
Notice: Undefined variable: pinglist in /home/jeezopee/public_html/addons/admin_ping.php on line 116
Notice: Undefined index: view in /home/jeezopee/public_html/includes/functions.php on line 566
Notice: Undefined index: view in /home/jeezopee/public_html/includes/functions.php on line 566
Notice: Undefined index: view in /home/jeezopee/public_html/addons/admin_12CropImage.php on line 82
Notice: Undefined index: _SESSION in /home/jeezopee/public_html/admin/new_image.php on line 6
Notice: Undefined index: _SESSION in /home/jeezopee/public_html/admin/new_image.php on line 6
Notice: Undefined index: _SESSION in /home/jeezopee/public_html/admin/new_image.php on line 6
Notice: Undefined index: view in /home/jeezopee/public_html/admin/new_image.php on line 14
Notice: Undefined index: x in /home/jeezopee/public_html/admin/new_image.php on line 217
Notice: Undefined index: _SESSION in /home/jeezopee/public_html/admin/view_addons.php on line 6
Notice: Undefined index: _SESSION in /home/jeezopee/public_html/admin/view_addons.php on line 6
Notice: Undefined index: _SESSION in /home/jeezopee/public_html/admin/view_addons.php on line 6
Notice: Undefined index: view in /home/jeezopee/public_html/admin/view_addons.php on line 12
Notice: Undefined index: _SESSION in /home/jeezopee/public_html/admin/options.php on line 6
Notice: Undefined index: _SESSION in /home/jeezopee/public_html/admin/options.php on line 6
Notice: Undefined index: _SESSION in /home/jeezopee/public_html/admin/options.php on line 6
Notice: Undefined index: view in /home/jeezopee/public_html/admin/options.php on line 15
Notice: Undefined index: _SESSION in /home/jeezopee/public_html/admin/images_edit.php on line 6
Notice: Undefined index: _SESSION in /home/jeezopee/public_html/admin/images_edit.php on line 6
Notice: Undefined index: _SESSION in /home/jeezopee/public_html/admin/images_edit.php on line 6
Notice: Undefined index: view in /home/jeezopee/public_html/admin/images_edit.php on line 11
Notice: Undefined index: _SESSION in /home/jeezopee/public_html/admin/comments.php on line 6
Notice: Undefined index: _SESSION in /home/jeezopee/public_html/admin/comments.php on line 6
Notice: Undefined index: _SESSION in /home/jeezopee/public_html/admin/comments.php on line 6
Notice: Undefined index: view in /home/jeezopee/public_html/admin/comments.php on line 11
Notice: Undefined index: _SESSION in /home/jeezopee/public_html/admin/view_info.php on line 6
Notice: Undefined index: _SESSION in /home/jeezopee/public_html/admin/view_info.php on line 6
Notice: Undefined index: _SESSION in /home/jeezopee/public_html/admin/view_info.php on line 6
Notice: Undefined index: view in /home/jeezopee/public_html/admin/view_info.php on line 11
Notice: Undefined index: _SESSION in /home/jeezopee/public_html/admin/categories.php on line 6
Notice: Undefined index: _SESSION in /home/jeezopee/public_html/admin/categories.php on line 6
Notice: Undefined index: _SESSION in /home/jeezopee/public_html/admin/categories.php on line 6
Notice: Undefined index: view in /home/jeezopee/public_html/admin/categories.php on line 11
Dkozikowski
11-30-2007, 09:54 PM
Not quite errors. These are NOTICES and they do not effect the way pixelpost operates. You must only worry when it says fatal or parse error.
We are all well aware of the admin notices and they will become non existent in the future.
rcjay2
11-30-2007, 10:00 PM
So I guess that I am doing this wrong.
I think I will delete everything and start from scratch if there isn't anything I can do.
dhdesign
11-30-2007, 10:32 PM
Rather than delete everything, simply reupload all the pixelpost files (being careful not to overwrite your image or thumbnails folders or pixelpost.php). Make sure you back up your database again as well before trying anything else.
What version of PP are you using? I scanned back through the thread and don't see it anywhere.
rcjay2
11-30-2007, 10:51 PM
Version 1.6.
Waht is the easiest way to backup the DB?
dhdesign
11-30-2007, 11:08 PM
You need to go to phpMyAdmin in your hosting control panel and backup the database from there.
rcjay2
11-30-2007, 11:10 PM
Do you think that the problem I am having is in the DB?
WOuldn't it be better to wax everything and start over?
dhdesign
12-01-2007, 01:09 AM
No, I don't think the problem is in the database, but you don't want to lose your existing data (image notes and comments) - there's no need to delete everything and start fresh.
Just reupload all the pixelpost files (remember not to overwrite your image or thumbnails folders or pixelpost.php).
dhdesign
12-01-2007, 01:13 AM
I just took a look at your photoblog. Your image titles are the filenames of the images. You have blank spaces in the filenames - that can cause problems.
Rename the new image you want to upload and don't leave a blank space - fill that space in with a dash or an underscore, then try uploading the image as a new image.
Let me know the result please.
Dkozikowski
12-01-2007, 01:28 AM
I'm back on a computer (instead of my iPhone)! Only for a short time. So if you can please tell me what is "broken", I'll be able to help you.
rcjay2
12-01-2007, 03:59 AM
dwilkinsjr, dhdesign, austriaka+,
First off. I want to thank you all. The help I got was great. Instead of trying to fix the issue anymore I just went ahead and scratched it all. It was a pain but also a good learning process. I backed everything up and have the copies so I did not loose anything.
I have everything installed and everything is working as it should. I even have all my images back in place. Now I just have to add the descriptions etc and everything should be fine.
if any of you are ever coming down, over, or up to St. Louis you'll have to let me know....I will buy you all several beers.
This is one hell of a forumn. Everyone is great and I really appreciate it .
Thanks a ton.
Dkozikowski
12-01-2007, 04:07 AM
We all try our best around here. I'm glad you were able to get everything working but I'm sure we could have gotten it to work without wiping the database.
Good luck getting the descriptions in the fresh database. Hopefully your photoblog was fairly new and it won't take you too long.
Take it easy!
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.