| View previous topic :: View next topic |
| Author |
Message |
lucusk
Joined: 28 Sep 2007 Posts: 9
|
Posted: Fri Sep 28, 2007 2:36 pm Post subject: Problem with Thyme Trial |
|
|
| Installed with no issue, I can log in as admin, but when I try to access any function it flashes a screen that says I don't have authorization and then goes back to the log-in screen. We setup a seperate server from scratch for this test and are running windows 2003, IIS 6, MySQL 5.1.21, and PHP 5.2.4. Can you help??? |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Fri Sep 28, 2007 2:42 pm Post subject: |
|
|
Hi,
May I have the URL and a login please (click on the "PM" icon under this post)? Also, are you using any of the authentication modules for Thyme? |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Fri Sep 28, 2007 3:05 pm Post subject: |
|
|
There is probably an error happening somewhere that we aren't seeing. Do this please:
*) Create a file in Thyme's folder called debug.php with the following contents:
| Code: |
<?php
ini_set("display_errors", "On");
ini_set("display_startup_errors", "On");
error_reporting(E_ALL);
include(dirname(__FILE__).'/index.php');
|
*) Navigate to http://your.server.com/thyme/debug.php
Let me know if / what messages are displayed please. |
|
| Back to top |
|
 |
lucusk
Joined: 28 Sep 2007 Posts: 9
|
Posted: Fri Sep 28, 2007 3:10 pm Post subject: Problem with Thyme Trial |
|
|
| There were no error messages. |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Fri Sep 28, 2007 3:29 pm Post subject: |
|
|
This is going to be hard without access.
Just a hunch, can you remove the ?> at the bottom of include/config.php in Thyme's folder please?
I still think there is something we are not seeing. Please do this:
*) Search for flies named php.ini on the server. For each one found, edit it and change the display_errors setting so that it looks like this:
display_errors = On
*) Restart IIS.
Go to Thyme then and let me know if you see any messages. |
|
| Back to top |
|
 |
lucusk
Joined: 28 Sep 2007 Posts: 9
|
Posted: Fri Sep 28, 2007 4:00 pm Post subject: Problem with Thyme Trial |
|
|
| No error messages, just the same message after I log into admin and try to click andy , "Access Denied You do not have access to perform the requested action." |
|
| Back to top |
|
 |
lucusk
Joined: 28 Sep 2007 Posts: 9
|
Posted: Fri Sep 28, 2007 4:01 pm Post subject: Problem with Thyme Trial |
|
|
click anything, not "click andy"  |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Fri Sep 28, 2007 4:16 pm Post subject: |
|
|
OK, new debug.php:
| Code: |
<?php
require_once(dirname(__FILE__).'/index.php');
headers_sent($f,$l);
echo("Headers sent from file {$f} on line {$l}<br />");
echo("User agent: {$_SERVER['HTTP_USER_AGENT']}<br />");
echo("Multi: ". $_COOKIE[md5(_CAL_BASE_PATH_.$_SERVER['HTTP_USER_AGENT'])] ."<br />");
print_r($_SESSION);
|
Let me know what it says. Also, is there any other bit of info I am missing? Did you modify any file by hand? include/config.php? Just asking. |
|
| Back to top |
|
 |
lucusk
Joined: 28 Sep 2007 Posts: 9
|
Posted: Fri Sep 28, 2007 4:36 pm Post subject: Problem with Thyme Trial |
|
|
Here is the output... I haven't edited any files, this is a virgin install...
Headers sent from file C:\Inetpub\wwwroot\thyme\include\classes\class.html.php on line 227
User agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)
Multi:
Array ( [calendar] => 1 [v] => m [y] => 2007 [m] => 9 [d] => 28 [time] => 1190937600 ) |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Fri Sep 28, 2007 5:01 pm Post subject: |
|
|
Hrmm..
OK, so the cookie is either not being sent to the browser or not being passed back from the browser. Could you please do the same drill with debug.php changing its content to:
| Code: |
<?php
require_once(dirname(__FILE__).'/index.php');
echo("<br />Headers: "); print_r(headers_list());
echo("<br />Cookies: "); print_r($_COOKIE);
|
Hit refresh a couple of times before copying the debug output at the bottom.
For kicks, if you happen to have Firefox installed, could you try it with that as well? |
|
| Back to top |
|
 |
lucusk
Joined: 28 Sep 2007 Posts: 9
|
Posted: Fri Sep 28, 2007 5:04 pm Post subject: Here it is. |
|
|
Headers: Array ( [0] => X-Powered-By: PHP/5.2.4 [1] => Set-Cookie: a3f42be9239841538ca3dda4f3966a25=109b4be96a97b075170e3b098e3acdf1; path=/ [2] => Content-Type: text/html; charset=iso-8859-1 )
Cookies: Array ( ) |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Fri Sep 28, 2007 7:56 pm Post subject: |
|
|
OK,
PHP setting cookie: Headers: Array ( [0] => X-Powered-By: PHP/5.2.4 [1] => Set-Cookie: a3f42be9239841538ca3dda4f3966a25=109b4be96a97b075170e3b098e3acdf1;
Cookies sent back by browser: Array ( )
So there is definitely a cookie disconnect somewhere. I have set up IIS 6 on Win 2k3 sp2 with PHP 5.2.4, but I'm not seeing this. Just to rule it out, would you mind terribly installing Firefox and trying it with that? |
|
| Back to top |
|
 |
lucusk
Joined: 28 Sep 2007 Posts: 9
|
Posted: Fri Sep 28, 2007 9:22 pm Post subject: Problem with Thyme Trial |
|
|
| It works fine in Firefox.... |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Fri Sep 28, 2007 9:51 pm Post subject: |
|
|
| OK, could you try clearing your cookies and cache in IE please? Tools -> Internet Options -> Delete (under Browsing on the General tab) -> click on Delete Cookies and Delete Files. Also, on the Privacy tab, what level do you have it set to? |
|
| Back to top |
|
 |
lucusk
Joined: 28 Sep 2007 Posts: 9
|
Posted: Mon Oct 01, 2007 1:22 am Post subject: Problem with Thyme Trial |
|
|
| Everything works now. It appears that there was an issue with the PHP installation. There was a issue on this server with PHP and I re-installed and everything is all good! Thanks for the help, I'm very impressed with the product! |
|
| Back to top |
|
 |
|