Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 05:45 pm EST

Geeklog Forums

geeklog with easyphp


fabio

Anonymous
hi,

I use win xp and easyphp, installing geeklog I get the following error:

Warning: main(c:/programmi/easyphp1-7/www/geeklog/): failed to open stream: Permission denied in c:programmieasyphp1-7wwwgeeklogpublic_htmllib-common.php on line 69

Fatal error: main(): Failed opening required 'c:/programmi/easyphp1-7/www/geeklog/' (include_path='.;c:php4pear') in c:programmieasyphp1-7wwwgeeklogpublic_htmllib-common.php on line 69

Please help me, Thanks.
Fabio
 Quote

Status: offline

ldfoo

Forum User
Junior
Registered: 05/10/04
Posts: 34
I also use easyPHP on XP. It maybe easier if you install easyPHP under the root c: to give C:easyPHP (backslashes may be stripped from this post).

You should install geeklog as advised in the installation instructions with the main geeklog directory placed directly under easyPHP (in your case) and the contents of the public_html directory placed in www. It may be less confusing if you follow this method.

Servers use different names for the web folder - 'public_html'or 'www' or 'htdocs' are common - each means the same thing.

The Geeklog directory is placed in a folder at the same level as www - directly under easyPHP. So, if this directory is named 'geeklog', the path to the config.php would be
Text Formatted Code
c:\easyphp\geeklog\config.php

 


The path to the lib-common.php file from the 'public_html'folder would be
Text Formatted Code
c:\easyphp\www\lib-common.php

 


hope this helps Wink
 Quote

fabio

Anonymous
Quote by ldfoo:Servers use different names for the web folder - 'public_html'or 'www' or 'htdocs' are common - each means the same thing.


ah, ok thanks but now I have geeklog at the same level as www and the contents of the public_html directory are placed in www.

In config.php (directory geeklog):

$_CONF['path'] = 'c:/programmi/easyphp1-7/geeklog/';
$_CONF['path_html'] = 'c:/programmi/easyphp1-7/www/';
$_CONF['path_html'] = $_CONF['path'] . 'c:/programmi/easyphp1-7/www/';

In lib-common.php (directory www):
require_once( 'c:/programmi/easyphp1-7/geeklog/' );


I get the following error:
The requested URL /geeklog/public_html/admin/install/success.php was not found on this server

Why?
 Quote

marcus

Anonymous
I have the same problem Crying or Very sad
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by fabio: $_CONF['path_html'] = 'c:/programmi/easyphp1-7/www/';
$_CONF['path_html'] = $_CONF['path'] . 'c:/programmi/easyphp1-7/www/';

This is setting $_CONF['path_html'] twice. You only need one of those lines.


Quote by fabio: I get the following error:
The requested URL /geeklog/public_html/admin/install/success.php was not found on this server

Set your $_CONF['site_url'] to the proper URL.

bye, Dirk
 Quote

fabio

Anonymous
Quote by Dirk:
Quote by fabio: $_CONF['path_html'] = 'c:/programmi/easyphp1-7/www/';
$_CONF['path_html'] = $_CONF['path'] . 'c:/programmi/easyphp1-7/www/';

This is setting $_CONF['path_html'] twice. You only need one of those lines.


Quote by fabio: I get the following error:
The requested URL /geeklog/public_html/admin/install/success.php was not found on this server

Set your $_CONF['site_url'] to the proper URL.

bye, Dirk


doesn't work I have:

Warning: main(c:/programmi/easyphp1-7/geeklog/): failed to open stream: Permission denied in c:programmieasyphp1-7wwwlib-common.php on line 69

Fatal error: main(): Failed opening required 'c:/programmi/easyphp1-7/geeklog/' (include_path='.;c:php4pear'Wink in c:programmieasyphp1-7wwwlib-common.php on line 69
 Quote

Status: offline

ldfoo

Forum User
Junior
Registered: 05/10/04
Posts: 34
I get the following error:
The requested URL /geeklog/public_html/admin/install/success.php was not found on this server


Under EasyPHP you need to substitute "www" for "public_html" in your paths in config.php. The "public_html" reference in the above error message should not show Wink
 Quote

All times are EST. The time is now 05:45 pm.

  • 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