Hi
I have tried 0.8.0.3, and 0.8.5.0-beta, and have the same problem.
The install works without any problems, and Admin setup is fine.
At the Login screen, after entering the details, it seems to accept the entry, but returns back to the login screen.
index.php?c=access&a=login
changes to
index.php?c=access&a=login&ref_c=dashboard&ref_a=index
I have tried IE, Firefox, and 3 different PC's all with the same results, and have tried re-installing several times.
Any suggestions
I had the same. I think I fixed it by chmod the directories to 777.
The whole directory including sub folders (on a windows server) is everyone - full control.
If I enter the wrong username/password, then I get the "Failed to log you in...." so it must be connecting to the database correctly ?
I guess your database access should be okay if you installed everything.
Does /projectpier-0.8.0.3/config/config.php contain the correct values for accessing the database? In my case:
define('DB_ADAPTER', 'mysql');
define('DB_HOST', 'localhost');
define('DB_USER', 'phalanx_nl');
define('DB_PASS', 'hidden ;)');
define('DB_NAME', 'phalanx_nl');
define('DB_PERSIST', true);
define('TABLE_PREFIX', 'pp_');
Can you access the database and see that tables were created (see below)?
Table names for ProjectPier in my database:
# Browse pp_administration_tools
# Browse pp_application_logs
# Browse pp_attached_files
# Browse pp_comments
# Browse pp_companies
# Browse pp_config_categories
# Browse pp_config_options
# Browse pp_file_repo
# Browse pp_file_repo_attributes
# Browse pp_file_types
# Browse pp_im_types
# Browse pp_message_subscriptions
# Browse pp_projects
# Browse pp_project_companies
# Browse pp_project_files
# Browse pp_project_file_revisions
# Browse pp_project_folders
# Browse pp_project_forms
# Browse pp_project_messages
# Browse pp_project_milestones
# Browse pp_project_tasks
# Browse pp_project_task_lists
# Browse pp_project_users
# Browse pp_searchable_objects
# Browse pp_tags
# Browse pp_users
# Browse pp_user_im_values
Hi rvloon.
the config.php seems ok :
<?phpdefine('DB_ADAPTER', 'mysql');
define('DB_HOST', 'localhost');
define('DB_USER', 'admin');
define('DB_PASS', 'xxxxxxx');
define('DB_NAME', 'projectpier');
define('DB_PERSIST', true);
define('TABLE_PREFIX', 'pp_');
define('ROOT_URL', 'http://nt1/pp');
define('DEFAULT_LOCALIZATION', 'en_us');
define('DEBUG', false);
define('PRODUCT_VERSION', '0.8.5.0');
define('SHOW_MESSAGE_BODY', true);
define('SHOW_COMMENT_BODY', true);
define('SHOW_MILESTONE_BODY', true);
define('TOKEN_COOKIE_NAME', '216522e56bd7b6ce5796d35bb52778950e83aeaf');
define('DB_CHARSET', 'utf8');
return true;
?>
I have confirmed that user 'admin' has full privilages on the database.
All 27 tables have been created, and i have looked in quite a few, and there seems to be sensible information.
The pp_user table dows have the 'administrator' account created, and 'is_admin = 1'
Like i said earlier if i try logging using a different password then I get an error message.
Is there any debug facility that I can turn on that may help, and if so where does it log the data ?
Ah, I see you are using 0.8.5.0. I was using 0.8.0.3.
Installed 0.8.5.0 now and I have no problems :( Login works.
Can you set debug to true and see what happens?
define('DEBUG', false);
becomes
define('DEBUG', true);
in config.php
Set define('DEBUG', true);
no change, no additional information on the screen, does it write to a text file somewhere ?
There could be a log in /cache/log.php and maybe some info apache-dir/logs/error_log.
1) Are you running apache or IIS?
But now I think we do not have a coding error here.
I checked the code and what happens after logging in is that a redirect (via the browser) is done from
index.php?c=access&a=login&ref_c=dashboard&ref_a=index
to
index.php?c=dashboard&a=index
after a successful login.
Somehow this url gives a blank page.
2) Just to be sure: The part before index.php stays http://ntl/pp ?
Somehow your login gets lost. My guess is something goes wrong with cookies for domain /ntl/.
3) What happens if you use the ip address of ntl to login?
4) If you clean out the cookie cache, then enter PP, what cookies are generated in the browser cache?
5) Are sessions supported on your PHP server? Make a little file called phpinfo.php with
<?phpphpinfo()
?>
and open it in the browser to see what your server supports.
Hi rvloon. Many thanks for your help.
The Issue was IIS. .php extensions were being served with php-cgi.exe. When this was changed to using php5isapi.dll all became well.
regards
Happy to hear you got it solved.
Wrap up:
Issue: Blank screens after login
Possible cause: php-cgi.exe under IIS.
Solution: Use php5isapi.dll
Leaves the question what to do when someone is forced to use php-cgi.exe. Can you spend time on trying to resolve this issue when using php-cgi.exe?
Cheers, Reinier