News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

can't install ANY packages i keep getting logged out

Started by Creative2117, September 02, 2014, 03:37:58 PM

Previous topic - Next topic

Creative2117

Hi!

I have been searching on here for a proper answer on this now for a while and i can't find a solution.
When i try to install any package i getting logged out and it says i have to be a member to access this page or something like that and the package is not getting installed.
I tried to reinstall smf and changing DataBase but none of them works.

kat

Welcome to the ol' forum!

Anything in the ol' error log?

Seems a good place to start. ;)

margarett

Something like that isn't really a good description.
Please provide accurate details ;)

How do I ask support questions the smart way?
;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Kindred

the information is important -- however I do understand what the user is saying and asking. :)

Creative2117 - your connection is losing the session.   If you are not using v2.0.8, please upgrade now...
if you are -- what are your cookie and session settings?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Creative2117

#4
I have read some of K@'s posts at other topics with the same problem but none of them that i tested worked.

Quote from: K@ on September 02, 2014, 03:56:30 PM
Welcome to the ol' forum!

Anything in the ol' error log?

Seems a good place to start. ;)

where do i find the error log? it was a long time ago i used smf.

Quote from: Kindred on September 02, 2014, 06:31:54 PM
the information is important -- however I do understand what the user is saying and asking. :)

Creative2117 - your connection is losing the session.   If you are not using v2.0.8, please upgrade now...
if you are -- what are your cookie and session settings?

I downloaded the latest version of smf and it is v. 2.0.8.

My coockie and session settings are:

Enable local storage of cookies                          checked
Use subdomain independent cookies                 not checked
Use database driven sessions                            checked
Allow browsers to go back to cached pages       cecked

i tried to swap between "Enable local storage of cookies" and "Use subdomain independent cookies" but that did not work.

margarett

Error log is directly under your "Admin" menu button ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Creative2117

i don't see an error that have to do with this.
but i did do a version check and the SSI.php is v2.0.4 and it should be v2.0.7.

Kindred

try unchecking Use database driven sessions - then clear your browser cookies and try logging in again
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Creative2117

Quote from: Kindred on September 03, 2014, 10:10:12 AM
try unchecking Use database driven sessions - then clear your browser cookies and try logging in again

that did not work.

Creative2117

Quote from: Creative2117 on September 03, 2014, 10:00:40 AM
i don't see an error that have to do with this.
but i did do a version check and the SSI.php is v2.0.4 and it should be v2.0.7.

could the version of SSI.php be the problem?

margarett

No, that's fine. It's just a version number typo. SSI.php is fine (and has really no interference in Package Manager)

Can you please let us know the exact error you have?
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Creative2117

i get 2 errors:
Apply Filter: Only show the error messages of this URLhttp://noidec.se/index.php?action=admin;area=languages;sa=downloadlang;did=8858;c223f95d8400=07b80de08b35757a884542fa4ce56691Apply Filter: Only show the errors with the same message2: is_dir() expects parameter 1 to be a valid path, string givenApply Filter: Only show the errors from this file File: /storage/content/63/131763/noidec.se/public_html/Sources/Subs-Package.php
Line: 1630

and:
Apply Filter: Only show the error messages of this URLhttp://noidec.se/index.php?action=admin;area=languages;sa=downloadlang;did=8858;c223f95d8400=07b80de08b35757a884542fa4ce56691Apply Filter: Only show the errors with the same message2: file_exists() expects parameter 1 to be a valid path, string givenApply Filter: Only show the errors from this file File: /storage/content/63/131763/noidec.se/public_html/Sources/Subs-Package.php
Line: 301

those two over and over again.

Kindred

basically, your admin session is being lost...

at this point, I am stumped...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

margarett

I'm not that sure. The OP states the user can't install packages (I thought about MODs). These errors relate to languages download. And the error mentioned in the OP does not look really related to the error log...
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Creative2117

Quote from: margarett on September 03, 2014, 12:34:54 PM
I'm not that sure. The OP states the user can't install packages (I thought about MODs). These errors relate to languages download. And the error mentioned in the OP does not look really related to the error log...

i don't really get what you are saying.

Creative2117

can someone tell me at least how to install packages/mods manually?

margarett

In your first post you said: "When i try to install any package..." I thought you are trying to install a MOD.
But the errors you mentioned (from your error log) refer to this url --> http://noidec.se/index.php?action=admin;area=languages;sa=downloadlang
That's not Package Manager, so I think this error in your log doesn't really refer to the issue you originally mentioned.

In your first post you said:
Quote...it says i have to be a member to access this page or something like that...
Can you let us know the exact message you get when trying to install a MOD?

Quote from: Creative2117 on September 03, 2014, 12:59:17 PM
can someone tell me at least how to install packages/mods manually?
Manual Installation of Mods
;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Creative2117

i am trying to install dreamportal (or any other package). and the message i get is "Only registered members are allowed to access this section.
Please login below or register an account with NoiDeC." and i get logged out but when i click on the home button or any button i get logged in again and the package never gets installed.

i want this to work, i don't wanna sit and install packages manually every time, and i did not get much of what it said in that you sent.

margarett

OK. Now I see it thanks. And Kindred was right, your admin session was kaput :P

I found this: http://www.simplemachines.org/community/index.php?topic=493238.0
Which is remarkably looked like this issue here ;)

edit: some more. Not a single solution :(
http://www.simplemachines.org/community/index.php?topic=493171.0
http://www.simplemachines.org/community/index.php?topic=501833.0
This one http://www.simplemachines.org/community/index.php?topic=460435.0 refers Pretty URLs was the culprit, but I see you don't have it installed...
http://www.simplemachines.org/community/index.php?topic=510684.0
http://www.simplemachines.org/community/index.php?topic=519121.0
http://www.simplemachines.org/community/index.php?topic=493963.0

This clearly has to be something related to your server setup as it doesn't happen to most people...
Please check for the presence of a file called .htaccess in the root of your SMF files (where SSI.php is). If it's there, try to rename it to something else and try again.
Can you get us a phpinfo()? --> http://wiki.simplemachines.org/smf/Phpinfo()_-_What%27s_that,_then
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Kindred

but you can do anything else in the admin area?   you can do maintenance? view the error log? set theme settings?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Creative2117

Quote from: margarett on September 03, 2014, 01:44:55 PM
OK. Now I see it thanks. And Kindred was right, your admin session was kaput :P

I found this: http://www.simplemachines.org/community/index.php?topic=493238.0
Which is remarkably looked like this issue here ;)

edit: some more. Not a single solution :(
http://www.simplemachines.org/community/index.php?topic=493171.0
http://www.simplemachines.org/community/index.php?topic=501833.0
This one http://www.simplemachines.org/community/index.php?topic=460435.0 refers Pretty URLs was the culprit, but I see you don't have it installed...
http://www.simplemachines.org/community/index.php?topic=510684.0
http://www.simplemachines.org/community/index.php?topic=519121.0
http://www.simplemachines.org/community/index.php?topic=493963.0

This clearly has to be something related to your server setup as it doesn't happen to most people...
Please check for the presence of a file called .htaccess in the root of your SMF files (where SSI.php is). If it's there, try to rename it to something else and try again.
Can you get us a phpinfo()? --> http://wiki.simplemachines.org/smf/Phpinfo()_-_What%27s_that,_then


i tried to rename the .htaccess. i found one in the /public_html/ and one /public_html/Packages but it did not work.
here is the phpinfo() http://noidec.se/phpinfo.php [nofollow]

Quote from: Kindred on September 03, 2014, 01:46:20 PM
yes i can do every thing except installing packages/mods
but you can do anything else in the admin area?   you can do maintenance? view the error log? set theme settings?


margarett

Not quite. I'm waiting for "superior" help :P

Who is your host?
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Creative2117

citynetwork.se [nofollow] and i've seen some other people with this problem that use the same host.

margarett

Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Creative2117

well i think i did something i shouldn't do. i can't get in to my website now xD

i get this error:
Forbidden

You don't have permission to access / on this server.

Apache/2.2.22 (Ubuntu) Server at noidec.se [nofollow] Port 80

margarett

What did you do?
I'd say you need to talk to your host. Ask them if they have mod_security and, if such, if it can be disabled.
They should be able to tell you what is triggering that error ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Creative2117


Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."


margarett

Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Creative2117

i got my website up again but i still can't install any packages/mods.

kat

Quote from: margarett on September 04, 2014, 09:19:02 AM
What did you do?
I'd say you need to talk to your host. Ask them if they have mod_security and, if such, if it can be disabled.
They should be able to tell you what is triggering that error ;)

Creative2117

Quote from: K@ on September 18, 2014, 09:36:13 AM
Quote from: margarett on September 04, 2014, 09:19:02 AM
What did you do?
I'd say you need to talk to your host. Ask them if they have mod_security and, if such, if it can be disabled.
They should be able to tell you what is triggering that error ;)

i have asked them about mod_security but i did not get an answer.

kat

You NEED that answer. Maybe you need a better host...?

Creative2117


Creative2117

okej. i got help and now i have to wait for like 2 hours ans se if it worked. i changed the dns.

Creative2117


kat

Yay! Thanks for letting us know. What did they do, exactly, out of curiosity?

Creative2117

i changed the dns to a no cashing thing because it is not working with smf.

Pollyfun

I use citynetwork and I got exactly the same problem (coming to the login-screen when clicking install mod).
I spent some time testing different solutions, including these:

*In Configuration/Cookies enable/disable Local storage of cookies and Use database driven sessions
*Turning off mod_security with an .htaccess file http://wiki.simplemachines.org/smf/Mod_security_-_Having_problems_with_mod_security
*changing where sessions are saved
  hxxp:support.citynetwork.se/index.php?/Knowledgebase/Article/View/135/0/problem-att-logga-in-i-applikationsverktygets-admingranssnitt [nonactive]

None worked. After more research I found out that the root of the problem is that citynetwork
use the Varnish caching system. Which in turn breaks some of the SMF functionality.
Some info is found here (in Swedish) hxxp:citynetwork.se/webbhotell/varnish-cachning/ [nonactive]

So to fix it the dns-pointers has to be redirected from the standard ip to a special ip
where no caching is used (see above link for ips). Instructions can be found here:
support.citynetwork.se/index.php?/Knowledgebase/Article/View/212/2/editera-dns

In the citynetwork admin panel, select "Domännamn och webbplatser"/"Domänhanteraren".
On the row with the domain (example.com) click on the DNS button.
Find the row that has Subdomän=@ and Typ=A. Edit it and change IP from
188.95.227.20 -> 188.95.227.21.
Find the row that has Subdomän=www and Typ=A. Apply same change.

It might take a couple of hours before the change is active.

Solid Orphan

I had the same problem. It made me crazy then I tried to desactivate the varnish cache and it works now. Thanks to you Pollyfun !

Advertisement: