Welcome to Geeklog, Anonymous Monday, June 27 2022 @ 02:55 pm EDT

Geeklog Forums

more installation problems

Page navigation


Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
(the actual error may be in the line preceding the one mentioned in the error message)

Make that "lines" (plural). A missing semicolon or single quote can sometimes cause an error quite a few lines later.

bye, Dirk
 Quote

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
Yeah, I didn't put semi-colons on my lines.

$_CONF['path'] = '/home/users/uks59246/html/';
$_CONF['path_html'] = '/home/users/uks59246/html/idhsgb.com/web/';
$_CONF['site_url'] = 'http://www.idhsgb.com/web';
 Quote

New to php

Anonymous
That seems to have sorted it........BUT - I ran check.php (before trying to install) and got the following error :-

An error has occurred:
2 - main(system/classes/timer.class.php) [function.main]: failed to open stream: No such file or directory @ /home/users/uks59246/html/idhsgb.com/web/lib-common.php line 182

Do you need to see output of check.php? If so, can I PM or email them to you ??

Thanks :doh:
 Quote

New to php

Anonymous
Any help /advice appreciated with this. Thanks :banghead: :banghead:
 Quote

Status: offline

1000ideen

Forum User
Full Member
Registered: 08/04/03
Posts: 1298
Line 182, that looks like there is another problem with $_CONF['path_system']

Is the public_html stuff here?
/home/users/uks59246/html/idhsgb.com/web/

The geeklog system stuff is here?
/home/users/uks59246/html/idhsgb.com/

like
/home/users/uks59246/html/idhsgb.com/system/

What is this line 93 like in lib-common.php?
require_once( '/path/to/geeklog/config.php' );
 Quote

New to php

Anonymous
Hi
public_html stuff here? YES
/home/users/uks59246/html/idhsgb.com/web/
---------------------------------------

geeklog system stuff is here?
/home/users/uks59246/html/system/
NOT /home/users/uks59246/html/idhsgb.com/
------------------------------------ ????????

line 93 like in lib-common.php? YES
require_once( '/home/users/uks59246/html/config.php' );

Your ongoing help is greatly apreciated................I aint gonna touch anything until I hear back from you !!!! :banghead: :doh:
 Quote

Status: offline

1000ideen

Forum User
Full Member
Registered: 08/04/03
Posts: 1298
Your sense of humor is good. I think it should be added in the installation instructions as one of the requirements Mr. Green

O.k. your geeklog system stuff should indeed be here but there are subdirectories!
/home/users/uks59246/html/idhsgb.com/

This is necessary (with correct permissions):
/home/users/uks59246/html/idhsgb.com/backups/
/home/users/uks59246/html/idhsgb.com/data/
/home/users/uks59246/html/idhsgb.com/language/
/home/users/uks59246/html/idhsgb.com/logs/
/home/users/uks59246/html/idhsgb.com/plugins/
/home/users/uks59246/html/idhsgb.com/sql/
/home/users/uks59246/html/idhsgb.com/system/

and of course you got this one:
/home/users/uks59246/html/idhsgb.com/web/



 Quote

Status: offline

mevans

Forum User
Full Member
Registered: 02/08/04
Posts: 393
Location:Texas
Quote by: New to php

Hi
public_html stuff here? YES
/home/users/uks59246/html/idhsgb.com/web/
---------------------------------------

geeklog system stuff is here?
/home/users/uks59246/html/system/
NOT /home/users/uks59246/html/idhsgb.com/
------------------------------------ ????????

line 93 like in lib-common.php? YES
require_once( '/home/users/uks59246/html/config.php' );

Your ongoing help is greatly apreciated................I aint gonna touch anything until I hear back from you !!!! :banghead: :doh:



Let's see if we can make this simple.

Based on what you told us above, we know where your public_html files are located and where your system files are located (your Geeklog config.php should be in that system directory). So, make sure the following settings are correct:

config.php
Text Formatted Code

$_CONF['path']            = '/home/users/uks59246/html/system/'; // should end in a slash
$_CONF['path_html']      = '/home/users/uks59246/html/idhsgb.com/web/';
 

lib-common.php
Text Formatted Code

require_once( '/home/users/uks59246/html/system/config.php' );
 


Make these changes and let's see what happens next. Usual rules apply, if you get another error, post as much info as you can about the error if possible.

Good luck!
Mark



 Quote

New to php

Anonymous
Big Grin Hi again, definitely agree that a sense of humour is needed - the help provided is keeping the sanity intact !!!

My 'idhsgb.com' is the 'public_html' folder, so my setup is: -

/home/users/uks59246/html/
/home/users/uks59246/html/backups/ (cmod 775)
/home/users/uks59246/html//data/ (cmod 775)
/home/users/uks59246/html/idhsgb.com/web/ (cmod 745)
/home/users/uks59246/html/language/ (cmod 644)
/home/users/uks59246/html//logs/ (cmod 775)
/home/users/uks59246/html/idhsgb.com/plugins/ (cmod 745)
/home/users/uks59246/html/sql/ (cmod 745)
/home/users/uks59246/html/system/ (cmod 745)
config.php
emailgeeklogstories
INSTALL
readme

Under /home/users/uks59246/html/idhsgb.com/web/ -
is all the public_html stuff, including:-
/home/users/uks59246/html/idhsgb.com/web/backend (cmod 775)
/home/users/uks59246/html/idhsgb.com/web/images/articles (cmod 775)
/home/users/uks59246/html/idhsgb.com/web/images/topics (cmod 775)
/home/users/uks59246/html/idhsgb.com/web/images/userphotos (cmod 775)

config.php is in root (html), but not in system folder - all paths I can find sem to point to where it is ????
I can post check.php if you guys want me to, but will obviously have to edit out some info that I'd prefer the world didn't see - although as I said in previous one, I'm happy to PM/email the complete log.

:doh: :doh:
 Quote

Status: offline

1000ideen

Forum User
Full Member
Registered: 08/04/03
Posts: 1298
Which is the top folder that can be accessed by a browser? /home/users/uks59246/html/idhsgb.com or higher?

I had one case where geeklog could not access the upper folder. I tested this by installing all the stuff in the web root, that would be /home/users/uks59246/html/idhsgb.com or as you chose /home/users/uks59246/html/idhsgb.com/web
 Quote

New to php

Anonymous
Highest folder that browser can access is /home/users/uks59246/html/idhsgb.com - which is why I installed stuff outside public_html to the one above (/home/users/uks59246/html/) ?? Is this correct, or have I misread install instructions ???

I would have thought tht geeklog is accessing the stuff in /home/users/uks59246/html/idhsgb.com
- as the install routine will start??

:doh: :doh: :banghead: :banghead:

Gawwwd, I hope Geeklog 2 contains an easy installation.
I've installed at least 5 other cms without any of these problems - but didn't like using any of them by comparison !!!) Big Grin
 Quote

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
Quote by: New to php

/home/users/uks59246/html/
/home/users/uks59246/html/backups/ (cmod 775)
/home/users/uks59246/html//data/ (cmod 775)
/home/users/uks59246/html/idhsgb.com/web/ (cmod 745)
/home/users/uks59246/html/language/ (cmod 644)
/home/users/uks59246/html//logs/ (cmod 775)
/home/users/uks59246/html/idhsgb.com/plugins/ (cmod 745)

That should be
/home/users/uks59246/html/plugins/


/home/users/uks59246/html/sql/ (cmod 745)
/home/users/uks59246/html/system/ (cmod 745)
config.php
emailgeeklogstories
INSTALL
readme

Under /home/users/uks59246/html/idhsgb.com/web/ -
is all the public_html stuff, including:-
/home/users/uks59246/html/idhsgb.com/web/backend (cmod 775)
/home/users/uks59246/html/idhsgb.com/web/images/articles (cmod 775)
/home/users/uks59246/html/idhsgb.com/web/images/topics (cmod 775)
/home/users/uks59246/html/idhsgb.com/web/images/userphotos (cmod 775)


Okay. Don't move anything. Start with a fresh config.php right where you have it in /home/users/uks59246/html. Make your database changes. Then change these 3 variables:
Text Formatted Code
$_CONF['path'] = '/home/users/uks59246/html/';
$_CONF['path_html'] = '/home/users/uks59246/html/idhsgb.com/web/';
$_CONF['site_url'] = 'http://www.idhsgb.com/web';


And finally modify /home/users/uks59246/html/idhsgb.com/web/lib-common.php so that the line that says

require_once( '/path/to/geeklog/config.php' );

now says

require_once( '/home/users/uks59246/html/config.php' );

Make no other changes.

Good luck.
 Quote

New to php

Anonymous
OK. Did as you said with a 'clean' config.php, and checked that lib-common.php was correct. I didn't attempt to install, but ran check.php - and got this -

Template Error: set_root: /home/users/uks59246/html//home/users/uks59246/html/idhsgb.com/web/layout/professional is not a directory.
Halted.

While comparing 'old' and 'clean' config.php's I think I found the error -
$_CONF['path'] = '/home/users/uks59246/html/'; was commented out

so after getting the above error, I corrected this, and tried check.php again.

SAME ERROR !!!!! :doh: :doh: :doh:

Looks like it's closer to getting there - but like before, NOT gonna touch it till I hear back again. Your patience with me is appreciated :banghead: :banghead: :banghead:
 Quote

Status: offline

1000ideen

Forum User
Full Member
Registered: 08/04/03
Posts: 1298
Are you sure that line 74 $_CONF['path_html'] looks like this only:

$_CONF['path_html'] = '/home/users/uks59246/html/idhsgb.com/web/';
 Quote

New to php

Anonymous
Hey, we're gonna have to stop meeting like this..........people will start talking !!! Big Grin
OK, dunno about you, this is starting to do my head in !!!
:banghead: :speechless:
I checked - line 74 $_CONF['path_html'] - and sure enough I had a stop ( '.' ) before what I should have, so removed it, re-uploaded and ran install - and got -

'An SQL error has occurred. Please see error.log for details'

At the top of the error log is this -
An error has occurred:
2 - main() [function.main]: Unable to access /home/users/uks59246/html/language/english.php @ /home/users/uks59246/html/idhsgb.com/web/lib-common.php line 388


As I've said before, your help is GREATLY appreciated, but (because of my lack of php knowledge) we (mainly me !!!) seem to be groping around in the dark. I appreciate that I'm taking up a lot of your time here - so I'm willing to pay you to install this, and sort it, for me - if you're interested, then I'll PM you.
 Quote

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
What's at the bottom of the log? The log fills top down. So the most recent errors are at the end.
 Quote

New to php

Anonymous
I've included complete log below string 7

Text Formatted Code
  string(7) "Wyoming"
  }
  ["curPHPIncludePath"]=>
  string(32) ".:/usr/share/php:/usr/share/pear"
  ["separator"]=>
  string(1) ":"
  ["_PAGE_TIMER"]=>
  &object(timerobject)(4) {
    ["_starttime"]=>
    float(1188220699.64)
    ["_endtime"]=>
    string(0) ""
    ["_elapsedtime"]=>
    string(0) ""
    ["_percision"]=>
    int(2)
  }
  ["_URL"]=>
  object(url)(2) {
    ["_arguments"]=>
    array(0) {
    }
    ["_enabled"]=>
    bool(false)
  }
  ["_TABLES"]=>
  array(47) {
    ["access"]=>
    string(9) "gl_access"
    ["article_images"]=>
    string(17) "gl_article_images"
    ["blocks"]=>
    string(9) "gl_blocks"
    ["commentcodes"]=>
    string(15) "gl_commentcodes"
    ["commentmodes"]=>
    string(15) "gl_commentmodes"
    ["comments"]=>
    string(11) "gl_comments"
    ["cookiecodes"]=>
    string(14) "gl_cookiecodes"
    ["dateformats"]=>
    string(14) "gl_dateformats"
    ["events"]=>
    string(9) "gl_events"
    ["eventsubmission"]=>
    string(18) "gl_eventsubmission"
    ["featurecodes"]=>
    string(15) "gl_featurecodes"
    ["features"]=>
    string(11) "gl_features"
    ["frontpagecodes"]=>
    string(17) "gl_frontpagecodes"
    ["group_assignments"]=>
    string(20) "gl_group_assignments"
    ["groups"]=>
    string(9) "gl_groups"
    ["links"]=>
    string(8) "gl_links"
    ["linksubmission"]=>
    string(17) "gl_linksubmission"
    ["maillist"]=>
    string(11) "gl_maillist"
    ["personal_events"]=>
    string(18) "gl_personal_events"
    ["pingservice"]=>
    string(14) "gl_pingservice"
    ["plugins"]=>
    string(10) "gl_plugins"
    ["pollanswers"]=>
    string(14) "gl_pollanswers"
    ["pollquestions"]=>
    string(16) "gl_pollquestions"
    ["pollvoters"]=>
    string(13) "gl_pollvoters"
    ["postmodes"]=>
    string(12) "gl_postmodes"
    ["sessions"]=>
    string(11) "gl_sessions"
    ["sortcodes"]=>
    string(12) "gl_sortcodes"
    ["speedlimit"]=>
    string(13) "gl_speedlimit"
    ["statuscodes"]=>
    string(14) "gl_statuscodes"
    ["stories"]=>
    string(10) "gl_stories"
    ["storysubmission"]=>
    string(18) "gl_storysubmission"
    ["syndication"]=>
    string(14) "gl_syndication"
    ["topics"]=>
    string(9) "gl_topics"
    ["trackback"]=>
    string(12) "gl_trackback"
    ["trackbackcodes"]=>
    string(17) "gl_trackbackcodes"
    ["tzcodes"]=>
    string(10) "gl_tzcodes"
    ["usercomment"]=>
    string(14) "gl_usercomment"
    ["userindex"]=>
    string(12) "gl_userindex"
    ["userinfo"]=>
    string(11) "gl_userinfo"
    ["userprefs"]=>
    string(12) "gl_userprefs"
    ["users"]=>
    string(8) "gl_users"
    ["vars"]=>
    string(7) "gl_vars"
    ["staticpage"]=>
    string(13) "gl_staticpage"
    ["spamx"]=>
    string(8) "gl_spamx"
    ["commentspeedlimit"]=>
    string(20) "gl_commentspeedlimit"
    ["submitspeedlimit"]=>
    string(19) "gl_submitspeedlimit"
    ["userevent"]=>
    string(12) "gl_userevent"
  }
  ["_DB"]=>
  &object(database)(10) {
    ["_host"]=>
    string(9) "localhost"
    ["_name"]=>
    string(11) "uks59246web"
    ["_user"]=>
    string(8) "uks59246"
    ["_pass"]=>
    string(9) "WWR5385ms"
    ["_db"]=>
    resource(9) of type (mysql link)
    ["_verbose"]=>
    bool(false)
    ["_display_error"]=>
    bool(false)
    ["_errorlog_fn"]=>
    string(12) "COM_errorLog"
    ["_charset"]=>
    string(10) "iso-8859-1"
    ["_mysql_version"]=>
    int(50032)
  }
  ["_SEC_VERBOSE"]=>
  bool(false)
  ["_SYND_DEBUG"]=>
  bool(false)
  ["_TRB_LOG_REJECTS"]=>
  bool(false)
  ["_CST_VERBOSE"]=>
  bool(false)
  ["PLG_bufferCenterAPI"]=>
  array(0) {
  }
  ["PLG_buffered"]=>
  bool(false)
  ["result"]=>
  bool(true)
  ["_PLUGINS"]=>
  array(5) {
    [0]=>
    string(11) "staticpages"
    [1]=>
    string(5) "spamx"
    [2]=>
    string(5) "links"
    [3]=>
    string(5) "polls"
    [4]=>
    string(8) "calendar"
  }
  ["A"]=>
  array(4) {
    [0]=>
    string(1) "1"
    ["onleft"]=>
    string(1) "1"
    [1]=>
    string(13) "older_stories"
    ["name"]=>
    string(13) "older_stories"
  }
  ["_SESS_VERBOSE"]=>
  bool(false)
  ["server"]=>
  array(2) {
    [0]=>
    string(16) "//www.idhsgb.com"
    [1]=>
    string(14) "www.idhsgb.com"
  }
  ["_USER"]=>
  &NULL
  ["usetheme"]=>
  string(0) ""
  ["_IMAGE_TYPE"]=>
  string(3) "png"
  ["nrows"]=>
  int(9)
  ["i"]=>
  int(9)
  ["_BLOCK_TEMPLATE"]=>
  array(12) {
    ["user_block"]=>
    string(45) "blockheader-left.thtml,blockfooter-left.thtml"
    ["admin_block"]=>
    string(45) "blockheader-left.thtml,blockfooter-left.thtml"
    ["section_block"]=>
    string(45) "blockheader-left.thtml,blockfooter-left.thtml"
    ["polls_block"]=>
    string(47) "blockheader-right.thtml,blockfooter-right.thtml"
    ["events_block"]=>
    string(45) "blockheader-left.thtml,blockfooter-left.thtml"
    ["whats_new_block"]=>
    string(47) "blockheader-right.thtml,blockfooter-right.thtml"
    ["first_block"]=>
    string(47) "blockheader-right.thtml,blockfooter-right.thtml"
    ["whosonline_block"]=>
    string(47) "blockheader-right.thtml,blockfooter-right.thtml"
    ["older_stories"]=>
    string(45) "blockheader-left.thtml,blockfooter-left.thtml"
    ["_msg_block"]=>
    string(51) "blockheader-message.thtml,blockfooter-message.thtml"
    ["whats_related_block"]=>
    string(51) "blockheader-related.thtml,blockfooter-related.thtml"
    ["story_options_block"]=>
    string(51) "blockheader-related.thtml,blockfooter-related.thtml"
  }
  ["tries"]=>
  int(1)
  ["sess_id"]=>
  int(1007331344)
  ["curtime"]=>
  int(1188220699)
}
 
 Quote

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
Quote by: New to php

'An SQL error has occurred. Please see error.log for details'

"Error.log" is a file in your logs directory. That is what I thought you meant.
At the top of the error log is this -
An error has occurred:
2 - main() [function.main]: Unable to access /home/users/uks59246/html/language/english.php @ /home/users/uks59246/html/idhsgb.com/web/lib-common.php line 388
This is an error message that you called a log, confusing me.

In any case, reading the error message again, is there are readable file named english.php in that path?
 Quote

Status: offline

1000ideen

Forum User
Full Member
Registered: 08/04/03
Posts: 1298
The file error.log should be here: /home/users/uks59246/html//logs/

or rather here: /home/users/uks59246/html/logs/ (one "/" less)

 Quote

New to php

Anonymous
Think it's getting there - I found my language folder was locked ???? cmodded it to 776, and 'check.php' ran.
All the ones that failed have a double // after web...........then repeat the whole path except for the web folder (where they all are).........doesn't mean a thing to me, but imagine it makes sense to you guys ?????
And once again, I aint gonna mess with it Big Grin Big Grin
:banghead: :banghead: :banghead:

Text Formatted Code
Testing logs directory /home/users/uks59246/html/logs/ ...
logs directory and the error.log and access.log files are okay.

Testing backend directory /home/users/uks59246/html/idhsgb.com/web/backend/ ...
backend directory and the geeklog.rss file are okay.

Testing userphotos directory /home/users/uks59246/html/idhsgb.com/web//home/users/uks59246/html/idhsgb.com/images/userphotos/ ...
Could not write to /home/users/uks59246/html/idhsgb.com/web//home/users/uks59246/html/idhsgb.com/images/userphotos/.
Please make sure this directory exists and is set to chmod 775.
Current permissions for userphotos: 0

Testing articles directory /home/users/uks59246/html/idhsgb.com/web//home/users/uks59246/html/idhsgb.com/images/articles/ ...
Could not write to /home/users/uks59246/html/idhsgb.com/web//home/users/uks59246/html/idhsgb.com/images/articles/.
Please make sure this directory exists and is set to chmod 775.
Current permissions for articles: 0

Testing topics directory /home/users/uks59246/html/idhsgb.com/web//home/users/uks59246/html/idhsgb.com/images/topics/ ...
Could not write to /home/users/uks59246/html/idhsgb.com/web//home/users/uks59246/html/idhsgb.com/images/topics/.
Please make sure this directory exists and is set to chmod 775.
Current permissions for topics: 0

Testing backups directory /home/users/uks59246/html/backups/ ...
backups directory is okay.

Testing data directory /home/users/uks59246/html/data/ ...
data directory is okay.

Results: 7 of 7 tests performed: 4 successful, 3 failed.
 
 Quote

Page navigation

All times are EDT. The time is now 02: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