Page 1 of 1

Cannot Login to Admin

Posted: Sun Apr 13, 2008 4:15 pm
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.

Posted: Sun Apr 13, 2008 5:06 pm
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.

re: php sessions

Posted: Sun Apr 13, 2008 8:11 pm
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.

Posted: Sun Apr 13, 2008 8:32 pm
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...

I cannot login with admin.php

Posted: Thu Mar 11, 2010 9:23 am
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

it's ok

Posted: Fri Mar 12, 2010 2:02 am
by bjphuket
It's ok I ask hosting enable session

Posted: Mon Mar 22, 2010 12:31 am
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