Page 1 of 1

Can't fix "New security concept" [Solved]

PostPosted: 17. September 2012 14:16
by jl2035
Guys why the f... did you screw this up! I loved xampp and now I'm gonna have to use some other tool I know nothing about!

First I tried to access phpmyadmin:

Code: Select all
"Access to the requested directory is only available from the local network."


This just pisses me off!!! I am trying to acces it from the local network, from the same machine damnit !!! This is nonsense !!!

I tried all the solutions from here: http://community.apachefriends.org/f/viewtopic.php?p=149788

None of them work (btw I did not forget to restart xampp)...then I read that some guy ran
Code: Select all
/opt/lampp/lampp security
, set up the passwords and than he could acces phpmyadmin. So I tried this and I screw things up even more. Now I can't even access http://localhost/xampp - I get a username and password popup but no username or password works here! I tried my username, I tried 'root' and also tried 'pma'. Nothing.

So this post is not about asking 'what do I do' or 'how do I fix this' - I know this cannot be fixed... it's more like a "What the fuck did you do with lampp???"

Usually when I installed lampp I could start working few minutes later, now I lost 3 hours and I have to look for some other tool... SAAAAAAAD !!!

Re: Can't fix "New security concept"

PostPosted: 17. September 2012 17:02
by JonB
A. We didn't break XAMPP/LAMPP; Apache, PHP and MySQL are always evolving. Things change, therefore new versions are created, its a learning process. You can always DL an older version, such as 1.7.7 or one you have used before, they are all available on the XAMPP SourceForge Page: http://sourceforge.net/projects/xampp/f ... P%20Linux/

B. You could have posted a question here and probably gotten an answer. Of course, that would require telling us the version you are trying to get working.

C. Have a nice cup of tea or take a chill pill...

Good Luck
8)

Re: Can't fix "New security concept"

PostPosted: 17. September 2012 23:08
by jl2035
Ok. I had a nice cup of tea, but I don't do cemicalz stuff :)

... and I tried the 1.7.7 version...

when trying to access http://localhost/phpmyadmin I get the same msg: Access to the requested directory is only available from the local network.

Previously I tried the latest version... 1.8.0 I guess ... on latest Ubuntu 12.04.1 fresh installation.

Is it possible there's some kind of Ubuntu problem?

Re: Can't fix "New security concept"

PostPosted: 20. September 2012 14:42
by JonB
OK -

Access to the requested directory is only available from the local network.


As that is not a XAMPP/lampp error message, its probably some kind of configuration problem. (the 'new security concept' is a XAMPP message).

is the machine local or remote?

Open a Term session and 'ping localhost'

Code: Select all
[jonb@localhost ~]$ ping localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_req=1 ttl=64 time=0.065 ms
64 bytes from localhost (127.0.0.1): icmp_req=2 ttl=64 time=0.055 ms
64 bytes from localhost (127.0.0.1): icmp_req=3 ttl=64 time=0.061 ms
^Z
[2]+  Stopped                 ping localhost
[jonb@localhost ~]$


The purpose is to see why your machine thinks that address is not 'local' - please post the results.

Is you machine directly connected to the internet with a fixed IP?

Is IPv4 disabled by any chance?

Who is the owner of /opt/lampp and its sub-folders?

Good Luck
8)

Re: Can't fix "New security concept"

PostPosted: 20. September 2012 23:43
by jl2035
- All this is happening on my laptop...

- I don't have a static IP...

- The owner of the lampp folder is root.

- ping output looks just as yours:
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_req=1 ttl=64 time=0.050 ms
64 bytes from localhost (127.0.0.1): icmp_req=2 ttl=64 time=0.054 ms
64 bytes from localhost (127.0.0.1): icmp_req=3 ttl=64 time=0.052 ms
64 bytes from localhost (127.0.0.1): icmp_req=4 ttl=64 time=0.051 ms
64 bytes from localhost (127.0.0.1): icmp_req=5 ttl=64 time=0.052 ms
64 bytes from localhost (127.0.0.1): icmp_req=6 ttl=64 time=0.061 ms
64 bytes from localhost (127.0.0.1): icmp_req=7 ttl=64 time=0.061 ms
^C
--- localhost ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 5997ms
rtt min/avg/max/mdev = 0.050/0.054/0.061/0.008 ms

Re: Can't fix "New security concept"

PostPosted: 20. September 2012 23:49
by JonB
try making the owner nobody:root

chown -R nobody:root /opt/lampp

Good Luck


ysf

Re: Can't fix "New security concept"

PostPosted: 21. September 2012 11:49
by jl2035
That was the issue! chown fixed it! Thank you...