Editing screen prompts for login, control panel ok

I have an unusual problem (arent they all).


I have successfully installed the latest Mysource Matrix version on a Debian/Apache system.



When I log in from home to add assets etc, I have no problem, and the correct information appears in the editing screen.



However when I log in from work I can see the Control Panel, no problem, but I cannot ever see the editing screen and in the editing screen section it promts me to login again, saying that I must need permission to access the back end.



I use the same login and passord (root access) but always returns as "incorrect login" :frowning:



Any advice would be most appreciated.

Are you using the same URL both at home and work? If not, is Matrix configured for both URLs? Are you behind a proxy at work? If so, Matrix may need to be configured to allow your IP address to change (some corporate proxies jump between multiple IP addresses).

[quote]Are you using the same URL both at home and work? If not, is Matrix configured for both URLs? Are you behind a proxy at work? If so, Matrix may need to be configured to allow your IP address to change (some corporate proxies jump between multiple IP addresses).
[right][post=“13072”]<{POST_SNAPBACK}>[/post][/right][/quote]



Thank you for your reply.



I can connect to the backend from the following URL at home and work:



cartdemo.biz/_admin

cartdemo.biz/mysource_matrix/_admin



And for the second part of the response: yes I am behind a proxy at work.



I read a post which says I need to change a line in main.inc which I have done to adresses this.

Which line did you change?

[quote]Which line did you change?
[right][post=“13074”]<{POST_SNAPBACK}>[/post][/right][/quote]



I thought this was my problem.



http://forums.matrix.squiz.net/index.php?showtopic=90&st=0&p=358


[quote]Sounds like your IP address is changing, which causes Matrix's security system to kick in. Edit your main.inc file in data/private/conf and change:



CODEdefine('SQ_CONF_ALLOW_IP_CHANGE', '0');



to



CODEdefine('SQ_CONF_ALLOW_IP_CHANGE', '1');



This will tell Matrix to ignore the fluctuating IP address.[/quote]

Yup, that was my guess. Did it work? :slight_smile: BTW, you can also change this value in the Administration Interface on the System Configuration screen.

[quote]Yup, that was my guess. Did it work? :slight_smile: BTW, you can also change this value in the Administration Interface on the System Configuration screen.
[right][post=“13078”]<{POST_SNAPBACK}>[/post][/right][/quote]





Unfortunately no it did not.

[quote]Unfortunately no it did not.
[right][post=“13080”]<{POST_SNAPBACK}>[/post][/right][/quote]



Bum. Is there anything in the Apache logs perhaps to indicate anything? Matrix usually only logs you off like that if the session security fails for some reason (which is why I thought it might be an IP thing). Also, does your work PC allow cookies?

[quote]Bum. Is there anything in the Apache logs perhaps to indicate anything? Matrix usually only logs you off like that if the session security fails for some reason (which is why I thought it might be an IP thing). Also, does your work PC allow cookies?
[right][post=“13081”]<{POST_SNAPBACK}>[/post][/right][/quote]





Yes it allows cookies.



Do you want the log/pass to have a look. It is a blank site at present.



I cant access the log files from work so i will check when i get home this evening.

Yeah, PM me the username/password and I'll see if I can login from here.