Jump to content
Sign in to follow this  
jingram

HELP - posted some custom code and now theme is toast

Recommended Posts

jingram    1
jingram

Can anybody please direct me to where the custom code section of the theme is stored? I had quite a few things posted in there. The latest thing I tried to add was this

div.comment-author {background-color: #cccccc; border-top-left-radius: 6px; -moz-border-radius-topleft: 6px; border-top-right-radius: 6px; -moz-border-radius-topright: 6px;}
	div.comment-body {border: 1px solid #cccccc;}

in order to get borders around the boxes in my comment form. After I did that and saved back, the theme blew up, when I view it in word press everything is blanked out and I get a parse error when I attempt to load up the page.

Share this post


Link to post
Share on other sites
jingram    1
jingram
Well after doing some searching, I am not the only one this has happened to. Not having done much of anything and then ALL settings lost in both the Theme Options and Feature Setup sections of the theme. After reading more, it is apparent that this information is stored in the database. My question is how in the hell is it going wonky in the first place! There is no way to "export" my settings in the theme. I did a "restore" from within the theme, but it recovered nothing, so now I am stuck rebuilding from scratch which will take me a VERY long time. Needless to say, I am f'ing pissed and the fact that this has happened before to others with similar output in about invalid aruments in the template feature means this has been an ongoing bug. [code]Warning: Invalid argument supplied for foreach() in C:inetpubwwwrootwp-contentthemesiblogproprotemplate_feature.php on line 7 [/code] Arrgggh!!

Share this post


Link to post
Share on other sites
Simon    247
Simon
The foreach error happens if you have no default features set at all go to /wp-admin/admin.php?page=pagelines_feature and click restore features.

Share this post


Link to post
Share on other sites
jingram    1
jingram
Too late... I had a VM saved from about a week back that I brought back online and have been reconstructing from that. How does this happen? It was fine one minute, I save the aforemetioned code above and poof everything is hosed? Is there an easy way for me to export these settings out in case this happens again? I know there was in pagelines pro, but I don't see anything in iblog4 pro.

Share this post


Link to post
Share on other sites
catrina    103
catrina
There is a way to back up the information on your database, but there is no export option. Are you planning on re-installing iBlogPro?

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
jingram    1
jingram
It is already fixed. Like I said, I had a VM from about a week ago. I reset both feature setup and the theme options from that. Lots of copying and pasting, but it worked out alright. It was better to go down that road than try and reconstruct the actual site content itself. I found some older posts where that happened to folks and according to Adam, it sounds like it is an issue when you have multiple admin pages open, including ones with theme options open and if you aren't careful poof. I have dozens of tabs open so it had to have been something like that. I used this opportunity to literally dump all of my settings in a text file so I have them for the future, God forbid this happen again.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×