•  

Forum

Moderated by: hombergs, xweber
Forum: OPN Installation
Post Reply in Topic: Can't Login After Install
Go to: OpenPHPnuke International Support Forum Index


About posting: Anonymous users can post new topics and replies in this forum.
Nickname:
Message Icon:
                                                                                                                       

more...


HTML : On
BBCode : On
 
BoldItalicUnderlineStrike|SuperscriptSubscriptTypewriterMarquee|Preformatted TextLeft AlignCenteredRight AlignJustify|Horizontal Line
Insert PictureInsert EmailaddressInsert LinkInsert WikipediatermInsert Wikibookterm|Insert QuoteInsert Code|Insert unordered ListInsert ordered ListInsert Listitem|Insert DefintionlistInsert DefinitiontermInsert Defintion|Insert TableInsert TablerowInsert Tablecol|Smilies show/hide
 
Options:







 
Security Code
Security Code
reload

Topic Review

Author
hombergs
Joined: April 14, 2003


Send private message to hombergs
ICQ AIM YIM MSNM
Can't Login After Install

Posted: 2005-07-27 23:44

This here for my answer.



H.O.M.B.E.R.G.S.: Hydraulic Obedient Machine Built for Efficient Repair and Galactic Sabotage

There are no problems, only defiances.

Quote Printer friendly page upwards

Unregistered User
Posted: 2005-07-27 23:02

Hello friends:

I can access my server (login and stuff) with IP address http://130.184.161.218/opn/index.php from my Linux boxes (3 of them), but I can not access the server from any other platforms. They all run firefox broswer.

Any idea what went wrong?


Quote Printer friendly page upwards
linuxbob
Joined: August 23, 2004
Posts: 8
Send private message to linuxbob
Posted: 2004-08-26 22:17

I have never received a cookie from my install nor my attempts to login. When I scanned for cookies, the only ones found are the ones from accessing this site. I even did a search by date. The only cookies from today are www.openphpnuke cookies and the other PHP apps I have running on that server. I'm at a loss.


Quote Printer friendly page upwards
hombergs
Joined: April 14, 2003


Send private message to hombergs
ICQ AIM YIM MSNM
Can't Login After Install

Posted: 2004-08-26 21:28

Did you have delete the old cookies? Cause sometimes old cookies or broken cookies will you not logged in.



H.O.M.B.E.R.G.S.: Hydraulic Obedient Machine Built for Efficient Repair and Galactic Sabotage

There are no problems, only defiances.

Quote Printer friendly page upwards
linuxbob
Joined: August 23, 2004
Posts: 8
Send private message to linuxbob
Posted: 2004-08-26 21:22

The hosts file HAS the FQDN. A proper entry in the hosts file has the IP address, the FQDN and an alias. The alias is not required, but my hosts entry has all three. The TCP/IP connection is properly interpreting the IP address, the alias, and the FQDN all to the same location.

I have tried using all three in the install script and none of them work.


Quote Printer friendly page upwards
linuxbob
Joined: August 23, 2004
Posts: 8
Send private message to linuxbob
Can't Login After Install

Posted: 2004-08-26 21:14

Quote:
2004-08-26 20:56
manne wrote:
URL: http://core104/opn
>
> Seems to be a bad entry:
> OPN assumes a Fully Qualified Domainname (Hope it's the right name)
> e.g http://www.example.com
> or http://www.example.com/opn
>
> or something like this
>
> manne
>


I re-installed again, replacing all occurances of "core104" with "core104.oklaosf.state.ok.us" and the WARNING about offset went away, but logins still don't work. Just keeps looping back to the login page.

BTW - If I haven't mentioned it, I am using version 2.1.2


Quote Printer friendly page upwards
hombergs
Joined: April 14, 2003


Send private message to hombergs
ICQ AIM YIM MSNM
Can't Login After Install

Posted: 2004-08-26 21:10

As I and manne told. OPN need a FQDN for proper work. and http://servername is not a FQDN.
So you must change your hosts file entrie to a FQDN and when you use Apache or Apache2 as webserver you can create a virtual host for it.



H.O.M.B.E.R.G.S.: Hydraulic Obedient Machine Built for Efficient Repair and Galactic Sabotage

There are no problems, only defiances.

Quote Printer friendly page upwards
linuxbob
Joined: August 23, 2004
Posts: 8
Send private message to linuxbob
Can't Login After Install

Posted: 2004-08-26 21:03

Quote:
2004-08-26 20:43
manne wrote:
Some hints for easier testing:

When you are testing with OPN you can use the Core Download....Much smaller than the Full and not so much uploadtime. After playing around it' very easy to install the whole modules (or to do the Full Install if you solved the first problems) That's because OPN is fully modular, you can install an deinstall each module from the Modules Package for it's own.

It's not necessary to upload all the files before each install. Before doing a fresh install, check the directory html/cache : There you find a file install.lock. Delete this file. This file prevents you from accidentially make a new install. Also delete the subdirectories in html/cache/. These subdirectories are made by OPN while installing. That's all.

manne

But you must empty the database for OPN before a new install.


Those are fine tips for testing, but they don't point me in a direction for solving the problem. File size and upload time are not my concerns. I have two windows open. An ssh connection to provide root access on the web server and a browser window to access the application. I have the opn files unpacked in a personal subdirectory and can copy (cp -r) those files to the web server directory in seconds. My unpacked location is ~/opn2/. I copy everything from ~/opn2/html (including all subdirs) to /srv/www/htdocs/opn. I change the permissions on ./cache to 777 as mentioned in docs, I touch mainfile.php and set it also to 777, then I swap to the browser and point to http://core104/opn/install.php. Each time I do this procedure I drop the database and re-create it.

I'd like to know what module in the code, I can troubleshoot to find out what happens at login. In all my attempts, not a single cookie has been generated for the browser. Nor do any subdirectories get created in opn/cache.

Thanks for the tip, I can save a little time by skipping the delete and re-copy of the filesystem by removing the install.lock file.

Now the login problem needs to be solved.


Quote Printer friendly page upwards
[manne]

Joined: April 12, 2003
Posts: 198


Send private message to [manne]
Can't Login After Install

Posted: 2004-08-26 20:56

Quote:
URL: http://core104/opn


Seems to be a bad entry:
OPN assumes a Fully Qualified Domainname (Hope it's the right name)
e.g http://www.example.com
or http://www.example.com/opn

or something like this

manne


Quote Printer friendly page upwards
[manne]

Joined: April 12, 2003
Posts: 198


Send private message to [manne]
Can't Login After Install

Posted: 2004-08-26 20:43

Some hints for easier testing:

When you are testing with OPN you can use the Core Download....Much smaller than the Full and not so much uploadtime. After playing around it' very easy to install the whole modules (or to do the Full Install if you solved the first problems) That's because OPN is fully modular, you can install an deinstall each module from the Modules Package for it's own.

It's not necessary to upload all the files before each install. Before doing a fresh install, check the directory html/cache : There you find a file install.lock. Delete this file. This file prevents you from accidentially make a new install. Also delete the subdirectories in html/cache/. These subdirectories are made by OPN while installing. That's all.

manne

But you must empty the database for OPN before a new install.


Quote Printer friendly page upwards
3 pages ( 1 - 2 - 3 )
 
Page took 3.10965 seconds to load