Problem in Admin login

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
Nik2004
Posts: 132
Joined: Mon 9. Aug 2004, 14:31
Location: Athens,Greece

Problem in Admin login

Post by Nik2004 »

Hi,

I am setting up a test installation using the latest pre1.2.9 (26.2.2007 with patches).

My test server/folder is http://www.eurobjects.com/cms/cms

The same folder as seen from file manager (FTP) is: /home/eurobjects/www/cms/cms

My problem: I go to the login page at http://www.eurobjects.com/cms/cms/login.php and I login without problems BUT I am not redirected to http://www.eurobjects.com/cms/cms/phpwcms.php but I get a message "The web page cannot be found". If I manually go to http://www.eurobjects.com/cms/cms/phpwcms.php everything works, and I can use the admin. If, however, I click LOGOUT, then I again get "The web page cannot be found". So, what should be changed (I guess in path settings) to have these problems corrected? I tried various settings but I could not make it work correctly.

I still have not setup a site.

The path settings I used in config.inc.php (the setup script could not locate paths correctly and I manually edited config.inc.php) are as follows:

Code: Select all

// site values
$phpwcms['site']              = 'http://www.eurobjects.com/cms/cms';
$phpwcms['admin_name']        = 'Webmaster'; //default: Webmaster
$phpwcms['admin_user']        = 'Administrator'; //default: admin
$phpwcms['admin_pass']        = <confidential> ; //MD5(phpwcms)
$phpwcms['admin_email']       = 'noreply@eurobjects.com'; //default: noreplay@host

// paths
$phpwcms['DOC_ROOT']          = '/home/eurobjects/www/cms/cms';         //default: $_SERVER['DOCUMENT_ROOT']// real DOC_ROOT seems to be: '/home/www/eurobjects//inc' //
$phpwcms['root']         		= '';         //default: ''
$phpwcms['file_path']         = 'filearchive';    //default: 'filearchive'
$phpwcms['templates']         = 'template';    //default: 'template'
$phpwcms['content_path']      = 'content'; //default: 'content'
$phpwcms['cimage_path']       = 'images';  //default: 'images'
$phpwcms['ftp_path']          = 'upload';     //default: 'upload'
User avatar
Oliver Georgi
Site Admin
Posts: 9889
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Try:
$phpwcms['site'] = 'http://www.eurobjects.com/';
$phpwcms['DOC_ROOT'] = '/home/eurobjects/www';
$phpwcms['root'] = 'cms/cms';

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Nik2004
Posts: 132
Joined: Mon 9. Aug 2004, 14:31
Location: Athens,Greece

It worked

Post by Nik2004 »

Thanks Oliver, it worked.
Nik2004
Posts: 132
Joined: Mon 9. Aug 2004, 14:31
Location: Athens,Greece

Problem again

Post by Nik2004 »

Now I am trying to set up on a new server.

I have used:

Code: Select all

 
$phpwcms['site'] = 'http://www.unborn.gr/';
$phpwcms['DOC_ROOT'] = '/httpdocs'; 
$phpwcms['root'] = 'unborn1/unborn';  
and I am having again the problem that all pages appear blank. It seems that some misconfiguration has taken place but I can't find anything wrong. Any suggestions?

The web root directory is /httpdocs and I want to place the application in the directory /unborn1/unborn (i.e. in /httpdocs). I have tried various combinations of the parameters but it won't work.

Note: Do not try to visit the above link because it is on a development server and not yet online. (However I can access the site by using the dev server's DNS.)
Post Reply