Welcome to Geeklog, Anonymous Tuesday, May 07 2024 @ 07:00 am EDT

Geeklog Forums

installation problem


gk2gk

Anonymous
when run . this url :

http://localhost/geeklog141/gk/admin/install/install.php

it return this error:

Warning: require_once() [function.require-once]: URL file-access is disabled in the server configuration in W:\www\geeklog141\system\lib-database.php on line 117

Warning: require_once(http://localhost/geeklog141/system/databases/mysql.class.php) [function.require-once]: failed to open stream: no suitable wrapper could be found in W:\www\geeklog141\system\lib-database.php on line 117

Fatal error: require_once() [function.require]: Failed opening required 'http://localhost/geeklog141/system/databases/mysql.class.php' (include_path='.;/usr/local/PHP/includes;/usr/local/PHP/pear;/home/admin/www/plugins/pear/PEAR'Wink in W:\www\geeklog141\system\lib-database.php on line 117

how to fix this ,

note (taken from config.php):

$_CONF['path'] = 'http://localhost/geeklog141/';

$_CONF['path_html'] = 'http://localhost/geeklog141/gk/';

thnks
 Quote

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
Quote by: gk2gk

$_CONF['path'] = 'http://localhost/geeklog141/';

$_CONF['path_html'] = 'http://localhost/geeklog141/gk/';

thnks

These are the disk paths to the file. Not URLs. $_CONF['path'] should be something like C:/apache/userfiles/geeklog/ (on windows**) or /usr/local/geeklog/ on Unix.
$_CONF['path_html'] then would be C:/apache/userfiles/geeklog/public_html/ or /usr/local/geeklog/public_html/. In your web server, you would point your webroot at C:/apache/userfiles/geeklog/public_html or /usr/local/geeklog/public_html

** Yes, use forward slashes on Windows. It works, and it saves coders a lot of headaches.
 Quote

user

Anonymous
Big Grin

thnks
i corrected the path to :

$_CONF['path'] = 'W:/www/geeklog141/';

$_CONF['path_html'] = 'W:/www/geeklog141/gk/';

i am using local Uniform Server
and now the installation success.

many thanks
 Quote

now icant log to admin control panel

Anonymous
hello,
after successful installation now i cant log to admin panel :

http://localhost/geeklog141/gk/admin2/moderation.php

user : Admin
psw : password

it do nothing , expect redirecting to same address :

http://localhost/geeklog141/gk/admin2/moderation.php

what the problem

thanks
 Quote

user

Anonymous
i change the admin dir to admin2
and this is config.php var :

$_CONF['path'] = 'W:/www/geeklog141/';

$_CONF['path_html'] = 'W:/www/geeklog141/gk/';

$_CONF['site_url'] = 'http://localhost/geeklog141/gk';

$_CONF['site_admin_url'] = $_CONF['site_url'] . '/admin2';

 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Start here: I can't log in.

bye, Dirk
 Quote

user

Anonymous
sloved .

i change :
$_CONF['cookiedomain'] = 'localhost';

to :

$_CONF['cookiedomain'] = '';


now the login work successfully

thanks Smile
 Quote

All times are EDT. The time is now 07:00 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content