Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 03:38 am EST

Geeklog Forums

I don\'t know what do with config and lib-common


Status: offline

jenaiz

Forum User
Newbie
Registered: 08/17/03
Posts: 4
Cry I have installed Apache, winmysqladmin and php in my computer. The directory of apache is in: d:/Archivos de programa/Apache Group/Apache/htdocs/ and the directory of geeklog is: d:/geeklog/ I copied \'public_html\' to \'htdocs\' and I created the database: geeklog. I have tried all the posibilities to the configuratios of config.php and lib-common.php, I don\'t know what the problem because I think I do this changes correctly but when I try: http://localhost/admin/install/install.php in my browse it writes: Parse error: parse error, expecting `T_CONSTANT_ENCAPSED_STRING\' in d:Archivos de programaApache GroupApachehtdocs/admin/install/install.php on line 166 what can i do?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
You shouldn\'t get any parse errors in install.php. Did you edit that file? If so, please revert it to its original state (you don\'t need to edit it). bye, Dirk
 Quote

Status: offline

jenaiz

Forum User
Newbie
Registered: 08/17/03
Posts: 4
I don\'t edit install.php. I only edit config.sys and lib-common.php, but only what the help say.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Hmm, line 166 in the install script is an empty line - in Geeklog 1.3.8-1. In 1.3.8, however, it's this:
Text Formatted Code
require_once($_CONF['path'] . 'sql/' . $_DB_dbms . '_tableanddata.php');
So are you trying to install 1.3.8 or 1.3.8-1? If it's 1.3.8, can you tell us what you have for $_CONF['path'] and $_DB_dbms in the install script? bye, Dirk
 Quote

Status: offline

DTrumbower

Forum User
Moderator
Registered: 01/08/03
Posts: 507
Can you view a basic html file in the web root? The error is missing / for the apache path. You might have an apahce setup problem. I might also look at http://aeonserv.com for a complete windows solution.
 Quote

Status: offline

jenaiz

Forum User
Newbie
Registered: 08/17/03
Posts: 4
I am using 1.3.8 and I have: $_CONF[\'path\'] = \'d:/geeklog/\'; (but with inverse slash) and $_DB_dbms = \'mysql\'; I use mysql-3.23.57-win.zip. But I don\'t know if I created the database correctly. I Used phpMyadmin and it said that I have a database called \'geeklog\' how the help say. thanks.
 Quote

Status: offline

jenaiz

Forum User
Newbie
Registered: 08/17/03
Posts: 4
I can see basic html files in \'http://localhost\' but not only that... I can use phpMyadmin and I probed the typical file of php with the info of the computer and the so. Php works well. Another thing is mysql. I don\'t know if it works well because this the first time that I need to use... perhaps this is the problem?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by jenaiz: I am using 1.3.8 and I have: $_CONF[\'path\'] = \'d:/geeklog/\'; (but with inverse slash)
Try using forward slashes \'/\' in all paths.
Quote by jenaiz:But I don\'t know if I created the database correctly. I Used phpMyadmin and it said that I have a database called \'geeklog\' how the help say.
There isn\'t much you can do wrong there - you only need to create a new, empty database, that\'s all. bye, Dirk
 Quote

All times are EST. The time is now 03:38 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