Fresh install of version: 10 RC11 on NameCheap servers


First, I mass-deleted the html directory. Even got rid or .htaccss. I blasted the old database completely, and reassigned a new user to it, with a new passwd. Fresh install of 10 RC11.
Everything went perfectly with the install, until I got to the last page that told me the site was installed, and that I could now add some pages to the site, of just Go To The Site. In this install, I decided not to have a forum, or forum users, so I said "None" on the Add Forum page early in the installation. Also, the kind of site I installed was a basic type. I forgot the name, now, but it was the bare bones selection. For the options on the next few pages, I only decided to add a newsletter. Nothing else. No Wiki, no forum, no avatar stuff…just bare bones stuff.
When I clicked Take Me To The Website after the install was complete, I got the following error page…hope this helps. Unlike other errors, this error prevents even a login after a logout.
(EDIT: after running the installer again, and not selecting Minimalistic Site, but instead selecting Brocuhre type site, it does not have errors anymore. Something to do with Minimalistic site type?)
An error has occurred
PHP NOTICE [8] Undefined offset: 0 in sources/tempcode.php on line 1125 (version: 10 RC11, PHP version: 5.6.22, URL: /index.php?page=start)
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 '/home/witcbxzr/public_html/sources/failure.php'
Line 983
Function 'get_html_trace'
Args
File '/home/witcbxzr/public_html/sources/global2.php'
Line 910
Function '_fatal_exit'
Args
'PHP NOTICE [8] Undefined offset: 0 in sources/tempcode.php on line 1125'
File '/home/witcbxzr/public_html/sources/failure.php'
Line 281
Function 'fatal_exit'
Args
'PHP NOTICE [8] Undefined offset: 0 in sources/tempcode.php on line 1125'
File '/home/witcbxzr/public_html/sources/global2.php'
Line 781
Function '_composr_error_handler'
Args
'notice'
8
'Undefined offset: 0'
'sources/tempcode.php'
1,125
5
File '/home/witcbxzr/public_html/sources/tempcode.php'
Line 1,125
Function 'composr_error_handler'
Args
8
'Undefined offset: 0'
'/home/witcbxzr/public_html/sources/tempcode.php'
1,125
a:3:{s:8:"seq_part";a:4:{i:0;a:0:{}i:1;i:0;i:2;s:11:"REQUIRE_CSS";i:3;a:0:{}}s:8:"children";N;s:5:"param";a:0:{}}
File '/home/witcbxzr/public_html/sources/tempcode.php'
Line 1,780
Function 'handle_symbol_preprocessing'
Args
a:4:{i:0;a:0:{}i:1;i:0;i:2;s:11:"REQUIRE_CSS";i:3;a:0:{}}
NULL
File '/home/witcbxzr/public_html/sources/tempcode.php'
Line 1,182
Function 'handle_symbol_preprocessing'
Class 'Tempcode'
Object Tempcode -> …
Type '->'
Args
File '/home/witcbxzr/public_html/sources/tempcode.php'
Line 1,780
Function 'handle_symbol_preprocessing'
Args
array
NULL
File '/home/witcbxzr/public_html/sources/site.php'
Line 877
Function 'handle_symbol_preprocessing'
Class 'Tempcode'
Object Tempcode -> …
Type '->'
Args
File '/home/witcbxzr/public_html/index.php'
Line 73
Function 'do_site'
Args
The site is closed, but you have special access.
Commandr: the Composr command line environment Admin Zone Chat with other Composr users (Select page rendering tool)
Sitemap Rules Privacy Feedback Mobile version Witches Press Keyboard shortcuts
Copyright © 2016 ( Witches.Press ) A A A
Critical error – bailing out
This is an error that has been elevated to critical error status because it occurred during the primary error mechanism reporting system itself (possibly due to it occurring within the standard output framework). It may be masking a secondary error that occurred before this, but was never output - if so, it is likely strongly related to this one, thus fixing this will fix the other.
A template file is missing: (themes/default/templates/.tpl or an overridden equivalent to this path) (version: 10 RC11, PHP version: 5.6.22, URL: /index.php?page=start)
Stack trace…
File -> 'sources/failure.php'
Line -> 975
Function -> 'die_html_trace'
Args -> a:1:{i:0;s:191:"A template file is missing: <kbd></kbd> (<kbd>themes/default/templates/.tpl</kbd> or an overridden equivalent to this path) (version: 10 RC11, PHP version: 5.6.22, URL: /index.php?page=start)";}
File -> 'sources/global2.php'
Line -> 910
Function -> '_fatal_exit'
Args -> array
File -> 'sources/tempcode.php'
Line -> 830
Function -> 'fatal_exit'
Args -> array
File -> 'sources/mail.php'
Line -> 1,242
Function -> 'do_template'
Args -> a:8:{i:0;s:0:"";i:1;N;i:2;s:2:"EN";i:3;b:0;i:4;N;i:5;s:4:".css";i:6;s:3:"css";i:7;s:13:"Witches_Press";}
File -> 'sources/web_resources.php'
Line -> 449
Function -> 'filter_css'
Args -> array
File -> 'sources/web_resources.php'
Line -> 407
Function -> '_css_tempcode'
Args -> array
File -> 'sources/mail.php'
Line -> 753
Function -> 'css_tempcode'
Args -> array
File -> 'sources/failure.php'
Line -> 1,110
Function -> 'mail_wrap'
Args -> array
File -> 'sources/failure.php'
Line -> 1,009
Function -> 'relay_error_notification'
Args -> array
File -> 'sources/global2.php'
Line -> 910
Function -> '_fatal_exit'
Args -> a:1:{i:0;s:71:"PHP NOTICE [8] Undefined offset: 0 in sources/tempcode.php on line 1125";}
File -> 'sources/failure.php'
Line -> 281
Function -> 'fatal_exit'
Args -> a:1:{i:0;s:71:"PHP NOTICE [8] Undefined offset: 0 in sources/tempcode.php on line 1125";}
File -> 'sources/global2.php'
Line -> 781
Function -> '_composr_error_handler'
Args -> a:6:{i:0;s:6:"notice";i:1;i:8;i:2;s:19:"Undefined offset: 0";i:3;s:20:"sources/tempcode.php";i:4;i:1125;i:5;i:5;}
File -> 'sources/tempcode.php'
Line -> 1,125
Function -> 'composr_error_handler'
Args -> a:5:{i:0;i:8;i:1;s:19:"Undefined offset: 0";i:2;s:47:"sources/tempcode.php";i:3;i:1125;i:4;a:3:{s:8:"seq_part";a:4:{i:0;a:0:{}i:1;i:0;i:2;s:11:"REQUIRE_CSS";i:3;a:0:{}}s:8:"children";N;s:5:"param";a:0:{}}}
File -> 'sources/tempcode.php'
Line -> 1,780
Function -> 'handle_symbol_preprocessing'
Args -> a:2:{i:0;a:4:{i:0;a:0:{}i:1;i:0;i:2;s:11:"REQUIRE_CSS";i:3;a:0:{}}i:1;N;}
File -> 'sources/tempcode.php'
Line -> 1,182
Function -> 'handle_symbol_preprocessing'
Class -> 'Tempcode'
Object -> Tempcode -> …
Type -> '->'
Args -> a:0:{}
File -> 'sources/tempcode.php'
Line -> 1,780
Function -> 'handle_symbol_preprocessing'
Args -> array
File -> 'sources/site.php'
Line -> 877
Function -> 'handle_symbol_preprocessing'
Class -> 'Tempcode'
Object -> Tempcode -> …
Type -> '->'
Args -> a:0:{}
File -> 'index.php'
Line -> 73
Function -> 'do_site'
Args -> a:0:{}
Last edit: by Malatesa


Code
PHP NOTICE [8] Undefined offset: 0 in sources/tempcode.php on line 1125 (version: 10 RC11, PHP version: 7.0.4-7ubuntu2.1, URL: /adminzone/index.php?page=start)
UPDATE: commenting out line 1125 in sources/tempcode.php has solved the problem with no apparent ramifications but I'll continue to watch for side effects
Code
// require_css($param[0]);
Last edit: by SoccerDad
just peace, unity, tolerance and love" - The Beloved


sources/tempcode.php
Sorry for the delayed reply Malatesa.
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.


I'm glad I finally have some time to return to playing with Composr, it's been a while. I see your response to the community has not changed, topnotch!
just peace, unity, tolerance and love" - The Beloved


I have properly tracked it down, and the following files fully fix it:
sources/comcode_renderer.php
sources/symbols.php
sources/tempcode.php
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Brat Rat


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.