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.


Theme wizard bug!

Login / Search

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

Community saint

well, unless it's just my pc having a hissie fit!

I just tried creating a theme using the theme wizard on my test site to begin work on my first proper skin for OCPortal and I got an error when I clicked proceed. All I did was choose Metallian for the themes name then dbdbdb as the seed colour and clicked proceed and I got this:

An error has occurred

PHP WARNING [2] file_get_contents(C:\Program Files (x86)\Ampps\www\ocportal/themes/default/css_custom/adminzone.css) [<a href='http://www.php.net/manual/en/function.file-get-contents.php'>function.file-get-contents.php</a>]: failed to open stream: No such file or directory in sources\themewizard.php on line 83 (version: 7.1.6, PHP version: 5.3.10, URL: /ocportal/index.php?keep_theme_seed=d8d8d8&keep_theme_dark=0&keep_theme_source=default&keep_theme_algorithm=hsv&wide=1&keep_theme=default)

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:\Program Files (x86)\Ampps\www\ocportal\sources\failure.php'
Line '674'
Function 'get_html_trace'
Args  

File 'C:\Program Files (x86)\Ampps\www\ocportal\sources\global2.php'
Line '969'
Function '_fatal_exit'
Args

File 'C:\Program Files (x86)\Ampps\www\ocportal\sources\failure.php'
Line '214'
Function 'fatal_exit'
Args

File 'C:\Program Files (x86)\Ampps\www\ocportal\sources\global2.php'
Line '843'
Function '_ocportal_error_handler'
Args

'warning'

2

'file_get_contents(C:\Program Files (x86)\Ampps\www\ocportal/themes/default/css_custom/adminzone.css) [<a href=\'http://www.php.net/manual/en/function.file-get-contents.php\'>function.file-get-contents.php</a>]: failed to open stream: No such file or directory'

'sources\themewizard.php'

83


Function 'ocportal_error_handler'
Args

File 'C:\Program Files (x86)\Ampps\www\ocportal\sources\themewizard.php'
Line '83'
Function 'file_get_contents'
Args

'C:\Program Files (x86)\Ampps\www\ocportal/themes/default/css_custom/adminzone.css'


File 'C:\Program Files (x86)\Ampps\www\ocportal\sources\themewizard.php'
Line '204'
Function 'load_themewizard_params_from_theme'
Args

'default'

true


File 'C:\Program Files (x86)\Ampps\www\ocportal\sources\themes.php'
Line '63'
Function 'find_theme_image_themewizard_preview'
Args

'logo/-logo'


File 'C:\Program Files (x86)\Ampps\www\ocportal\sources\site.php'
Line '253'
Function 'find_theme_image'
Args

'logo/-logo'

true


File 'C:\Program Files (x86)\Ampps\www\ocportal\sources\site.php'
Line '511'
Function 'get_logo_url'
Args  

File 'C:\Program Files (x86)\Ampps\www\ocportal\sources\site.php'
Line '783'
Function 'do_header'
Args  

File 'C:\Program Files (x86)\Ampps\www\ocportal\index.php'
Line '114'
Function 'do_site'
Args  

Metal IS Forever & We WILL Rock You 'til You Choke! Rock Babe
Back to the top
 
Posted
Rating:
#81502
Avatar

Community saint

Eeeek, missed a bit, I opted for

HSV-shift

I just tried again using

Equations

and it worked fine!

Metal IS Forever & We WILL Rock You 'til You Choke! Rock Babe
Back to the top
 
Posted
Rating:
#81671
Avatar

Looks like the HSV-shift method gets messed up when the source theme doesn't override all default CSV files. We'll fix that.


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:
#81709
Avatar

Community saint

Chris Graham said

Looks like the HSV-shift method gets messed up when the source theme doesn't override all default CSV files. We'll fix that.

That would be great, seems HSV-shift is the one to go for when intent on making a heavily modified skin. :)

Metal IS Forever & We WILL Rock You 'til You Choke! Rock Babe
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: