Page 1 of 1

Asked to login after making site structure change

Posted: Mon 12. Jul 2004, 22:32
by TVKAS
I am experiencing a problem that I have not seen listed on the forum - yet.
On a fresh install - everything seems to be working EXCEPT when I try to add new levels to the site structure. When I fill out all of the necessary information and click the "send category data" button - I get the login screen and I must log in to get back in. Once in the site structure has not changed (the new level i asked for does not show up.
I am running phpWCMS on 3 other web sites without problems. But those are on Linux systems. This is on a W2k server and it did take a little to get it all going. Once I had properly set the document_root setting all my errors went away. I am able to add articles with no problems. Just site structure doesn't work as far as I know.

UPDATE (about 1/2 hour later): Looks like not everything is working. When I try to remove an article it does the same thing. Also - WYSIWYG editor does not show up when I select it. I get only a plain html text editor.

Posted: Mon 12. Jul 2004, 23:35
by Oliver Georgi
Seems you have a path and/or session problem.

Proof against that.

Oliver

Posted: Tue 13. Jul 2004, 00:01
by TVKAS
I have tried several versions of $_SERVER['DOCUMENT_ROOT']= ***** and I still get the same thing. Am I looking in the right place?

Posted: Tue 13. Jul 2004, 00:27
by Oliver Georgi
and the session? Anytime you access the other page your session is killed.

That's why you are logged off.

Oliver

Posted: Tue 13. Jul 2004, 00:49
by TVKAS
No, only when I try to make a change to the site structure OR when I try to delete an article.

Here is another piece if information...
system: Windows NT WIN2K1 5.2 build 3790
server: Microsoft-IIS/6.0
php: v4.3.3
path:

I tried the setup to create a new conf.inc file. What I noticed is that if I leave phpwcms root: = "" then I get:
Image

But if I set the internal server absolute path so that
phpwcms root: = "D:/hshome/belmont/nevadascience.org/"
Then all is O.K. But when I do this I can no longer access the web site.
I am running the conf.ini with phpwcms root: = ""

Obviously I am very new at this but not afraid to experiment!!

Posted: Tue 13. Jul 2004, 01:00
by Oliver Georgi
set

Code: Select all

$_SERVER['DOCUMENT_ROOT'] ='D:/hshome/belmont/nevadascience.org';
And don't forget to copy setup.conf.inc.php to include/inc_conf/conf.inc.php

Oliver

Posted: Tue 13. Jul 2004, 01:25
by TVKAS
I have always had $_SERVER['DOCUMENT_ROOT'] ='D:/hshome/belmont/nevadascience.org'; and setup.conf.inc.php is in include/inc_conf/ as conf.inc.php.
In fact I have been editing that file directly now to see what changes I get. Nothing positive has happened yet.
This was so easy to set up on Linux but so difficult on Windows 2000.
I think that this is some other problem not with include/inc_conf/conf.inc.php.
And I think it is a windows 2000 problem - perhaps some permissions setting that I can not change and for some reason it is doing this to me.

BTW - I love phpWCMS. I have started using it on http://www.kidsatlaketahoe.com and
http://www.archnevada.com with no problems but learning all that it can do. I have been using Frontpage for years and I am ready to leave it all behind...

Update

Posted: Tue 13. Jul 2004, 02:35
by TVKAS
Update -

Created new user with admin rights and still I get the same. it is almost as if the session is expiring. But I have the session time set at the default of 1800.

I am really unsure of what to do at this point.

If I try to delete a user I get the same thing. I have to log in and my change is not save in any way. Also I did check my DB privileges and they are all set properly...

Posted: Tue 13. Jul 2004, 04:53
by TVKAS
in the following post http://www.phpwcms.de/forum/viewtopic.php?p=1803#1803 you wrote about the difference of PHP as ISAPI than as CGI. Can this be part of my problem.
I did run info.php on my virtual server and have that info if it will help solve the problem...

Posted: Tue 13. Jul 2004, 21:52
by Oliver Georgi
Yes - this might be a problem. I do not recommend the use of CGI PHP on Windows.

Maybe check trans_session value.

Oliver

Posted: Wed 14. Jul 2004, 02:57
by TVKAS
trans_session??
I found session.use_trans_sid Off(local) Off(server)
That is the only thing that I could fing that is close. I am on a virtual server with little ability to make changes. Hopefully this can be resolved because if not i am wanting to change servers.
I just set up phpWCMS for our astronomy and in 1 hour was already setting up site structure. Again that is for Linux.
I do not like windows servers - too complicated for me...

Posted: Wed 14. Jul 2004, 06:21
by Oliver Georgi
yes that's the value I mean.

Oliver

Posted: Thu 15. Jul 2004, 00:40
by TVKAS
yes - that must be it. My Linux virtual host is set to "on" and the Windows server is set to off. I will contact them to see if I can get that changed. I will let you know how it finishes.

Thank you so much for all of the help!

Problem Solved!

Posted: Thu 29. Jul 2004, 09:07
by TVKAS
My problem is solved.
The web host provider told me that they would not change the session.use_trans_sid values for the server I was on - so I switched to a Linux server and everything is fixed.
Everything is running perfectly!!!

Thanks for all the help and I do LOVE phpwcms!!