Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
1.4k views
in Q2A Core by
After registering a new user it redirects me to a blank page
by
Please send the URL where this is happening, and also check your server error_log to see if there is any error there.
by
it's happening on www.3rbask.com,
it was working fine until I've changed the language of the website to arabic

1 Answer

+1 vote
by
The best thing is to check the server error_log to see what happened, then post it here. Otherwise, try reinstalling all the Q2A files (apart from the language files), since it's possible that an accidental change was made somewhere that is causing this problem.
by
edited by
[04-May-2010 07:37:04] PHP Parse error:  syntax error, unexpected T_STRING in /home/madan/public_html/aq/qa-external/qa-external-users.php on line 47
[04-May-2010 23:04:13] PHP Parse error:  syntax error, unexpected T_STRING in /home/madan/public_html/aq/qa-external/qa-external-users.php on line 47
[04-May-2010 23:05:51] PHP Parse error:  syntax error, unexpected T_STRING in /home/madan/public_html/aq/qa-external/qa-external-users.php on line 47
[04-May-2010 23:21:09] PHP Warning:  mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied for user 'admindp'@'localhost' (using password: YES) in /home/madan/public_html/aq/qa-include/qa-db.php on line 52
[04-May-2010 23:21:10] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/madan/public_html/aq/qa-include/qa-index.php:2) in /home/madan/public_html/aq/qa-include/qa-install.php on line 43
[04-May-2010 23:26:17] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home/madan/public_html/aq/qa-include/qa-index.php:2) in /home/madan/public_html/aq/qa-include/qa-app-users.php on line 181
[04-May-2010 23:26:17] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/madan/public_html/aq/qa-include/qa-index.php:2) in /home/madan/public_html/aq/qa-include/qa-app-users.php on line 181
[04-May-2010 23:26:17] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/madan/public_html/aq/qa-include/qa-index.php:2) in /home/madan/public_html/aq/qa-include/qa-install.php on line 43
[04-May-2010 23:38:49] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home/madan/public_html/aq/qa-include/qa-index.php:2) in /home/madan/public_html/aq/qa-include/qa-app-users.php on line 181
[04-May-2010 23:38:49] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/madan/public_html/aq/qa-include/qa-index.php:2) in /home/madan/public_html/aq/qa-include/qa-app-users.php on line 181
[04-May-2010 23:38:49] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/madan/public_html/aq/qa-include/qa-index.php:2) in /home/madan/public_html/aq/qa-include/qa-install.php on line 43
[04-May-2010 23:43:11] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home/madan/public_html/aq/qa-include/qa-index.php:2) in /home/madan/public_html/aq/qa-include/qa-app-users.php on line 181
[04-May-2010 23:43:11] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/madan/public_html/aq/qa-include/qa-index.php:2) in /home/madan/public_html/aq/qa-include/qa-app-users.php on line 181
[04-May-2010 23:43:11] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/madan/public_html/aq/qa-include/qa-index.php:2) in /home/madan/public_html/aq/qa-include/qa-install.php on line 43
[05-May-2010 00:06:08] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home/madan/public_html/aq/qa-include/qa-index.php:2) in /home/madan/public_html/aq/qa-include/qa-app-users.php on line 181
[05-May-2010 00:06:08] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/madan/public_html/aq/qa-include/qa-index.php:2) in /home/madan/public_html/aq/qa-include/qa-app-users.php on line 181
[05-May-2010 00:06:08] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/madan/public_html/aq/qa-include/qa-index.php:2) in /home/madan/public_html/aq/qa-include/qa-install.php on line 43
[05-May-2010 00:07:29] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home/madan/public_html/aq/qa-include/qa-index.php:2) in /home/madan/public_html/aq/qa-include/qa-app-users.php on line 181
[05-May-2010 00:07:29] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/madan/public_html/aq/qa-include/qa-index.php:2) in /home/madan/public_html/aq/qa-include/qa-app-users.php on line 181
[05-May-2010 00:07:29] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/madan/public_html/aq/qa-include/qa-index.php:2) in /home/madan/public_html/aq/qa-include/qa-install.php on line 43
[05-May-2010 00:12:50] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home/madan/public_html/aq/qa-include/qa-index.php:2) in /home/madan/public_html/aq/qa-include/qa-app-users.php on line 39
[05-May-2010 00:12:50] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/madan/public_html/aq/qa-include/qa-index.php:2) in /home/madan/public_html/aq/qa-include/qa-app-users.php on line 39
[05-May-2010 00:12:50] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/madan/public_html/aq/qa-include/qa-index.php:2) in /home/madan/public_html/aq/qa-include/qa-install.php on line 43
[05-May-2010 00:13:49] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home/madan/public_html/aq/qa-include/qa-index.php:2) in /home/madan/public_html/aq/qa-include/qa-app-users.php on line 39
[05-May-2010 00:13:49] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/madan/public_html/aq/qa-include/qa-index.php:2) in /home/madan/public_html/aq/qa-include/qa-app-users.php on line 39
[05-May-2010 00:13:49] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/madan/public_html/aq/qa-include/qa-index.php:2) in /home/madan/public_html/aq/qa-include/qa-install.php on line 43
[05-May-2010 00:16:52] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home/madan/public_html/aq/qa-include/qa-base.php:2) in /home/madan/public_html/aq/qa-include/qa-app-users.php on line 39
[05-May-2010 00:16:52] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/madan/public_html/aq/qa-include/qa-base.php:2) in /home/madan/public_html/aq/qa-include/qa-app-users.php on line 39
[05-May-2010 00:16:52] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/madan/public_html/aq/qa-include/qa-base.php:2) in /home/madan/public_html/aq/qa-include/qa-install.php on line 43
by
it's only happening if I change the language to arabic ...but with english it works fine
by
I think you probably left a blank line or other content outside of the <? ... ?> symbols in your Arabic language files. That will be output to the browser by PHP, meaning that HTTP headers (like redirects) can't be sent after. So check your language files and make sure they start with <? with nothing before, and end with ?> with nothing after.
by
I've checked that .There wasn't any problem with that .
so would you mind telling me if there's any other solution?
by
Well, something is outputting content, since the error_log shows:

PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/madan/public_html/aq/qa-include/qa-base.php:2)

Perhaps take a look at what is happening in line 2 of qa-base.php?
by
nothing is really happening .. :(
by
OK, then I suggest you send me the Arabic language files to gideon@... and I will take a look at them.
by
what's ur email plz?
...