Welcome to Geeklog, Anonymous Monday, January 30 2023 @ 09:57 am EST

Geeklog Forums

Problems with install


oneilxm

Anonymous
Help! please, Ive been looking through all the help files, and cant find out how to fix this first of all, im getting a 1146 error 1146: Table 'xmwebsite.gl_blocks' doesn't exist So, i checked all permissions, got em in place, and made sure, that register_globals=on When i try running the install script, i cant get past the first page. error.log says nothing about this page, just says that when i try looking at the main page, it says "block cant be found" well of course it wont, the database is empty. help please oneil
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
You get the complaint about the block because you're trying to call up the start page before the database is set up. This is normal. When you can't get past the first page of the install script, this normally means you have register_globals=off. When you say that you "made sure" it is on, does that mean you changed it (from off to on)? If yes, did you restart your server afterwards? bye, Dirk
 Quote

oneilxm

Anonymous
Yeah I restarted the server, both mysql and apache. Still cant get it to work, and its driving me crazy, mysql-3.23.49 php-4.2.1 apache_1.3.26 All on slackware 7, 2.2.20 server does have LIDS, do you think this could be a problem? I havent had any LIDS errors or emails. Any ideas will be most gratefull
 Quote

Anonymous

Anonymous
I have a similar problem with v.1.3.5 The installer script installs the database okay or at least it installs the structure okay... 40 tables. Maybe it missed some of the records? Some inserts didn't work? don't know. 1.3 works fine. Could be the way the new conf file works... anyways I get to the success.php but it's blank. Look at html src and it's just a html/body tag set, no content. I try to load the front page and again blank, same symptoms. Why would the success.php not load correctly? Don't know. That's my story and i'm sticking to it... and sticking to 1.3 as well until I see a fix or an explanation. Thanks for the hard work though. Just wish it would go smoothly this time like it has before.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
40 tables is the right amount, so you got the database set up okay. Getting blank pages (with success.php or the site's front page) normally means that the path to config.php in your lib-common.php is not correct. Please check that. bye, Dirk
 Quote

oneilxm

Anonymous
what about me?, im not getting anything, and im not getting past the settin up database page
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
I have no idea what is happening there. Normally, not getting past the first page of the install script would mean that you have register_globals=off. But since it's on for you, I don't know what else could cause that. I would at least expect an error message of some sort (or do you have error messages turned off in your php.ini?) ... bye, Dirk
 Quote

Status: offline

abloch

Forum User
Newbie
Registered: 06/26/02
Posts: 7
I just had the same problem -- php.ini had register_globals on, but for some reason it was still off. I fixed the problem by adding this line to my .htaccess file: php_flag register_globals on I think this will only work with the server module versions of PHP. For the CGI version, I think you could instead put a php.ini in the local directory with register_globals on. It would be nice if install.php checked the register_globals setting and warned the user if it was not on. This could be done by inserting in function INST_welcomePage() something like this: if (!ini_get('register_globals')) { $retval .= '<p>register_globals is off, see <a href="xxxx">xxxx</a> for help in turning on'; } Andy
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Thanks, using ini_get() to check the state of register_globals in the install script is an excellent idea. I just added this in CVS. bye, Dirk
 Quote

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