Page 1 of 2

redirected to login

Posted: 31 May 2010, 01:09
by oaanesta
I have just installed 2.7.1 in Joomla 1.15.15

When I try to make a menu, I am being redirected to Joomla login (admin) and also I am being logged out.

Anyone have a solution?

Re: redirected to login

Posted: 31 May 2010, 13:33
by Jan
Hi, try to enable debug mode to get more info.

Jan

Re: redirected to login

Posted: 05 Jun 2010, 16:48
by oaanesta
This is what I have on the log-in site after being redirected from "save" link.

- code removed by mod (no error info there as this was standard login page debug)

Re: redirected to login

Posted: 09 Jun 2010, 13:12
by Jan
Hi, if there is no error while debug is enabled, you need to enable php error reporting to get the error (maybe this will be some error which will stop the script, if not then this needs to be search in the errorLog on the server :-( )

https://www.phoca.cz/documents/16-joomla ... rs-on-site

Jan

Re: redirected to login

Posted: 01 Sep 2010, 18:47
by nor500
I am facing the same problem with both of my two sites. I don't know what to do.

Re: redirected to login

Posted: 02 Sep 2010, 14:58
by nor500
I did completely reinstalled joomla. Then I installed phocagallery (without any error mesages) with success. The redirection thing is happening again. I suppose there is a serious bug in Phoca gallery:-( Please help me how I can solve this problem....

Re: redirected to login

Posted: 06 Sep 2010, 21:08
by Jan
Hi, as there is no error message, it is in fact impossible to say where can be the error on your site.

Try

- to enable debug mode (maybe if there will be a problem with database or queries you will get info from database)
- to enable php error reporting - if there will be some php error - you will get php error message
- to see errorLog on your site - to see what happened before redirecting.

I and a lot of users have tested Phoca Gallery on many differnent environments, so if there will be a bug, this will be immediatelly focused.

:idea: As there is unlimited count of inputs which can cause a problem (different settings of php, of apache, of mysql of Joomla!, of other extenstions - components, modules, plugins (mostly system plugins), browsers, cache settings, etc.) it is very difficult to focus the problem without giving any error message :-(

Jan

Re: redirected to login

Posted: 08 Sep 2010, 17:08
by nor500
Dear Jan,

Ok. What I can tell you phoca gallery is working on my local wamp server without any redirected to login issue. But on the public hosted webserver it is not, and making the administrator logged out whenever the apply or the save button is pushed on the phoca menu module. We tried to trace the problem with web servers administrator to find that incompatibilty issue, but we couldn't. We think that one of the web servers security settings cause this incompatibity issue. I asked him to show me the critical security settings of the public webserver. PLEASW, Jan, take a look at that settings, and suggest me, which of the following server settings can cause that incompatible behaviour:

[PHP]
output_buffering = Off
zlib.output_compression = Off
implicit_flush = Off
expose_php = Off
enable_dl = Off


disable_functions = dl,escapeshellcmd,escapeshellarg,system,exec,passthru,proc_close,proc_open,shell_exec,
phpinfo,popen,pclose,ftp_connect,ftp_ssl_connect,dl_open,syslog,openlog,readlink,lstat,linkinfo,symlink,link,
proc_get_status,proc_nice,proc_terminate,set_time_limit,pfsockopen,fsockopen,socket,openlog,i
gnore_user_abort,ldap_bind,get_current_user,diskfreespace,disk_free_space,disk_total_space,filegroup,
fileinode,fstat,stat,snmpset,snmpwalk,getrusage,getmyuid,getmygid,getmyinode,chroot,chown,chgrp,
virtual,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getuid,posix_getsid,
posix_getgrgid,posix_getgrnam,posix_getgroups,posix_get,posix_getpgid,posix_getpgrp,posix_getpid,
posix_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_isatty,posix_kill,
posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,
posix_ttyname,posix_uname,imap_mail,mysql_list_dbs,mysql_create_dbs,
mysql_drop_db,mysql_get_client_info,mysql_get_proto_info,mysql_db_name,mysql_get_host_info,
phpcredits,php_logo_guid,zend_logo_guid

[MySQL]
mysql.max_links = 500
mysql.max_persistant = 200

[Session]

session.use_cookies = 1
; session.use_only_cookies = 1
session.use_only_cookies = On
session.cookie_domain = http://www.domain.com

Thanks four help in Advance,

Nor

Re: redirected to login

Posted: 10 Sep 2010, 09:56
by nor500
Is there anybody who can help me?

Re: redirected to login

Posted: 14 Sep 2010, 13:35
by nor500
It seems that phoca gallery 2.7.4 still has the bug which resets my session timer and logs me out. I would like to try previous versions of phoca gallery, but can't find download link on this site. Can anybody suggest where to download previous versions of phoca gallery?