Cannot Login to Admin

Problems installing LinkMan?
Post Reply
wudangpower
Posts: 2
Joined: Sun Apr 13, 2008 3:14 pm

Cannot Login to Admin

Post by wudangpower »

Script URL:
http://www.wudangpower.com/linkman/index.php
Version of script:
1.4
Hosting company:
http://www.ipower.com
URL of phpinfo.php:
http://www.wudangpower.com/phpinfo/phpinfo.php
URL of session_test.php:
http://www.wudangpower.com/sessiontest/session_test.php
What terms did you try when SEARCHING for a solution:
admin, password
Write your message below:

I am unable to login to the Linkman Administration cPanel.

I have not edited the settings.php at all.

When I enter the default password, it just reloads the login page.

When I enter nothing, it comes up with the following error:

An error occured:

Please enter your admin password!

When I enter an incorrect password, it comes up with the folliwing error:

An error occured:

Wrong password!

I tried editing the settings.php to change the password.

The same thing happens when I entered the correct password, it just reloads the login page.

My problem seems different from all the former topics regarding the inability to login to the admin page.

Whether I edit the password in settings.php or not, the same error occurs whenever I enter the CORRECT password, it just reloads the login page.

Whether:

$settings['apass']='admin';

or

$settings['apass']='xxxxx';

The same result every time, it just reloads the login page.

linkman directory is 755

linkinfo.txt and settings.php are 666

All other files and images are 644, yet even when changed to 755 the same problem occured and I reset them to 644.

As far as I can tell, I have done everything exactly according to installation instructions, but the problem persist.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

It's your host which doesn't have sessions working by default. Try this:

1. create a folder called "tmp" in your linkman folder and chmod it to 777
2. open index.php and addlink.php in Notepad or Wordpad and just below

Code: Select all

define('IN_SCRIPT',1);
paste this code:

Code: Select all

session_save_path('/home/users/web/b2527/ipw.wudangdao/public_html/linkman/tmp'); 
ini_set('session.use_trans_sid',0);
Save, upload and test.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
wudangpower
Posts: 2
Joined: Sun Apr 13, 2008 3:14 pm

re: php sessions

Post by wudangpower »

Or ask the host support team to enable PHP Sessions.

OK, thankyou for your expert help. I will try your advice adn then ask them to enable PHP Sessions.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

That's the instruction your host gives, had another post (for CCount script) these days for the same host so I knew :wink:
http://www.ipower.com/knowledgebase/rea ... l?kbid=600

Don't know why don't they have PHP sessions working by default and let each customer fix it on their own though...
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
bjphuket
Posts: 4
Joined: Thu Mar 11, 2010 8:36 am

I cannot login with admin.php

Post by bjphuket »

I try to do everything but nothing happen
My website: http://www.domain.com
linkmanversion 1.7: http://www.domain.com/linkman/admin.php
password: admin
My hosting: fatcow

I change apptmp to 777.
I change banned_websites.txt, linkinfo.txt and settings.php to 666
delete update.php
http://domain.com/linkman/ it's ok
http://domain.com/linkman/admin.php
I put "admin" and click but notthing happen
Last edited by bjphuket on Fri Mar 12, 2010 2:03 am, edited 1 time in total.
bjphuket
Posts: 4
Joined: Thu Mar 11, 2010 8:36 am

it's ok

Post by bjphuket »

It's ok I ask hosting enable session
DC
Posts: 138
Joined: Sun Dec 09, 2007 9:28 am

Post by DC »

@wudangpower IPOWER is a very bad host be happy that anything works correctly on there servers. You will need to do somthing like this to get the script to work on an IPOWER server.

Try the following this works fine in my tests on IPOWER SERVERS
At the top of your page right before session_start

define('IN_SCRIPT',1);

session_save_path("/home/users/web/b2527/ipw.wudangdao/phpsessions");
session_start();

you should not need anything else.

DC
To Code Or Not To Code That Is The Question?

Was my post of any help to you? if so please do [url=http://www.clickcraft.net/slice_donations.php][b]Buy Me A Slice[/b][/url] ...
Post Reply