| Topic Archived |
View previous topic :: View next topic |
| Author |
Message |
ilamos Nice poster


Offline Joined: Dec 27, 2004 Posts: 82
|
Posted: Tue Apr 12, 2005 1:16 am Post subject: ERROR: Wrong session settings |
|
I am trying to install CPG Dragonfly™ CMS 9.0.3.0 and i get that error. I never had this problem with previous version. I searched the forums and I seen something about php.ini but i have no idea where/what that file is. Help Help!!
| Description: |
|
| Filesize: |
63.34 KB |
| Viewed: |
376 Time(s) |

|
ilamos's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) RedHat 9 i686/Apache 1.3.33 (Unix)/MySQL 4.0.24-standard/Dragonfly 9.0.3.0
|
|
| Back to top |
|
 |
DJ Maze Developer


Offline Joined: Apr 19, 2004 Posts: 5683 Location: http://tinyurl.com/5z8dmv
|
Posted: Tue Apr 12, 2005 1:59 am Post subject: Re: ERROR: Wrong session settings |
|
In that screencapture it says for session save path: 3;/www/php/
This is corrupt, a session.save_path can't be like that.
You must contact your host to fix the problem OR provide your own path.
For example create a directory /home/YOUR_PATH/tmp/sessions and chmod it to 777
Then in the installer screen fill in: /home/YOUR_PATH/tmp/sessions
Then click submit again to test.
DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
|
|
| Back to top |
|
 |
ilamos Nice poster


Offline Joined: Dec 27, 2004 Posts: 82
|
Posted: Tue Apr 12, 2005 3:35 am Post subject: Re: ERROR: Wrong session settings |
|
I wasn't ablt to get support from my host so if there is anyone who can help me and i can send them a pm with my account info plz post back or pm me. DJMaze I tried what u told me but for some reason it didn't work. it was something like this /www/b/battlezone/hotdocs/tmp/sessions
ilamos's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) RedHat 9 i686/Apache 1.3.33 (Unix)/MySQL 4.0.24-standard/Dragonfly 9.0.3.0
|
|
| Back to top |
|
 |
DJ Maze Developer


Offline Joined: Apr 19, 2004 Posts: 5683 Location: http://tinyurl.com/5z8dmv
|
Posted: Tue Apr 12, 2005 4:52 am Post subject: Re: ERROR: Wrong session settings |
|
/www/b/battlezone/hotdocs/tmp
and
/www/b/battlezone/hotdocs/tmp/sessions
must both be 777
else create without the /tmp part if you're not shure 
/www/b/battlezone/hotdocs/sessions
DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
|
|
| Back to top |
|
 |
ilamos Nice poster


Offline Joined: Dec 27, 2004 Posts: 82
|
Posted: Tue Apr 12, 2005 6:24 am Post subject: Re: ERROR: Wrong session settings |
|
I did chmod them both to 777 but it just keep on bringing me back to the same screen (the same error page). any other suggestion?
ilamos's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) RedHat 9 i686/Apache 1.3.33 (Unix)/MySQL 4.0.24-standard/Dragonfly 9.0.3.0
|
|
| Back to top |
|
 |
ilamos Nice poster


Offline Joined: Dec 27, 2004 Posts: 82
|
Posted: Tue Apr 12, 2005 7:48 am Post subject: Re: ERROR: Wrong session settings |
|
I got it now. I read another forum and I was able to do it. Thnx DJMaze.
Welcome to the club! I just fought this battle last weekend. You don't mention having a Php.ini file. That's the fix for most of your problems. There's a link to one for customizing somewhere here in the forum. This was not an issue before PowWeb changed the way things were done to ward off hackers.
Download the php.ini file and open it for editing in a text editing program like Notepad
1. The first statement about the session path requires two things
--find the statement that refers to the session path and change it for your website.
For example, "/www/u/username/sessions"
----using an FTP program, go to your website. At the root level, above /htdocs, create a directory called "sessions". Then do a CHMOD (I use WS_FTP and this is easy with it) to 755. (Read/write/execute for owner, Read and execute for the others)
2. The other items are in the PHP.INI file and can be found with search and replace. The file explains the reason for the change and in at least one case, indicates that upcoming versions of PHP will use the settings that Mambo is requesting. My site is up and functioning without any problem after making these changes.
eslcapital.us . I was very frustrated before I found others comments in the forum that pointed the way.
Bruce
ilamos's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) RedHat 9 i686/Apache 1.3.33 (Unix)/MySQL 4.0.24-standard/Dragonfly 9.0.3.0
|
|
| Back to top |
|
 |
Wing Newbie


Offline Joined: Jan 28, 2005 Posts: 5 Location: USA
|
Posted: Tue Apr 12, 2005 1:59 pm Post subject: Re: ERROR: Wrong session settings |
|
Is it possible to get a link to that post or forum please. I am facing this problem right now with another website I am setting up.
Wing's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/1.3.33 (Unix)/4.0.18-standard/4.3.9/8.2c
|
|
| Back to top |
|
 |
ilamos Nice poster


Offline Joined: Dec 27, 2004 Posts: 82
|
Posted: Tue Apr 12, 2005 5:13 pm Post subject: Re: ERROR: Wrong session settings |
|
Hey can someOne take a look at my site and tell me what's wrong? I just get blank pages for the most part. Click here and wing here is your link
http://forum.powweb.com/showthread.php?t=46085
ilamos's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) RedHat 9 i686/Apache 1.3.33 (Unix)/MySQL 4.0.24-standard/Dragonfly 9.0.3.0
|
|
| Back to top |
|
 |
gogy Newbie


Offline Joined: Feb 24, 2007 Posts: 9 Location: Slovenia
|
Posted: Fri Aug 10, 2007 3:10 pm Post subject: Re: ERROR: Wrong session settings |
|
I am trying to install the CPG CMS on my hosting at PowWeb.
Everything goes fine with database connection settings but then when I need to enter path for session files... it stucks.
I tried a lot of combinations, but I can't manage it to work after whole the day playing with this :confused:
Could somebody give me a good hint, because I will leave this off... I am on the end of patience with this
Here is the picture
I was searching a lot of forums (also here) but nothing helped me out... I was reading something with PHP.ini files and I also tried few different settings... but then I reset and put back the original PHP.ini file
Thanks for reading
_________________ unlock.your-phone.info
gogy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) XP/x/4.1.22/4.4/9.1.2.1
|
|
| Back to top |
|
 |
DJ Maze Developer


Offline Joined: Apr 19, 2004 Posts: 5683 Location: http://tinyurl.com/5z8dmv
|
Posted: Fri Aug 10, 2007 5:24 pm Post subject: Re: ERROR: Wrong session settings |
|
/sessions is root!!!
You understand server paths?
Have you got any clue of what people posted in here?
mostly it needs prepending like:
/var/www/html/
/home/NAME/
/home/NAME/www/
/home/NAME/public_html/
/home/n/NAME/
it's as easy as
| Code:: |
<?php echo $_SERVER['DOCUMENT_ROOT'];
|
DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
|
|
| Back to top |
|
 |
gogy Newbie


Offline Joined: Feb 24, 2007 Posts: 9 Location: Slovenia
|
Posted: Fri Aug 10, 2007 9:46 pm Post subject: Re: ERROR: Wrong session settings |
|
DJ Maze, root in my case is
/home/users/web/b2274/pow.domain/htdocs
but sessions directory is in the same dir as htdocs in
/home/users/web/b2274/pow.domain/sessions/
I tried
/home/users/web/b2274/pow.domain/sessions/
and
/home/users/web/b2274/pow.domain/sessions (without last slash)
but unfortunatelly nothing is better... do you have an idea what did I made wrong?
I checked also PHP.ini and for sessions path line
session.save_path = /var/php_sessions
I tried to change it in
session.save_path = /home/users/web/b2274/pow.domain/
and then to set only /sessions and /sessions/ but still nothing... where did I made a mistake?
I am not so advanced in this but I will do my best...
_________________ unlock.your-phone.info
gogy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) XP/x/4.1.22/4.4/9.1.2.1
|
|
| Back to top |
|
 |
DJ Maze Developer


Offline Joined: Apr 19, 2004 Posts: 5683 Location: http://tinyurl.com/5z8dmv
|
Posted: Fri Aug 10, 2007 11:07 pm Post subject: Re: ERROR: Wrong session settings |
|
/home/users/web/b2274/pow.domain/sessions
should be ok. did you chmod it to 777?
DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
|
|
| Back to top |
|
 |
gogy Newbie


Offline Joined: Feb 24, 2007 Posts: 9 Location: Slovenia
|
Posted: Sat Aug 11, 2007 5:24 am Post subject: Re: ERROR: Wrong session settings |
|
Yes I did but it did not succeed...
Maybe my current PHP.ini settings are wrong...
session.save_path = /var/php_sessions
_________________ unlock.your-phone.info
gogy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) XP/x/4.1.22/4.4/9.1.2.1
|
|
| Back to top |
|
 |
gogy Newbie


Offline Joined: Feb 24, 2007 Posts: 9 Location: Slovenia
|
Posted: Sat Aug 11, 2007 7:45 pm Post subject: Re: ERROR: Wrong session settings |
|
Sorry, I gave up here... It's too much time lost for very simple thing.
I will try also other CMS's...
If somebody have a good idea for my problem, please post it here.. I will still try this, but for now I will do some other stuff.
_________________ unlock.your-phone.info
gogy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) XP/x/4.1.22/4.4/9.1.2.1
|
|
| Back to top |
|
 |
CatchImran 500+ Posts Club


Offline Joined: Mar 06, 2006 Posts: 635 Location: India
|
Posted: Sat Aug 11, 2007 7:47 pm Post subject: Re: ERROR: Wrong session settings |
|
I personally believe that it is more of your host at fault than the CMS. The CMS has clearly defined guidelines that you need to meet. Wait for someone to reply back what exactly you need to approach your host with.
_________________

Visit www.RadoPOD.com Today!
CatchImran's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/2.0.54 (Unix)/5.0.51/5.2.6/DragonflyCMS 9.2.1
|
|
| Back to top |
|
 |
|
|