HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


4.2 rc1 choose #333333 for theme color during wizard and it POPPED

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#53517 (In Topic #11651)
Avatar

Honoured member

An error has occurred

The following colour equations could not be resolved, most likely because required colour(s) were not defined anywhere, or because mathematically, there is no solution:
wizard, 100% #FEFFCB. (version: 4-2.0 RC1, PHP version: 5.2.9-2, URL: /ocportal42/adminzone/index.php?page=admin_setupwizard&type=step10)

Here is the stack trace:

Below is a stack trace revealing the state the software was in when the error occurred. If this represents a bug in the unmodified software, you may want to check ocPortal 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'C:\wamp\www\ocportal42\sources\failure.php'
Line'508'
Function'get_html_trace'
Args

File'C:\wamp\www\ocportal42\sources\global2.php'
Line'740'
Function'_fatal_exit'
Argsobject


File'C:\wamp\www\ocportal42\sources\themewizard.php'
Line'620'
Function'fatal_exit'
Argsobject


File'C:\wamp\www\ocportal42\sources\themewizard.php'
Line'437'
Function'calculate_dynamic_css_colours'
Argsarray ( 'dark' => '0', 'seed' => '333333', 'red' => '51', 'green' => '51', 'blue' => '51', 'dominant' => 'black', 'WB' => 'FFFFFF', 'AWB' => '000000', 'LD' => 'light', 'ADD' => 'dark', 'W/B' => 'FFFFFF', '!W/B' => '000000', 'L/D' => 'light', '!D/D' => 'dark', )


File'C:\wamp\www\ocportal42\sources\themewizard.php'
Line'209'
Function'calculate_theme'
Args'333333'

'colours'

false


File'C:\wamp\www\ocportal42\adminzone\pages\modules\admin_setupwizard.php'
Line'427'
Function'make_theme'
Args'Site_Name'

'333333'

true


File'C:\wamp\www\ocportal42\adminzone\pages\modules\admin_setupwizard.php'
Line'69'
Function'step10'
Class'Module_admin_setupwizard'
ObjectModule_admin_setupwizard::__set_state(array( ))
Type'->'
Args

File'C:\wamp\www\ocportal42\sources\zones.php'
Line'314'
Function'run'
Class'Module_admin_setupwizard'
ObjectModule_admin_setupwizard::__set_state(array( ))
Type'->'
Args

File'C:\wamp\www\ocportal42\sources\site.php'
Line'810'
Function'load_module_page'
Args'adminzone/pages/modules/admin_setupwizard.php'

'admin_setupwizard'


File'C:\wamp\www\ocportal42\sources\site.php'
Line'662'
Function'request_page'
Args'admin_setupwizard'

true


File'C:\wamp\www\ocportal42\adminzone\index.php'
Line'51'
Function'do_site'
Args
Back to the top
 
Posted
Rating:
#53519
Avatar

Honoured member

It' errors out for this color as well  #FAD30A
Back to the top
 
Posted
Rating:
#53520
Avatar

Honoured member

I'm actually trying all kinds of colors and it still pops on me.

ugh  :'(
Back to the top
 
Posted
Rating:
#53521
Avatar

It's likely a last minute change broke something in the CSS rules engine. Our fault, and I'll look into getting that fixed tomorrow.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • 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 ocPortal whenever you see the opportunity.
  • 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 ocPortal 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.
Back to the top
 
Posted
Rating:
#53523
Avatar

Honoured member

Thanks Chris.

As always ocP is quick on the replies!  :thumbs:

Thx for the great support.
Back to the top
 
Posted
Rating:
#53527
Avatar

Community saint

@Noob:  :offtopic: - So have you ditched 4.1 and gonna play around with 4.2? Still looking forward to your site when you're ready to release it. All these questions you have sounds like you're gonna have a nice site!  :thumbs:

Eric DeMars . com
My electronic portfolio and personal site. Uses ocPortal!
Back to the top
 
Posted
Rating:
#53556
Avatar

One of the problems with our checking tools is sometimes we fix really minor issues and end up causing major ones that get noticed a few days later. I'd rather problems don't go so unnoticed but really we should have at least run the Setup Wizard immediately before release – so, sorry we missed that obvious test.

The best fix here was to make the Theme Wizard less fussy, so it can't happen again. Fix attached.

Attachment
sources/themewizard.php
» Download: themewizard.php (45 Kb, 111 downloads so far)


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • 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 ocPortal whenever you see the opportunity.
  • 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 ocPortal 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.
Back to the top
 
Posted
Rating:
#53574
Avatar

Honoured member

Thanks Chris, that fixed it.  It generates all kinds of colors now with out error.

However, it seems to have the same behavior as before where if you pick any shade of gray (all 3 markers are lined up) you get the same color light gray theme.

Was hoping that riddle might have been solved as well.
Back to the top
 
Posted
Rating:
#53577
Avatar

That's quite a complex thing, because it really is how the maths come out. We're aware but I can't say much more at this time.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • 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 ocPortal whenever you see the opportunity.
  • 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 ocPortal 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.
Back to the top
 
Posted
Rating:
#53580
Avatar

Honoured member

No worries Chris.   I'm glad it's functional.

I don't always get the color I select on the theme wizard but it's close, the great part is you can just keep playing with it till it renders something you like. I'm sure we, the user base, can make great themes with the current functionality.

I hope that sometime in the future you ocP might be able to slay this dragon.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: