Welcome to Geeklog, Anonymous Saturday, November 30 2024 @ 11:55 pm EST

Geeklog Forums

Pares Error expecting `STRING'


Anonymous

Anonymous
Trying to install and can't figure this out Parse error: parse error, expecting `STRING' or `NUM_STRING' or `'$'' in /home/WWW12/foo.com/htdocs/geeklog/admin/install/install.php on line 170 Ithink it has something to do with the database setup? Thanks Kel
 Quote

Status: offline

Euan

Forum User
Full Member
Registered: 04/22/02
Posts: 292
Platform/version/etc? I think the first time I installed GL, almost all the problems were due to 1) bad paths in config.php (my fault) 2) white spaces at the end of lines/end of files (sometimes my fault, sometimes not) 3) being incredibly stupid (my parents' fault) (I'd like to think) Check 1) and 2) first. I still haven't found a solution to 3) but I now sometimes read the instructions Wink Cheers, Euan.
-- Heather Engineering
-- No job too small
 Quote

Anonymous

Anonymous
Thanks I didn't think my parents raised dummies but maybe they did. I reloaded the whole program I opened it with a new copy of WinRar. I chanegd mty settings and I still get the same parse error. Here is my config file can you see anything obvious. I was having issues with my admin folder neing the default so I changed the name to admins and changed changed the appropriate references in the files located in public_html. Thanks $_DB_dbms = 'mysql'; // Currently only MySQL is support, do not change $_DB_host = 'db.hostme.com'; $_DB_name = 'foo'; // Yes, your DB must exists before running installer! $_DB_user = 'foo'; $_DB_pass = 'foo'; $_DB_table_prefix = 'gl_'; // e.g. 'gl_' $_DB_mysqldump_path = '/usr/bin/mysqldump'; // path to mysqldump binary e.g. /usr/bin/mysqldump $_CONF['allow_mysqldump'] = 1; // 1 = on, 0 = off // +---------------------------------------------------------------------------+ // | SERVER SETTINGS | // | | // | All paths must have a trailing slash ('/'). The 'path' value signifies | // | where the config.php (this file) resides | // +---------------------------------------------------------------------------+ $_CONF['path'] = '/home/WWW12/foo.com/'; $_CONF['path_system'] = $_CONF['path'] . 'system/'; $_CONF['path_html'] = $_CONF['path'] . 'htdocs/'; $_CONF['path_log'] = $_CONF['path'] . 'htdocs/logs/'; $_CONF['path_language'] = $_CONF['path'] . 'language/'; $_CONF['rdf_file'] = $_CONF['path_html'] . 'backend/geeklog.rdf'; $_CONF['backup_path'] = $_CONF['path'] . 'backups/'; // +---------------------------------------------------------------------------+ // | SITE SETTINGS | // | | // | These settings help define your Geeklog site. | // +---------------------------------------------------------------------------+ $_CONF['site_name'] = 'metro'; $_CONF['site_slogan'] = 'Get Knowledge'; $_CONF['site_mail'] = 'admin@foo.com'; $_CONF['site_url'] = 'http://www.foo.com'; $_CONF['site_admin_url'] = $_CONF['site_url'] . '/admins'; $_CONF['theme'] = 'XSilver'; // default theme $_CONF['layout_url'] = $_CONF['site_url'] . '/layout/' . $_CONF['theme']; $_CONF['path_themes'] = $_CONF['path_html'] . 'layout/'; $_CONF['path_layout'] = $_CONF['path_themes'] . $_CONF['theme'] .'/'; $_CONF['allow_user_themes'] = 1; $_CONF['allow_user_photo'] = 1; // 1 = on, 0 = off...flag that allows users to upload self-photo
 Quote

Anonymous

Anonymous
I just spent about four days trying to load this great script on a server with version 3.something of php. Sorry to take all your time I will be changing hosts. Thanks, Kel
 Quote

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