4.3.4 Installation Hangs

Trying to install on new server and hangs at

Setup Scheme

Processing

does not move past

Any ideas?

Trying to install on new server and hangs at

Setup Scheme

Processing

does not move past

Any ideas?


Open the install/run.php file of your installation and add the following part of code:

error_reporting(E_ALL);
ini_set('display_errors', 'On');

before this line:

App::instance()->run($_REQUEST);

After that open the install/design/templates/setup file and find the following line:


which is located before this one:


Replace it with the following one:

 

After that run the installation again and you will see the actual error, which occurs during installation. Post it here so we (or anybody else) could check it.

Also you can check your server error log to see the error.

Processing Fatal error: Uncaught exception 'Tygh\Exceptions\DatabaseException' with message 'DROP command denied to user 'ccp_dev'@'10.208.232.53' for table 'cscart_addon_descriptions' (1142)

DROP TABLE IF EXISTS `cscart_addon_descriptions`;

' in /home/steve/ccpdev/public_html/app/Tygh/Database.php:714 Stack trace: #0 /home/steve/ccpdev/public_html/app/Tygh/Database.php(359): Tygh\Database::error(false, 'DROP TABLE IF E...') #1 [internal function]: Tygh\Database::query('DROP TABLE IF E...') #2 /home/steve/ccpdev/public_html/app/functions/fn.database.php(130): call_user_func_array(Array, Array) #3 /home/steve/ccpdev/public_html/install/app/Installer/Setup.php(528): db_query('DROP TABLE IF E...') #4 /home/steve/ccpdev/public_html/install/app/Installer/Setup.php(94): Installer\Setup->_parseSql('/home/steve/ccp...', 'creating_scheme') #5 /home/steve/ccpdev/public_html/install/app/Installer/SetupController.php(195): Installer\Setup->setupScheme() #6 [internal function]: Installer\SetupController->actionNextStep(Array, Array, in /home/steve/ccpdev/public_html/app/Tygh/Database.php on line 714

Processing Fatal error: Uncaught exception 'Tygh\Exceptions\DatabaseException' with message 'DROP command denied to user 'ccp_dev'@'10.208.232.53' for table 'cscart_addon_descriptions' (1142)

DROP TABLE IF EXISTS `cscart_addon_descriptions`;

' in /home/steve/ccpdev/public_html/app/Tygh/Database.php:714 Stack trace: #0 /home/steve/ccpdev/public_html/app/Tygh/Database.php(359): Tygh\Database::error(false, 'DROP TABLE IF E...') #1 [internal function]: Tygh\Database::query('DROP TABLE IF E...') #2 /home/steve/ccpdev/public_html/app/functions/fn.database.php(130): call_user_func_array(Array, Array) #3 /home/steve/ccpdev/public_html/install/app/Installer/Setup.php(528): db_query('DROP TABLE IF E...') #4 /home/steve/ccpdev/public_html/install/app/Installer/Setup.php(94): Installer\Setup->_parseSql('/home/steve/ccp...', 'creating_scheme') #5 /home/steve/ccpdev/public_html/install/app/Installer/SetupController.php(195): Installer\Setup->setupScheme() #6 [internal function]: Installer\SetupController->actionNextStep(Array, Array, in /home/steve/ccpdev/public_html/app/Tygh/Database.php on line 714

This error means that your ccp_dev user which you created in MySQL doesn't have the required permissions to your database.
Please grant all permissions to that MySQL user using your hosting control panel. Or you can contact server administrator with this request.

Thanks, it worked

Thanks, it worked

You are welcome!

Hi,

got the same error with version 4.6.1

Mine was hanging with message Installing demo catalog so i've got the output below

ProcessingCreating addon_descriptions table

Creating addons table
Creating bm_block_statuses table
Creating bm_blocks table
Creating bm_blocks_content table
Creating bm_blocks_descriptions table
Creating bm_containers table
Creating bm_grids table
Creating bm_layouts table
Creating bm_locations table
Creating bm_locations_descriptions table
Creating bm_snapping table
Creating cache_handlers table
Creating categories table
Creating category_descriptions table
Creating category_vendor_product_count table
Creating common_descriptions table
Creating companies table
Creating company_descriptions table
Creating countries table
Creating country_descriptions table
Creating currencies table
Creating currency_descriptions table
Creating destination_descriptions table
Creating destination_elements table
Creating destinations table
Creating ekeys table
Creating exim_layouts table
Creating images table
Creating images_links table
Creating installed_upgrades table
Creating language_values table
Creating languages table
Creating localization_descriptions table
Creating localization_elements table
Creating localizations table
Creating logos table
Creating logs table
Creating menus table
Creating menus_descriptions table
Creating new_orders table
Creating order_data table
Creating order_details table
Creating order_docs table
Creating order_transactions table
Creating orders table
Creating original_values table
Creating page_descriptions table
Creating pages table
Creating payment_descriptions table
Creating payment_processors table
Creating payments table
Creating privileges table
Creating product_descriptions table
Creating product_feature_variant_descriptions table
Creating product_feature_variants table
Creating product_features table
Creating product_features_descriptions table
Creating product_features_values table
Creating product_file_descriptions table
Creating product_file_ekeys table
Creating product_file_folder_descriptions table
Creating product_file_folders table
Creating product_files table
Creating product_filter_descriptions table
Creating product_filters table
Creating product_global_option_links table
Creating product_option_variants table
Creating product_option_variants_descriptions table
Creating product_options table
Creating product_options_descriptions table
Creating product_options_exceptions table
Creating product_options_inventory table
Creating product_popularity table
Creating product_prices table
Creating product_subscriptions table
Creating product_tabs table
Creating product_tabs_descriptions table
Creating products table
Creating products_categories table
Creating profile_field_descriptions table
Creating profile_field_values table
Creating profile_fields table
Creating profile_fields_data table
Creating promotion_descriptions table
Creating promotions table
Creating quick_menu table
Creating robots_data table
Creating sales_reports table
Creating sales_reports_descriptions table
Creating sales_reports_elements table
Creating sales_reports_intervals table
Creating sales_reports_table_conditions table
Creating sales_reports_table_descriptions table
Creating sales_reports_table_element_conditions table
Creating sales_reports_table_elements table
Creating sales_reports_tables table
Creating sessions table
Creating settings_descriptions table
Creating settings_objects table
Creating settings_sections table
Creating settings_variants table
Creating settings_vendor_values table
Creating shipment_items table
Creating shipments table
Creating shipping_descriptions table
Creating shipping_rates table
Creating shipping_service_descriptions table
Creating shipping_services table
Creating shippings table
Creating sitemap_links table
Creating sitemap_sections table
Creating state_descriptions table
Creating states table
Creating static_data table
Creating static_data_descriptions table
Creating status_data table
Creating status_descriptions table
Creating statuses table
Creating storage_data table
Creating stored_sessions table
Creating tax_descriptions table
Creating tax_rates table
Creating taxes table
Creating template_documents table
Creating template_emails table
Creating template_snippet_descriptions table
Creating template_snippets table
Creating template_table_column_descriptions table
Creating template_table_columns table
Creating user_data table
Creating user_profiles table
Creating user_session_products table
Creating usergroup_descriptions table
Creating usergroup_links table
Creating usergroup_privileges table
Creating usergroups table
Creating users table
Creating vendor_payouts table
Creating vendor_styles table
Creating views table
ProcessingInstalling demo catalogInstalling demo catalog

after some digging, realised it was failing to copy the images, so i copied the demo data manually and got past the last error, then the screen came up as below

SERVICE
UNAVAILABLE
Sorry, service is temporarily unavailable.
so i undid the php file modifications, CHMOD installation directory to 755 recursive, dropped the tables in my database and it passed the demo catalog part, got to install languages (i had english ticked) then it came back with the error Installing additional language en

after some digging, realised it was failing to copy the images, so i copied the demo data manually and got past the last error, then the screen came up as below

SERVICE
UNAVAILABLE
Sorry, service is temporarily unavailable.
so i undid the php file modifications, CHMOD installation directory to 755 recursive, dropped the tables in my database and it passed the demo catalog part, got to install languages (i had english ticked) then it came back with the error Installing additional language en

You can check the detailed error message in the source code of the Service Unavailable page.

It is hard to determine the cause of the problem without examination. Please contact us via Customer Help Desk and provide temporary access to your server by clicking on the Add record link on the Access information page of your Help Desk account so that we could examine the issue.