Blank page on theme selector

Blank page on theme selector

John Rickard
Vastuste arv 4

Hi Everyone,

I am being brave and looking to develop a theme for my workplace...

We are running the latest 2.5 build and I have copied the clean theme, renamed everything I think I need to but when I put the files on the server I cannot get to the theme selector to select it... I get an instant 500 error and a blank page.

I have run through the Notifications check and this installed it a few attempts ago, but doesn't prompt me to now...

Any thoughts?

The name of the theme is simple ccnew... I have attached a zip of it as well

Keskmine hinnang: -
Vastuses John Rickard

Re: Blank page on theme selector

Richard Oelmann
Core developers pilt Plugin developers pilt Testers pilt

Hi John,

You haven't renamed everything correctly and this is probably causing the error - you could try turning on developer level error reporting for more detail.

I haven't gone right through everything yet, but the ones I have seen are:

config.php still refers to clean_process_css

lib.php all the functions are still named clean_ and have not been renamed

You may also need to remove the MACOSX folder as I seem to remember this causing problems in the past.

Richard

Vastuses John Rickard

Re: Blank page on theme selector

Mary Evans

Hi John,

You put "simple ccnew" as the name of the theme. If that is how you have written it, and not just a typo here, then this is probably why it has stalled.

You need to either make it one word or add an underscor to separate the two words like so...

simple_ccnew

Cheers

Mary

Vastuses Mary Evans

Re: Blank page on theme selector

Richard Oelmann
Core developers pilt Plugin developers pilt Testers pilt

Hi Mary,

In the code John has the name as ccnew (in most places) - I think the line in his post is probably a typo and should have said

The name of the theme is simply ccnew

:D

R

Vastuses Richard Oelmann

Re: Blank page on theme selector

John Rickard

Thank you guys

Sorry yes the simple bit was my typo...

I am planning to have another crack at this, this morning, so will update you if I need any help


Thanks again