Installation Stuck on "Creating database tables"

Need help installing Joomla! 3.x? For all Joomla! 3.x installation issues please use this forum.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
Mr_Anonymous
Joomla! Apprentice
Joomla! Apprentice
Posts: 16
Joined: Fri Jul 04, 2014 1:37 pm

Installation Stuck on "Creating database tables"

Post by Mr_Anonymous » Mon Sep 08, 2014 9:50 pm

I am stuck on Joomla Installation for couple of hours and still cannot figure out what to do. I have already searched the forum here and tried many solutions and it doesnt work. Can someone help me please.

My Problem: When I install Joomla (versions 3.3 I downloaded only today), in the last screen it gets stuck in the loading screen under "Creating database tables".

These are the solutions I read from other forums on the same issue that I have tried and have not worked:

1) Increased php max_execution_time to 600 and it didint work. I then increased it to 3000 and it still didint work.

2) Opened "Root/installation/SQL/mysql/joomla.sql" and replaced all "ENGINE=InnoDB" with "ENGINE=MyIsam".

3) I installed in wamp and it seems to install fine but doesnt do it in live environment.

4) When I check the phpmyadmin, I can see that the database tables are created but the installation screen is still stuck showing loading bar next to "creating database table".

5) I checked the php and mysql version and they are not too old. PHP Version 5.4.20. MYSQL Version: 5.5.37

6) I checked the php error log and there is nothing there.

7) Increased PHP memory to 128M and still the same.

8. Change MySQLi to MySQL, no luck!

9) Just before it gets stuck, it shows an empty bar like line above "Installing..." heading and in the console the following Javascript error is showing:

Code: Select all

Uncaught TypeError: undefined is not a function core.js:1
Joomla.JText._ core.js:1
(anonymous function) core.js:1
m.extend.each jquery.min.js:2
Joomla.renderMessages core.js:1
(anonymous function) installation.js:200
j jquery.min.js:2
k.fireWith jquery.min.js:2
x jquery.min.js:4
b

I wonder if its the js error causing this issue and hanging in the last installation screen (not sure). I see many topics on this issue already over many years and still there is no 1 common solution. Some solution works for some and some dont. I have given the list I have tried and failed. Can someone help me on this please? I am loosing hair every minute over this.. :( Appreciate any help.
Last edited by Mr_Anonymous on Tue Sep 09, 2014 8:48 am, edited 2 times in total.

Mr_Anonymous
Joomla! Apprentice
Joomla! Apprentice
Posts: 16
Joined: Fri Jul 04, 2014 1:37 pm

Re: Installation Stuck on "Creating database tables"

Post by Mr_Anonymous » Tue Sep 09, 2014 7:58 am

Ok I tried a few more things and still no luck. Here is a screen dump on what exactly is happening.

1 This is the installation screen. While it is creating the tables, during half way stage a system message 'alert' box appears at the top (with empty message) and as soon as this shows the installation hangs. See image here:
installation_screen_frozen.jpg
2) When the alert box shows (with no message) and when the installation hangs, the following error shows in console:
Installation_Uncaught_TypeError.jpg
The same thing does not happen in wamp server. There are no php errors in server logs neither. Can someone please have a look and give me your suggestion please?
You do not have the required permissions to view the files attached to this post.

Mr_Anonymous
Joomla! Apprentice
Joomla! Apprentice
Posts: 16
Joined: Fri Jul 04, 2014 1:37 pm

Re: Installation Stuck on "Creating database tables"

Post by Mr_Anonymous » Tue Sep 09, 2014 11:30 am

I was finally able to install Joomla. Honestly I dont know what was exactly causing the issue before. So this is what I did since my last post:

1) I fully deleted the dev server's account from WHM.
2) Recreated a new account from WHM with new cpanel access
3) Created database from cpanel
4) Ran Joomla installation on the new site.
5) Thats it.. This time the installation completed.

Again, I still dont know why it worked this time. I did the exact same steps yesterday with the same server configurations. No clue whatsoever and its a mystery. I just hope this doesnt happen again when I release it as a production site in the future.

Just thought of adding it here for the completion of this thread. If anyone else have this problem, go through all the steps that I tried in my first post above before you resolve to this option. Also dont delete accounts from WHM unless you know what you are doing..

gnicklin
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sun Nov 02, 2008 12:32 am

Re: Installation Stuck on "Creating database tables"

Post by gnicklin » Sun Oct 26, 2014 8:30 am

I have had the same trouble and am about to give up on installing Joomla 3.3.6 on WAMP 2.5. My system gets stuck on creating the database tables as in the post above. I have tied all of the suggestions found in various posts i.e.
- Changed engine=innodb to engine=mylsam in joomla.sql
- Changed max_execution_time to 3000 in php.ini
- reverted to Jommla version.3.3.0[img][img][/img][/img]
None of these changes have any impact on solving the problem. I never had any problem when I installed Joomla 1.5 a few years back now on WP. I am fairly comfortable in using Joomla but this version 3.3.6 installation is a nightmare. There doesn't seen to be any official Joomla help on this type of installation problem.

Can anybody point me to an online resource that will work to solve this problem?

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30982
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Installation Stuck on "Creating database tables"

Post by Per Yngve Berg » Sun Oct 26, 2014 12:00 pm

Mr_Anonymous wrote:3) Created database from cpanel
You have forgotten to create a database user, give the user a password and assign permissions to the database.

We have developed the Forum Post Assistant to ease the server setup issues. Please use it.

http://forum.joomla.org/viewtopic.php?f=621&t=582860

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9786
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Installation Stuck on "Creating database tables"

Post by AMurray » Sun Oct 26, 2014 10:01 pm

You have forgotten to create a database user, give the user a password and assign permissions to the database.
I'm not sure that omitting the user details is the issue; that would cause a "cannot connect to database..." error and so it wouldn't attempt to create the tables if it can't connect to the database initially (at least in my experience that's what occurs).

For anyone else reading this thread, check the following:

- As well as creating a user, you have to assign that user to the DB
- Make sure "all priviledges" are checked.

http://docs.joomla.org/Creating_a_Database_for_Joomla!
Regards - A Murray
General Support Moderator

gnicklin
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sun Nov 02, 2008 12:32 am

Re: Installation Stuck on "Creating database tables"

Post by gnicklin » Mon Oct 27, 2014 8:56 am

Here is the diagnosic from "Form post assistant". Even I can tell that there is missing configuration items here but wouldn't know how to fix them. I have tried the fixes mentioned from previous forum posts like
(i) Changing max_execution_time from 120 to 3000
(ii) Changing instances of Engine=InnoDB to Mylsam
but still got the system hung up on the database creation page of the install. Please see the screen shot below.

Appreciate any help in sorting this.
Last PHP Error(s) Reported :: Forum Post Assistant (v1.2.4) : 27th October 2014 wrote: in Unknown on line 0
Forum Post Assistant (v1.2.4) : 27th October 2014 wrote:
B[attachment=0]Capture.JPG[/attachment]asic Environment :: wrote:Joomla! Instance :: Joomla! 3.3.6-Stable (Ember) 01-October-2014
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Not Found

Host Configuration :: OS: Windows NT | OS Version: 6.1 | Technology: i586 | Web Server: Apache/2.4.9 (Win32) PHP/5.5.12 | Encoding: gzip, deflate | Doc Root: | System TMP Writable: Yes

PHP Configuration :: Version: 5.5.12 | PHP API: apache2handler | Session Path Writable: Yes | Display Errors: 1 | Error Reporting: 32767 | Log Errors To: c:/wamp/logs/php_error.log | Last Known Error: 27th October 2014 09:35:28. | Register Globals: | Magic Quotes: | Safe Mode: | Open Base: | Uploads: 1 | Max. Upload Size: 64M | Max. POST Size: 3M | Max. Input Time: 60 | Max. Execution Time: 120 | Memory Limit: 128M

MySQL Configuration :: Database Credentials incomplete or not available Nothing to display.
Missing credentials detected: Connection Type missing | MySQL Host missing | Table Prefix missing | Database Username missing | Database Password missing |
Detailed Environment :: wrote:PHP Extensions :: Core (5.5.12) | bcmath () | calendar () | ctype () | date (5.5.12) | ereg () | filter (0.11.0) | ftp () | hash (1.0) | iconv () | json (1.2.1) | mcrypt () | SPL (0.2) | odbc (1.0) | pcre () | Reflection ($Id: 31d836a7ac92a37b5c580836d91ad4736fe2f376 $) | session () | standard (5.5.12) | mysqlnd (mysqlnd 5.0.11-dev - 20120503 - $Id: bf9ad53b11c9a57efdb1057292d73b928b8c5c77 $) | tokenizer (0.1) | zip (1.11.0) | zlib (2.0) | libxml () | dom (20031129) | PDO (1.0.4dev) | bz2 () | SimpleXML (0.1) | wddx () | xml () | xmlreader (0.1) | xmlwriter (0.1) | apache2handler () | openssl () | curl () | com_dotnet (0.1) | fileinfo (1.0.5) | gd () | gettext () | gmp () | imap () | mbstring () | exif (1.4 $Id$) | mysql (1.0) | mysqli (0.1) | Phar (2.0.2) | pdo_mysql (1.0.2) | pdo_sqlite (1.0.1) | shmop () | soap () | sockets () | sqlite3 (0.7-dev) | xmlrpc (0.51) | xsl (0.1) | mhash () | xdebug (2.2.5) | Zend Engine (2.5.0) |
Potential Missing Extensions :: suhosin |

Switch User Environment (Experimental) :: PHP CGI: No | Server SU: No | PHP SU: No | Custom SU (LiteSpeed/Cloud/Grid): No
Potential Ownership Issues: Maybe

Apache Modules :: core | mod_win32 | mpm_winnt | http_core | mod_so | mod_access_compat | mod_actions | mod_alias | mod_allowmethods | mod_asis | mod_auth_basic | mod_authn_core | mod_authn_file | mod_authz_core | mod_authz_groupfile | mod_authz_host | mod_authz_user | mod_autoindex | mod_cache | mod_cache_disk | mod_cgi | mod_deflate | mod_dir | mod_env | mod_file_cache | mod_include | mod_isapi | mod_log_config | mod_mime | mod_negotiation | mod_setenvif | mod_vhost_alias | mod_php5 | Apache/2.4.9 (Win32) PHP/5.5.12 |
Potential Missing Modules :: mod_rewrite | mod_expires | mod_security | mod_evasive | mod_dosevasive | mod_ssl | mod_qos | mod_userdir |
Folder Permissions :: wrote:Core Folders :: images/ (777) | components/ (777) | modules/ (777) | plugins/ (777) | language/ (777) | templates/ (777) | cache/ (777) | logs/ (777) | tmp/ (777) | administrator/components/ (777) | administrator/modules/ (777) | administrator/language/ (777) | administrator/templates/ (777) |

Elevated Permissions (First 10) :: administrator/ (777) | administrator/cache/ (777) | administrator/components/ (777) | administrator/components/com_admin/ (777) | administrator/components/com_admin/controllers/ (777) | administrator/components/com_admin/helpers/ (777) | administrator/components/com_admin/helpers/html/ (777) | administrator/components/com_admin/models/ (777) | administrator/components/com_admin/models/forms/ (777) | administrator/components/com_admin/postinstall/ (777) |
Extensions Discovered :: wrote:Components :: SITE :: com_mailto (3.0.0) | com_wrapper (3.0.0) |
Components :: ADMIN :: com_admin (3.0.0) | com_ajax (3.2.0) | com_banners (3.0.0) | com_cache (3.0.0) | com_categories (3.0.0) | com_checkin (3.0.0) | com_config (3.0.0) | com_content (3.0.0) | com_contenthistory (3.2.0) | com_cpanel (3.0.0) | com_finder (3.0.0) | com_installer (3.0.0) | com_joomlaupdate (3.0.0) | com_languages (3.0.0) | com_login (3.0.0) | com_media (3.0.0) | com_menus (3.0.0) | com_messages (3.0.0) | com_modules (3.0.0) | com_newsfeeds (3.0.0) | com_plugins (3.0.0) | com_postinstall (3.2.0) | com_redirect (3.0.0) | com_search (3.0.0) | com_tags (3.1.0) | com_templates (3.0.0) | com_users (3.0.0) | com_weblinks (3.0.0) |

Modules :: SITE :: mod_articles_archive (3.0.0) | mod_articles_categories (3.0.0) | mod_articles_category (3.0.0) | mod_articles_latest (3.0.0) | mod_articles_news (3.0.0) | mod_articles_popular (3.0.0) | mod_banners (3.0.0) | mod_breadcrumbs (3.0.0) | mod_custom (3.0.0) | mod_feed (3.0.0) | mod_finder (3.0.0) | mod_footer (3.0.0) | mod_languages (3.0.0) | mod_login (3.0.0) | mod_menu (3.0.0) | mod_random_image (3.0.0) | mod_related_items (3.0.0) | mod_search (3.0.0) | mod_stats (3.0.0) | mod_syndicate (3.0.0) | mod_tags_popular (3.1.0) | mod_tags_similar (3.1.0) | mod_users_latest (3.0.0) | mod_weblinks (3.0.0) | mod_whosonline (3.0.0) | mod_wrapper (3.0.0) |
Modules :: ADMIN :: mod_custom (3.0.0) | mod_feed (3.0.0) | mod_latest (3.0.0) | mod_logged (3.0.0) | mod_login (3.0.0) | mod_menu (3.0.0) | mod_multilangstatus (3.0.0) | mod_popular (3.0.0) | mod_quickicon (3.0.0) | mod_stats_admin (3.0.0) | mod_status (3.0.0) | mod_submenu (3.0.0) | mod_title (3.0.0) | mod_toolbar (3.0.0) | mod_version (3.0.0) |

Plugins :: SITE :: plg_authentication_cookie (3.0.0) | plg_authentication_gmail (3.0.0) | plg_authentication_joomla (3.0.0) | plg_authentication_ldap (3.0.0) | plg_captcha_recaptcha (3.0.0) | plg_content_emailcloak (3.0.0) | plg_content_finder (3.0.0) | plg_content_joomla (3.0.0) | plg_content_loadmodule (3.0.0) | plg_content_pagebreak (3.0.0) | plg_content_pagenavigation (3.0.0) | plg_content_vote (3.0.0) | plg_editors_codemirror (3.15) | plg_editors_tinymce (4.1.2) | plg_editors-xtd_article (3.0.0) | plg_editors-xtd_image (3.0.0) | plg_editors-xtd_pagebreak (3.0.0) | plg_editors-xtd_readmore (3.0.0) | plg_extension_joomla (3.0.0) | plg_finder_categories (3.0.0) | plg_finder_contacts (3.0.0) | plg_finder_content (3.0.0) | plg_finder_newsfeeds (3.0.0) | plg_finder_tags (3.0.0) | plg_finder_weblinks (3.0.0) | plg_quickicon_extensionupdate (3.0.0) | plg_quickicon_joomlaupdate (3.0.0) | plg_search_categories (3.0.0) | plg_search_contacts (3.0.0) | plg_search_content (3.0.0) | plg_search_newsfeeds (3.0.0) | plg_search_tags (3.0.0) | plg_search_weblinks (3.0.0) | plg_system_cache (3.0.0) | plg_system_debug (3.0.0) | plg_system_highlight (3.0.0) | plg_system_languagecode (3.0.0) | plg_system_languagefilter (3.0.0) | plg_system_log (3.0.0) | plg_system_logout (3.0.0) | plg_system_p3p (3.0.0) | plg_system_redirect (3.0.0) | plg_system_remember (3.0.0) | plg_system_sef (3.0.0) | plg_twofactorauth_totp (3.2.0) | plg_twofactorauth_yubikey (3.2.0) | plg_user_contactcreator (3.0.0) | plg_user_joomla (3.0.0) | plg_user_profile (3.0.0) |
Templates Discovered :: wrote:Templates :: SITE :: beez3 (3.1.0) | protostar (1.0) |
Templates :: ADMIN :: hathor (3.0.0) | isis (1.0) |
You do not have the required permissions to view the files attached to this post.

sovainfo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8808
Joined: Sat Oct 01, 2011 7:06 pm

Re: Installation Stuck on "Creating database tables"

Post by sovainfo » Mon Oct 27, 2014 9:43 am

Suggest to increase max_post_size.
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!

jan127
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Oct 27, 2014 3:00 pm
Location: Mlawa
Contact:

Re: Installation Stuck on "Creating database tables"

Post by jan127 » Mon Oct 27, 2014 3:07 pm

try to increase memory_limit

http://www.radius.vxm.pl


Locked

Return to “Installation Joomla! 3.x”