Can't finish install Stuck at continue after table build

Can't finish install Stuck at continue after table build

by Tracy Hansen -
Number of replies: 12

I am stuck here:

You are currently using Moodle version (Release )

Continue

thats as far as I go.  I have changed the "secureforms" setting with no effect. no errors just stuck here.

Average of ratings: -
In reply to Tracy Hansen

Re: Can't finish install Stuck at continue after table build

by André Krüger -
Picture of Core developers
Please check  FAQ , search function in this forum and

  • check the php- memory limit
  • check permissions for moodle data directory
  • are there blanks on the end of your config.ph

Hope this helps.
In reply to André Krüger

Re: Can't finish install Stuck at continue after table build

by Tracy Hansen -

I had already checked the other 2 settings but I found a carrage return at the end of the config file.  when I removed that everything started moving until I got to the end and I get page cannot be displayed.

In reply to Tracy Hansen

Re: Can't finish install Stuck at continue after table build

by André Krüger -
Picture of Core developers
Try to delete your database with phpmyadmin or other program and make a new installation.
Have you already set admin profil and page settings ?

Please describe, which site cannot be displayed.
It is possible to make a scrennshot ?

In reply to André Krüger

Re: Can't finish install Stuck at continue after table build

by Tracy Hansen -
my site is www.youdo.com/moodle.  I have deleted the database and recreated it many times.  it goes thru the db creation just great until the final creation when it goes back to www.youdo.com/moodle/admin/index.php  at which point it gives me page cannot be dispalyed like it can't find the page except if you look at "view source" you can see the source code loaded.  I have looked at php memory settings and they are fine I have set moodledata directory permissions.  it appears that admin/index.php is pointing to a page that dosen't exist.
In reply to Tracy Hansen

Re: Can't finish install Stuck at continue after table build

by André Krüger -
Picture of Core developers
Have you change php-memory limit, and restart apache ?

I can only see blank pages. Please check
$CFG->dirroot

When you can use ssh, please go to moodle directory and type pwd
on ssh-prompt, then you will see full pathname.
and this from FAQ

Check the dirroot variable in config.php. You must use complete, absolute (full) pathnames, eg:
$CFG->dirroot = 'd:/inetpub/sites/www.yoursite.com/web/moodle';

Another reason might be that PHP has not been configured to support MySQL. This is common on Redhat and OpenBSD installations. In this case, an error is generated, but since error displays are often disabled by default, all that is seen on the browser is a blank screen. To determine if this is
your problem, insert this as the second line in your config.php file

     phpinfo();

then reload the web page. Examine the output closely to see if MySQL is supported. If not look for a package you are missing.

Do you have access to apache error log ?
In reply to André Krüger

Re: Can't finish install Stuck at continue after table build

by Tracy Hansen -

Yes I have changed the php.ini settings for 16m and have restarted apache serveral times.  and have verified with php info to make sure it took.  I changed the settings in the config and got this:

Error detected in config.php

Error in: $CFG->dirroot = '/usr/home/youdo/usr/local/etc/httpd/htdocs/moodle';

Try this: $CFG->dirroot = '/usr/local/etc/httpd/htdocs/moodle';

so I changed it back.

I will delete the data base  again and let you log in and then you can see what it does.

www.youdo.com/moodle

In reply to Tracy Hansen

Re: Can't finish install Stuck at continue after table build

by W Page -
Hello Tracy,

Make sure you do not have a blank line after the "?>" at the bottom of the "moodle/config.php" file.

WP1
In reply to W Page

Re: Can't finish install Stuck at continue after table build

by Tracy Hansen -
thanks I have checked that problem already.  smile
In reply to Tracy Hansen

Re: Can't finish install Stuck at continue after table build

by André Krüger -
Picture of Core developers
Hi Tracy,

I have seen it.
Have you checked your dirroot with ssh ?

I can only help, when you will give me your ftp- account. Please change your password and change it back, when we have find a solution.

Hope this helps.

Andre
In reply to André Krüger

Block tables can't be set up successfuly

by Warlito Vicente -
i keep on getting this, your advise?
wwwroot/theme/$CFG->theme" ?>/favicon.ico" />
Upgrading database 
spacer.gif

(postgres7): CREATE TABLE mdl_blocks ( id SERIAL8 PRIMARY KEY, name varchar(40) NOT NULL default '', version INT8 NOT NULL default '0', cron INT8 NOT NULL default '0', lastcron INT8 NOT NULL default '0', visible int NOT NULL default '1')  

Warning: pg_exec(): Query failed: ERROR: Unable to locate type name 'serial8' in catalog . in /usr/local/sites/mra-acup.com/htdocs/moodle/lib/adodb/drivers/adodb-postgres64.inc.php on line 687
-1: ERROR: Unable to locate type name 'serial8' in catalog
            
         
      
   

Error

wwwroot/theme/$CFG->theme" ?>/favicon.ico" />
Blocks tables could NOT be set up successfully!

Continue


(postgres7): SELECT * FROM mdl_course WHERE category = '0' LIMIT 1  

You are not logged in. (Login)

In reply to Warlito Vicente

Re: Block tables can't be set up successfuly

by Dave Freeman -

I am getting the same error message as Warlito.  Does anyone know how to fix this?

Thank you for any help that can be provided

Warning: pg_exec(): Query failed: ERROR: Unable to locate type name 'serial8' in catalog in /hsphere/local/home/dfreeman/wildernessclassroom.com/moodle/lib/adodb/drivers/adodb-postgres64.inc.php on line 687
-1: ERROR: Unable to locate type name 'serial8' in catalog

In reply to Dave Freeman

Re: Block tables can't be set up successfuly

by Penny Leach -
I don't know anything about serial8.. normally I would put
id SERIAL PRIMARY KEY

Try that, maybe. You should find it in $CFG->dataroot/blocks/db/postgres7.sql