Skip to content

Instantly share code, notes, and snippets.

@jason-fonseca
Created April 18, 2012 03:29
Show Gist options
  • Save jason-fonseca/2410917 to your computer and use it in GitHub Desktop.
Save jason-fonseca/2410917 to your computer and use it in GitHub Desktop.
Code: 2
Message: Division by zero
File: /home/elements/core/system/sanscode.php
Line: 588
URI:setup
Start Backtrace:
Array
(
[0] => Array
(
[file] => /home/elements/core/system/sanscode.php
[line] => 588
[function] => error_handler
[class] => sanscode
[type] => ::
[args] => Array
(
[0] => 2
[1] => Division by zero
[2] => /home/elements/core/system/sanscode.php
[3] => 588
[4] => Array
(
[tables] => Array
(
[0] => Array
(
[Name] => sc_content
[Engine] => InnoDB
[Version] => 10
[Row_format] => Compact
[Rows] => 5
[Avg_row_length] => 3276
[Data_length] => 16384
[Max_data_length] => 0
[Index_length] => 65536
[Data_free] => 7340032
[Auto_increment] => 31
[Create_time] => 2012-04-18 13:15:49
[Update_time] =>
[Check_time] =>
[Collation] => utf8_general_ci
[Checksum] =>
[Create_options] =>
[Comment] =>
)
[1] => Array
(
[Name] => sc_content_components
[Engine] => InnoDB
[Version] => 10
[Row_format] => Compact
[Rows] => 6
[Avg_row_length] => 2730
[Data_length] => 16384
[Max_data_length] => 0
[Index_length] => 0
[Data_free] => 7340032
[Auto_increment] => 19
[Create_time] => 2012-04-18 13:15:49
[Update_time] =>
[Check_time] =>
[Collation] => utf8_general_ci
[Checksum] =>
[Create_options] =>
[Comment] =>
)
[2] => Array
(
[Name] => sc_content_extras
[Engine] => MyISAM
[Version] => 10
[Row_format] => Fixed
[Rows] => 7
[Avg_row_length] => 9
[Data_length] => 63
[Max_data_length] => 2533274790395903
[Index_length] => 2048
[Data_free] => 0
[Auto_increment] =>
[Create_time] => 2012-04-18 13:15:49
[Update_time] => 2012-04-18 13:15:49
[Check_time] =>
[Collation] => utf8_general_ci
[Checksum] =>
[Create_options] =>
[Comment] =>
)
[3] => Array
(
[Name] => sc_content_sidebar
[Engine] => InnoDB
[Version] => 10
[Row_format] => Compact
[Rows] => 5
[Avg_row_length] => 3276
[Data_length] => 16384
[Max_data_length] => 0
[Index_length] => 16384
[Data_free] => 7340032
[Auto_increment] => 10
[Create_time] => 2012-04-18 13:15:49
[Update_time] =>
[Check_time] =>
[Collation] => utf8_general_ci
[Checksum] =>
[Create_options] =>
[Comment] =>
)
[4] => Array
(
[Name] => sc_media
[Engine] => MyISAM
[Version] => 10
[Row_format] => Dynamic
[Rows] => 5
[Avg_row_length] => 58
[Data_length] => 292
[Max_data_length] => 281474976710655
[Index_length] => 2048
[Data_free] => 0
[Auto_increment] => 26
[Create_time] => 2012-04-18 13:15:49
[Update_time] => 2012-04-18 13:15:49
[Check_time] =>
[Collation] => utf8_general_ci
[Checksum] =>
[Create_options] =>
[Comment] =>
)
[5] => Array
(
[Name] => sc_media_category
[Engine] => InnoDB
[Version] => 10
[Row_format] => Compact
[Rows] => 3
[Avg_row_length] => 5461
[Data_length] => 16384
[Max_data_length] => 0
[Index_length] => 0
[Data_free] => 7340032
[Auto_increment] => 6
[Create_time] => 2012-04-18 13:15:49
[Update_time] =>
[Check_time] =>
[Collation] => utf8_general_ci
[Checksum] =>
[Create_options] =>
[Comment] =>
)
[6] => Array
(
[Name] => sc_media_category_links
[Engine] => InnoDB
[Version] => 10
[Row_format] => Compact
[Rows] => 8
[Avg_row_length] => 2048
[Data_length] => 16384
[Max_data_length] => 0
[Index_length] => 16384
[Data_free] => 7340032
[Auto_increment] => 9
[Create_time] => 2012-04-18 13:15:49
[Update_time] =>
[Check_time] =>
[Collation] => utf8_general_ci
[Checksum] =>
[Create_options] =>
[Comment] =>
)
[7] => Array
(
[Name] => sc_module_blog
[Engine] => MyISAM
[Version] => 10
[Row_format] => Dynamic
[Rows] => 3
[Avg_row_length] => 1173
[Data_length] => 3520
[Max_data_length] => 281474976710655
[Index_length] => 10240
[Data_free] => 0
[Auto_increment] => 7
[Create_time] => 2012-04-18 13:15:49
[Update_time] => 2012-04-18 13:15:49
[Check_time] => 2012-04-18 13:15:49
[Collation] => utf8_general_ci
[Checksum] =>
[Create_options] =>
[Comment] =>
)
[8] => Array
(
[Name] => sc_module_blog_category
[Engine] => InnoDB
[Version] => 10
[Row_format] => Compact
[Rows] => 3
[Avg_row_length] => 5461
[Data_length] => 16384
[Max_data_length] => 0
[Index_length] => 0
[Data_free] => 7340032
[Auto_increment] => 11
[Create_time] => 2012-04-18 13:15:49
[Update_time] =>
[Check_time] =>
[Collation] => utf8_general_ci
[Checksum] =>
[Create_options] => row_format=COMPACT
[Comment] =>
)
[9] => Array
(
[Name] => sc_module_blog_category_links
[Engine] => InnoDB
[Version] => 10
[Row_format] => Compact
[Rows] => 5
[Avg_row_length] => 3276
[Data_length] => 16384
[Max_data_length] => 0
[Index_length] => 16384
[Data_free] => 7340032
[Auto_increment] => 36
[Create_time] => 2012-04-18 13:15:49
[Update_time] =>
[Check_time] =>
[Collation] => utf8_general_ci
[Checksum] =>
[Create_options] => row_format=COMPACT
[Comment] =>
)
[10] => Array
(
[Name] => sc_module_blog_settings
[Engine] => MyISAM
[Version] => 10
[Row_format] => Fixed
[Rows] => 0
[Avg_row_length] => 0
[Data_length] => 0
[Max_data_length] => 2533274790395903
[Index_length] => 1024
[Data_free] => 0
[Auto_increment] => 1
[Create_time] => 2012-04-18 13:15:49
[Update_time] => 2012-04-18 13:15:49
[Check_time] =>
[Collation] => utf8_general_ci
[Checksum] =>
[Create_options] =>
[Comment] =>
)
[11] => Array
(
[Name] => sc_module_campaigns
[Engine] => MyISAM
[Version] => 10
[Row_format] => Dynamic
[Rows] => 0
[Avg_row_length] => 0
[Data_length] => 0
[Max_data_length] => 281474976710655
[Index_length] => 1024
[Data_free] => 0
[Auto_increment] => 1
[Create_time] => 2012-04-18 13:15:49
[Update_time] => 2012-04-18 13:15:49
[Check_time] =>
[Collation] => utf8_unicode_ci
[Checksum] =>
[Create_options] =>
[Comment] =>
)
[12] => Array
(
[Name] => sc_module_campaigns_fields
[Engine] => MyISAM
[Version] => 10
[Row_format] => Dynamic
[Rows] => 1
[Avg_row_length] => 56
[Data_length] => 56
[Max_data_length] => 281474976710655
[Index_length] => 2048
[Data_free] => 0
[Auto_increment] => 5
[Create_time] => 2012-04-18 13:15:49
[Update_time] => 2012-04-18 13:15:49
[Check_time] =>
[Collation] => utf8_unicode_ci
[Checksum] =>
[Create_options] =>
[Comment] =>
)
[13] => Array
(
[Name] => sc_module_campaigns_settings
[Engine] => MyISAM
[Version] => 10
[Row_format] => Dynamic
[Rows] => 1
[Avg_row_length] => 324
[Data_length] => 324
[Max_data_length] => 281474976710655
[Index_length] => 2048
[Data_free] => 0
[Auto_increment] => 2
[Create_time] => 2012-04-18 13:15:49
[Update_time] => 2012-04-18 13:15:49
[Check_time] =>
[Collation] => utf8_unicode_ci
[Checksum] =>
[Create_options] =>
[Comment] =>
)
[14] => Array
(
[Name] => sc_module_campaigns_tracking_bounce
[Engine] => MyISAM
[Version] => 10
[Row_format] => Dynamic
[Rows] => 0
[Avg_row_length] => 0
[Data_length] => 0
[Max_data_length] => 281474976710655
[Index_length] => 1024
[Data_free] => 0
[Auto_increment] => 3089
[Create_time] => 2012-04-18 13:15:49
[Update_time] => 2012-04-18 13:15:49
[Check_time] =>
[Collation] => utf8_unicode_ci
[Checksum] =>
[Create_options] =>
[Comment] =>
)
[15] => Array
(
[Name] => sc_module_campaigns_tracking_clicks
[Engine] => MyISAM
[Version] => 10
[Row_format] => Dynamic
[Rows] => 0
[Avg_row_length] => 0
[Data_length] => 0
[Max_data_length] => 281474976710655
[Index_length] => 1024
[Data_free] => 0
[Auto_increment] => 1254
[Create_time] => 2012-04-18 13:15:49
[Update_time] => 2012-04-18 13:15:49
[Check_time] =>
[Collation] => utf8_unicode_ci
[Checksum] =>
[Create_options] =>
[Comment] =>
)
[16] => Array
(
[Name] => sc_module_campaigns_tracking_opened
[Engine] => MyISAM
[Version] => 10
[Row_format] => Dynamic
[Rows] => 0
[Avg_row_length] => 0
[Data_length] => 0
[Max_data_length] => 281474976710655
[Index_length] => 1024
[Data_free] => 0
[Auto_increment] => 9
[Create_time] => 2012-04-18 13:15:49
[Update_time] => 2012-04-18 13:15:49
[Check_time] =>
[Collation] => utf8_unicode_ci
[Checksum] =>
[Create_options] =>
[Comment] =>
)
[17] => Array
(
[Name] => sc_module_campaigns_tracking_unsubscribes
[Engine] => MyISAM
[Version] => 10
[Row_format] => Dynamic
[Rows] => 0
[Avg_row_length] => 0
[Data_length] => 0
[Max_data_length] => 281474976710655
[Index_length] => 1024
[Data_free] => 0
[Auto_increment] => 4
[Create_time] => 2012-04-18 13:15:49
[Update_time] => 2012-04-18 13:15:49
[Check_time] =>
[Collation] => utf8_unicode_ci
[Checksum] =>
[Create_options] =>
[Comment] =>
)
[18] => Array
(
[Name] => sc_module_extras_slideshows
[Engine] => MyISAM
[Version] => 10
[Row_format] => Dynamic
[Rows] => 1
[Avg_row_length] => 32
[Data_length] => 32
[Max_data_length] => 281474976710655
[Index_length] => 2048
[Data_free] => 0
[Auto_increment] => 2
[Create_time] => 2012-04-18 13:15:49
[Update_time] => 2012-04-18 13:15:49
[Check_time] =>
[Collation] => utf8_unicode_ci
[Checksum] =>
[Create_options] =>
[Comment] =>
)
[19] => Array
(
[Name] => sc_module_extras_slideshows_images
[Engine] => MyISAM
[Version] => 10
[Row_format] => Dynamic
[Rows] => 3
[Avg_row_length] => 288
[Data_length] => 864
[Max_data_length] => 281474976710655
[Index_length] => 2048
[Data_free] => 0
[Auto_increment] => 4
[Create_time] => 2012-04-18 13:15:49
[Update_time] => 2012-04-18 13:15:49
[Check_time] =>
[Collation] => utf8_unicode_ci
[Checksum] =>
[Create_options] =>
[Comment] =>
)
[20] => Array
(
[Name] => sc_module_subscribers
[Engine] => InnoDB
[Version] => 10
[Row_format] => Compact
[Rows] => 0
[Avg_row_length] => 0
[Data_length] => 16384
[Max_data_length] => 0
[Index_length] => 16384
[Data_free] => 7340032
[Auto_increment] => 1
[Create_time] => 2012-04-18 13:15:49
[Update_time] =>
[Check_time] =>
[Collation] => utf8_unicode_ci
[Checksum] =>
[Create_options] =>
[Comment] =>
)
[21] => Array
(
[Name] => sc_module_subscribers_form
[Engine] => MyISAM
[Version] => 10
[Row_format] => Dynamic
[Rows] => 19
[Avg_row_length] => 47
[Data_length] => 908
[Max_data_length] => 281474976710655
[Index_length] => 9216
[Data_free] => 0
[Auto_increment] => 55
[Create_time] => 2012-04-18 13:15:49
[Update_time] => 2012-04-18 13:15:49
[Check_time] =>
[Collation] => utf8_unicode_ci
[Checksum] =>
[Create_options] =>
[Comment] =>
)
[22] => Array
(
[Name] => sc_module_subscribers_settings
[Engine] => MyISAM
[Version] => 10
[Row_format] => Dynamic
[Rows] => 1
[Avg_row_length] => 664
[Data_length] => 664
[Max_data_length] => 281474976710655
[Index_length] => 2048
[Data_free] => 0
[Auto_increment] => 2
[Create_time] => 2012-04-18 13:15:49
[Update_time] => 2012-04-18 13:15:49
[Check_time] =>
[Collation] => utf8_unicode_ci
[Checksum] =>
[Create_options] =>
[Comment] =>
)
[23] => Array
(
[Name] => sc_settings_globals
[Engine] => MyISAM
[Version] => 10
[Row_format] => Dynamic
[Rows] => 1
[Avg_row_length] => 48
[Data_length] => 48
[Max_data_length] => 281474976710655
[Index_length] => 2048
[Data_free] => 0
[Auto_increment] => 2
[Create_time] => 2012-04-18 13:15:49
[Update_time] => 2012-04-18 13:15:49
[Check_time] =>
[Collation] => utf8_unicode_ci
[Checksum] =>
[Create_options] =>
[Comment] =>
)
[24] => Array
(
[Name] => sc_settings_shortcuts
[Engine] => MyISAM
[Version] => 10
[Row_format] => Dynamic
[Rows] => 0
[Avg_row_length] => 0
[Data_length] => 0
[Max_data_length] => 281474976710655
[Index_length] => 4096
[Data_free] => 0
[Auto_increment] => 46
[Create_time] => 2012-04-18 13:15:49
[Update_time] => 2012-04-18 13:15:49
[Check_time] =>
[Collation] => utf8_general_ci
[Checksum] =>
[Create_options] =>
[Comment] =>
)
[25] => Array
(
[Name] => sc_tags
[Engine] => InnoDB
[Version] => 10
[Row_format] => Compact
[Rows] => 2
[Avg_row_length] => 8192
[Data_length] => 16384
[Max_data_length] => 0
[Index_length] => 16384
[Data_free] => 7340032
[Auto_increment] => 90
[Create_time] => 2012-04-18 13:15:49
[Update_time] =>
[Check_time] =>
[Collation] => utf8_unicode_ci
[Checksum] =>
[Create_options] =>
[Comment] =>
)
[26] => Array
(
[Name] => sc_tags_targets
[Engine] => InnoDB
[Version] => 10
[Row_format] => Compact
[Rows] => 68
[Avg_row_length] => 240
[Data_length] => 16384
[Max_data_length] => 0
[Index_length] => 16384
[Data_free] => 7340032
[Auto_increment] => 88
[Create_time] => 2012-04-18 13:15:49
[Update_time] =>
[Check_time] =>
[Collation] => utf8_unicode_ci
[Checksum] =>
[Create_options] =>
[Comment] =>
)
[27] => Array
(
[Name] => sc_templates_options
[Engine] => InnoDB
[Version] => 10
[Row_format] => Compact
[Rows] => 9
[Avg_row_length] => 1820
[Data_length] => 16384
[Max_data_length] => 0
[Index_length] => 16384
[Data_free] => 7340032
[Auto_increment] => 16
[Create_time] => 2012-04-18 13:15:49
[Update_time] =>
[Check_time] =>
[Collation] => utf8_general_ci
[Checksum] =>
[Create_options] =>
[Comment] =>
)
[28] => Array
(
[Name] => sc_templates_values
[Engine] => InnoDB
[Version] => 10
[Row_format] => Compact
[Rows] => 11
[Avg_row_length] => 1489
[Data_length] => 16384
[Max_data_length] => 0
[Index_length] => 16384
[Data_free] => 7340032
[Auto_increment] => 172
[Create_time] => 2012-04-18 13:15:49
[Update_time] =>
[Check_time] =>
[Collation] => utf8_general_ci
[Checksum] =>
[Create_options] =>
[Comment] =>
)
)
[space_used] => 0
[row] => Array
(
[Name] => sc_templates_values
[Engine] => InnoDB
[Version] => 10
[Row_format] => Compact
[Rows] => 11
[Avg_row_length] => 1489
[Data_length] => 16384
[Max_data_length] => 0
[Index_length] => 16384
[Data_free] => 7340032
[Auto_increment] => 172
[Create_time] => 2012-04-18 13:15:49
[Update_time] =>
[Check_time] =>
[Collation] => utf8_general_ci
[Checksum] =>
[Create_options] =>
[Comment] =>
)
[plan_space] => 0
[space_left] => 0
)
)
)
[1] => Array
(
[file] => /home/elements/core/system/db.php
[line] => 332
[function] => db_space
[class] => sanscode
[type] => ::
[args] => Array
(
)
)
[2] => Array
(
[file] => /home/elements/core/modules/setup/controllers/setup.php
[line] => 43
[function] => insert
[class] => db
[type] => ::
[args] => Array
(
[0] => elements.e_sites
[1] => Array
(
[site_name] => jason
[site_label] => jasonikeschicken
)
)
)
[3] => Array
(
[file] => /home/elements/core/system/router.php
[line] => 222
[function] => index
[class] => setup
[object] => setup Object
(
)
[type] => ->
[args] => Array
(
)
)
[4] => Array
(
[file] => /home/elements/core/system/sanscode.php
[line] => 62
[function] => init
[class] => router
[type] => ::
[args] => Array
(
)
)
[5] => Array
(
[file] => /home/elements/core/system/bootstrap.php
[line] => 17
[function] => init
[class] => sanscode
[type] => ::
[args] => Array
(
)
)
[6] => Array
(
[file] => /var/www/index.php
[line] => 22
[args] => Array
(
[0] => /home/elements/core/system/bootstrap.php
)
[function] => require_once
)
)
:End Backtrace
Start Server Info:
Array
(
[USER] => www-data
[HOME] => /var/www
[FCGI_ROLE] => RESPONDER
[QUERY_STRING] => r=setup
[REQUEST_METHOD] => POST
[CONTENT_TYPE] => application/x-www-form-urlencoded
[CONTENT_LENGTH] => 116
[SCRIPT_FILENAME] => /var/www/index.php
[SCRIPT_NAME] => /index.php
[REQUEST_URI] => /setup
[DOCUMENT_URI] => /index.php
[DOCUMENT_ROOT] => /var/www
[SERVER_PROTOCOL] => HTTP/1.1
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_SOFTWARE] => nginx/1.0.5
[REMOTE_ADDR] => 121.223.209.147
[REMOTE_PORT] => 64148
[SERVER_ADDR] => 49.156.17.120
[SERVER_PORT] => 80
[SERVER_NAME] => _
[REDIRECT_STATUS] => 200
[HTTP_HOST] => pathtosite.com
[HTTP_CONNECTION] => keep-alive
[HTTP_CONTENT_LENGTH] => 116
[HTTP_CACHE_CONTROL] => max-age=0
[HTTP_ORIGIN] => http://pathtosite.com
[HTTP_USER_AGENT] => Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.6 (KHTML, like Gecko) Chrome/20.0.1096.1 Safari/536.6
[HTTP_CONTENT_TYPE] => application/x-www-form-urlencoded
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[HTTP_REFERER] => http://pathtosite.com/setup
[HTTP_ACCEPT_ENCODING] => gzip,deflate,sdch
[HTTP_ACCEPT_LANGUAGE] => en-GB,en-US;q=0.8,en;q=0.6
[HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.3
[HTTP_COOKIE] => sanscodesession=6qm0odesespvd6dt7dcu6ivu13
[PHP_SELF] => /index.php
[REQUEST_TIME] => 1334718948
)
:End Server Info
Start Session Info:
Array
(
[session_id] => 6qm0odesespvd6dt7dcu6ivu13
)
:End Session Info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment