View Issue Details

IDProjectCategoryView StatusLast Update
5670Composrsetupwizardpublic2024-04-07 21:14
ReporterMaster Rat Assigned ToPDStig  
PrioritynormalSeveritytrivial 
Status resolvedResolutionfixed 
Product Version11.alpha1 
Summary5670: Setup Wizard stack trace on step 6 when using preview
DescriptionI got to 6 of 10 changed what I didn't want shown and hit save and the page went to error on save.
Steps To Reproducetake a few options out and add a couple in then hit save.
Additional InformationAn error has occurred
PHP WARNING [2] Undefined array key "start" in sources/hooks/systems/preview/setupwizard_blocks.php on line 63 (version: 11 alpha1, PHP version: 8.3.4, URL: https://rats-world.com/data/preview.php?page=admin_setupwizard&type=step6)

Here is the stack trace:
Below is a stack trace revealing the state Composr was in when the error occurred. If this represents a bug in the unmodified software, you may want to check Composr website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information.
We apologise for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.

File '/homepages/22/******/htdocs/rats-world.com/sources/failure.php'
Line 544
Function 'get_html_trace'
Args
File '/homepages/22/d960776748/htdocs/rats-world.com/sources/failure.php'
Line 316
Function '_generic_exit'
Args
'PHP WARNING [2] Undefined array key "start" in sources/hooks/systems/preview/setupwizard_blocks.php on line 63 (version: 11 alpha1, PHP version: 8.3.4, URL: https://rats-world.com/data/preview.php?page=admin_setupwizard&type=step6)'

'FATAL_SCREEN'

false

false

500

File '/homepages/22/*****/htdocs/rats-world.com/sources/global2.php'
Line 1,458
Function '_composr_error_handler'
Args
'warning'

2

'Undefined array key \"start\"'

'sources/hooks/systems/preview/setupwizard_blocks.php'

63

4

'FATAL'

File '/homepages/22/******/htdocs/rats-world.com/sources/hooks/systems/preview/setupwizard_blocks.php'
Line 63
Function 'composr_error_handler'
Args
2

'Undefined array key \"start\"'

'sources/hooks/systems/preview/setupwizard_blocks.php'

63

File '/homepages/22/*****/htdocs/rats-world.com/sources/preview.php'
Line 56
Function 'run'
Class 'Hook_preview_setupwizard_blocks'
Object {}
Type '->'
Args
File '/homepages/22/******/htdocs/rats-world.com/sources/misc_scripts.php'
Line 260
Function 'build_preview'
Args
true

File '/homepages/22/*****/htdocs/rats-world.com/data/preview.php'
Line 56
Function 'preview_script'
Args
Parameters
y510cec099ed0f39ffaddda6b4a56d795
csrf_token
fc07ff2458284
skip_6
0
skip_5
0
skip_4
0
skip_3
0
csrf_token_preserve
1
http_referer
https://rats-world.com/adminzone/index.php?page=admin-setupwizard
js_token
f9709cf5cba51
source_theme
default
installprofile
community
site_name
Rats World
description
Rats World home to music, poetry and humor.
site_scope
Rats World home to Music, poetry and humor.
keywords
Brat Rat, Rat, Dostani, humor, poetry, music, forums, discussions, chat, community
timezone
America/New_York
google_analytics
security_level
medium
addon_news_shared
1
addon_setupwizard
1
addon_content_reviews
1
addon_debrand
1
addon_match_key_permissions
1
addon_chat
1
addon_cns_forum
1
addon_cns_member_avatars
1
addon_cns_member_photos
1
addon_cns_warnings
1
addon_content_privacy
1
addon_recommend
1
addon_welcome_emails
1
addon_leader_board
1
addon_points
1
addon_cns_avatars
1
addon_cns_cartoon_avatars
1
addon_cns_thematic_avatars
1
addon_calendar
1
addon_cns_post_templates
1
addon_forum_blocks
1
addon_news
1
addon_polls
1
addon_random_quotes
1
addon_downloads
1
addon_quizzes
1
addon_actionlog
1
addon_apache_config_files
1
addon_awards
1
addon_breadcrumbs
1
addon_captcha
1
addon_catalogues
1
addon_cns_cpfs
1
addon_code_editor
1
addon_commandr
1
addon_counting_blocks
1
addon_custom_comcode
1
addon_errorlog
1
addon_facebook_support
1
addon_filebased_persistent_caching
1
addon_filedump
1
addon_getid3
1
addon_health_check
1
addon_help_page
1
addon_helper_scripts
1
addon_import
1
addon_language_block
1
addon_page_management
1
addon_phpinfo
1
addon_printer_friendly_block
1
addon_redirects_editor
1
addon_robots_txt
1
addon_rootkit_detector
1
addon_search
1
addon_securitylogging
1
addon_stats
1
addon_stats_block
1
addon_syndication
1
addon_syndication_blocks
1
addon_themewizard
1
addon_tickets
1
addon_twitter_support
1
addon_uninstaller
1
addon_users_online_block
1
addon_validation
1
addon_weather
1
addon_xml_fields
1
keep_blogs
1
keep_news_categories
1
label_for__block_SITE_main_forum_news
Forum News display
block_SITE_main_forum_news
NO
require__block_SITE_main_forum_news
1
label_for__block_SITE_main_forum_topics
Forum topics listing
block_SITE_main_forum_topics
NO
require__block_SITE_main_forum_topics
1
label_for__block_SITE_main_multi_content
Content display (multiple items together)
block_SITE_main_multi_content
NO
require__block_SITE_main_multi_content
1
label_for__block_SITE_main_news
News/Blogs display
block_SITE_main_news
NO
require__block_SITE_main_news
1
label_for__block_SITE_main_quotes
Random quote display
block_SITE_main_quotes
YES
require__block_SITE_main_quotes
1
label_for__block_SITE_main_rss
RSS display
block_SITE_main_rss
NO
require__block_SITE_main_rss
1
label_for__block_SITE_main_search
Search form
block_SITE_main_search
NO
require__block_SITE_main_search
1
label_for__block_SITE_main_poll
Poll display
block_SITE_main_poll
NO
require__block_SITE_main_poll
1
label_for__block_SITE_main_leader_board
Points Leader-board
block_SITE_main_leader_board
NO
require__block_SITE_main_leader_board
1
label_for__block_SITE_side_calendar
Calendar events listing
block_SITE_side_calendar
PANEL_RIGHT
require__block_SITE_side_calendar
1
label_for__block_SITE_side_cns_private_topics
Private Topics listing
block_SITE_side_cns_private_topics
NO
require__block_SITE_side_cns_private_topics
1
label_for__block_SITE_side_forum_news
Forum News display
block_SITE_side_forum_news
NO
require__block_SITE_side_forum_news
1
label_for__block_SITE_side_news
News/Blogs display
block_SITE_side_news
NO
require__block_SITE_side_news
1
label_for__block_SITE_side_news_archive
News archive (by month)
block_SITE_side_news_archive
NO
require__block_SITE_side_news_archive
1
label_for__block_SITE_side_news_categories
News/blog categories listing
block_SITE_side_news_categories
NO
require__block_SITE_side_news_categories
1
label_for__block_SITE_side_printer_friendly
Printer-Friendly link
block_SITE_side_printer_friendly
NO
require__block_SITE_side_printer_friendly
1
label_for__block_SITE_side_rss
RSS display
block_SITE_side_rss
NO
require__block_SITE_side_rss
1
label_for__block_SITE_side_shoutbox
Shout Box
block_SITE_side_shoutbox
NO
require__block_SITE_side_shoutbox
1
label_for__block_SITE_side_stats
Site statistics
block_SITE_side_stats
PANEL_RIGHT
require__block_SITE_side_stats
1
label_for__block_SITE_side_tag_cloud
Tag cloud
block_SITE_side_tag_cloud
NO
require__block_SITE_side_tag_cloud
1
label_for__block_SITE_side_users_online
Online users listing
block_SITE_side_users_online
PANEL_RIGHT
require__block_SITE_side_users_online
1
TagsNo tags attached.
Attach Tags
Attached Files
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Master Rat

2024-04-06 04:15

reporter   ~8518

Ooops scratch "Save" I went to "Preview" the page and it broke.

PDStig

2024-04-06 14:43

administrator   ~8522

Last edited: 2024-04-06 14:44

Thank you. As mentioned before please use concise summaries. See what I edited this issue's summary to as an example.

Also I'm classifying this as a minor bug because it's beyond a textual issue (which we use trivial for)

admin

2024-04-07 21:14

administrator   ~8541

Automated response: Setup Wizard stack trace on step 6 when using preview

Setup Wizard stack trace on step 6 when using preview

undefined key 'start'. This was the old default page name in v10. In v11, it is now a constant. This was fixed.

admin

2024-04-07 21:15

administrator   ~8542

Fixed in Git commit 02715c8ad3 (https://gitlab.com/composr-foundation/composr/commit/02715c8ad3 - link will become active once code pushed to GitLab)

admin

2024-04-07 21:15

administrator   ~8543

A hotfix (a TAR of files to upload) has been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. If there are files in a hot-fix that you don't have then they probably relate to addons that you don't have installed and should be skipped. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/).

Issue History

Date Modified Username Field Change
2024-04-06 04:13 Master Rat New Issue
2024-04-06 04:15 Master Rat Note Added: 0008518
2024-04-06 14:43 PDStig Summary SetupWizard Page broke => Setup Wizard stack trace on step 6 when using preview
2024-04-06 14:43 PDStig Additional Information Updated
2024-04-06 14:43 PDStig Note Added: 0008522
2024-04-06 14:44 PDStig Note Edited: 0008522
2024-04-06 14:44 PDStig Severity Trivial Bug => Minor Bug