Multiple Theme And Plugin Problems

I am attempting to set up an ETSY style site and have all kinds of problems in spite of trying to follow instructions to the letter. http://celticjewelrydesigners.com/

The point I’m at is I have uploaded WordPress and enabled Plugins Marketpress, Multisite Theme Manager, New Blog Templates and WPMU Dev Dashboard and themes Framemarket and Grid Market. Have also set up a shop template http://celticjewelrydesigners.com/templatesite/

The most immediate problem is that I am not able to upload a new header. I go through the process but it doesn’t change.

Next problem – when I go back to marketpress to see if it’s still set up, under “edit” I get this error message: Fatal error: Out of memory (allocated 33554432) (tried to allocate 20 bytes) in /homepages/30/d343166253/htdocs/celticjewelrydesigners/wp-admin/includes/misc.php on line 316

I have discussed on another string a bit about the arrangement of folders in my root, which seems a bit odd. I’m not sure if they may be the root of the problem (yes – pun intended). Adding several illustrations here. Note: I was advised on a string here to put the content, admin and includes folders into the public.html folder – but when I did that the site front and back ends both generated nothing but error messages. Help!

  • Bob
    • Design Lord, Child of Thor

    OK I tried –

    – disabling current theme and using a few others.

    – disabling akismet and anti-splog

    – increasing memory via wp-config.

    None of those made a difference. Re: memory: The limit on my hosting account is 30mb. Although I have two other urls in there, they are both simple information sites that I do not think are memory hogs. I can upgrade to 80 or 120 mb for the account, but besides costing more it’s gonna require me to backup all files including email which is gonna be kind of a pain. I’m not very convinced that that is the problem – but tell me what you think.

    If it helps – when I go into the theme to add header it shows the header I want as selected but not in preview pane (that’s blank) // and when I go into themes it’s displayed there on the theme box, but not on site. When I go to customize theme, I’m getting the error message attached in illustration here for a short time, before the old header appears on page. Awaiting your comment / thanks

  • Timothy
    • Chief Pigeon

    Hey there.

    30mb of memory really isn’t much for a WordPress site, the more code you add, more themes, plugins, etc, and the more people loading the site the more memory will be used.

    To make an analogy, it would be like using a car, the more you load on and transport the slower it will go until it can’t take any more.

    This isn’t an issue with the plugin, it’s a hosting issue.

    You could do one of the following like edit your php.ini file or add your own (depending on setup):

    memory_limit = 256M

    httaccess:

    php_value memory_limit 256M

    If your PHP supports then you can edit your wp-config.php file and add the following line:

    define('WP_MEMORY_LIMIT', '96MB');

    You would change the memory in those to whatever it is you require.

    If you are not sure how or have further issues then it would be best to ask your host to help you out with this one.

    You also need to check the memory is. You can create a php file for this:

    <?php phpinfo(); ?>

    And then access that through the browser, check the memory in there. This is the output of your PHP.

    Take care.

  • Bob
    • Design Lord, Child of Thor

    The first suggestions didn't work but according to the phpinfo file test I'm getting 120 m. That's actually the highest level I can purchase from my hosting company. See attached. What do you think?

  • Bob
    • Design Lord, Child of Thor

    Guys – I’m dying here. Really need some help on this question. As per above, check of phpinfo file seems to indicate that there is plenty of memory available to run the Marketpress plugin. I’m at a hard stop with it getting error messages however. Please advise. Thanks

    Bob

  • Bob
    • Design Lord, Child of Thor

    Jack,

    I went through a bit of a run around with my hosting company involving different people there telling me contradictory things, but as of today my account should be getting updated to one with far more php memory. I should have some news for you tomorrow. Let’s cross our fingers / thanks

    Bob

  • Bob
    • Design Lord, Child of Thor

    Thanks for checking in. I am actually in the process of upgrading my hosting account to 248 m of php memory to support this site. That will probably take a few more days. It’s been a tortuous path getting here with my hosting company 1and1.com. I always thought they were pretty good but when I started trying to deal with my need for more php memory their people – not just their sales people but their tech support people – were just unbelievably clueless about it. No understanding whatever of storage versus processing memory until I fought my way through to a director in their tech department. Anyway I am crossing my fingers – hopefully the upgrade will be done in a few days and I’ll get this going.

  • Bob
    • Design Lord, Child of Thor

    OK – well I guess it’s gonna be a two step process. Transferred my hosting up one step, but now have to wait 3 – 5 more days for the full upgrade to 4gb / 248 m php hosting. Oy! I’ll be back to you then.

    While we’re at it though – can you help me clear up two points of confusion. I have in my network admin, activated plugins:

    market press, multisite theme manager, new blog templates and wpmu dev dashboard.

    Also in network admin, activated themes:

    Framemarket, twentytwelve

    In my individual site dashboard I have no plugins activated and only frame market theme activated.

    Is this the right setup, and where do I go to work on the appearance of the site? There are options to change header, for example, in both the network and individ site admins for frame market.

    Thanks / sorry but just in messing around with the back end a bit over the past two weeks I’ve gotten kind of confused about what goes where.

    THanks! Back to you in 3 – 5 days on the rest.

  • Ash
    • WordPress Hacker

    Hi @bob

    I think you setup is right. Just a note here, there was an issue with custom header in framemarket theme, it happened for some members but not for all. A possible fix is released yesterday.

    And about the memory issue, we are also waiting to hear some good news :slight_smile:

    Let us know when you have some news about it.

    Cheers

    Ash

  • Bob
    • Design Lord, Child of Thor

    OK I believe I am traded up to the 4g package with 248 m php. Back to the beginning. I am trying to put in a new logo. Have uploaded a 980 x 100 image as per instructions and am getting a weird line around the header always as per attachment.

    Also I’m quite confused. Am I supposed up update header in:

    Network admin > themes > framemarket > edit theme details

    or

    my site dashboard > appearance > header

    or

    my site dashboard > appearance > themes > framemarket > customize

    one way or the other – when I update to a new header I cannot see a preview of it at the top of any of these header update pages. Also, as I said, keep getting the line around the header / I don’t know if that’s the issue you were referring to above.

    Thank you

  • PC
    • WPMU DEV Initiate

    Hey there Bob,

    Thanks for posting back.

    OK I believe I am traded up to the 4g package with 248 m php

    That is good to hear :slight_smile:

    Also I’m quite confused. Am I supposed up update header in:

    Network admin > themes > framemarket > edit theme details

    or

    my site dashboard > appearance > header

    or

    my site dashboard > appearance > themes > framemarket > customize

    You should do that under Dashboard >> Appearance >> Themes >> Theme options >>Type of header >> Select : Custom Header or Logo *we use the custom header to allow you control over logos

    Where did you actually do that ? Did you do that directly in the theme code ?

    Please advise.

    Cheers, PC

  • Bob
    • Design Lord, Child of Thor

    Yes I had done that step previously. If I go back into that page and select an image there and save, I still get no preview of image at top of that page and on the site it appears with the line around the header.

    But I have actually updated header on all the options I described above. I have not gone into theme code for anything – just using the control panels in the back end. What do you think?

  • Domas
    • Site Builder, Child of Zeus

    Hello Bob,

    I hope you are well today and thanks for posting back!

    In order to remove the line around the header, you should add code below into your theme (Gridmarket) style.css file:

    #branding-wrapper {
    background: #FFF; !important;
    }

    About an issue with header admin preview, there’s a small bug. I’ll catch my colleague Ashok to release a new version with bug fix.

    Cheers,

    Domas

    `

  • Domas
    • Site Builder, Child of Zeus

    Hello Bob,

    You can fix admin header preview issue by editing framemarket/functions.php and changing this line:

    'admin-preview-callback' => 'framemarket_header_style',

    to

    'admin-preview-callback' => 'framemarket_header_admin_preview',

    and adding this function somewhere into functions.php file:

    function framemarket_header_admin_preview() {
    $image = get_header_image();
    ?>
    <div id="header-image">
    <?php if($image): ?>
    <img src="<?php echo esc_url( $image ); ?>" alt="" />
    <?php endif; ?>
    </div>
    <?php
    }

    A bug fix version will be released soon.

    2) Have you managed with the memory limit issue?

    Please let me know if you have any more questions.

    Kind Regards,

    Domas

  • Bob
    • Design Lord, Child of Thor

    OK Domas, we’re one for two today. That’s a start! The second suggestion worked perfectly to get the header showing in preview.

    I’ve not been able to get rid of the line around the header on live site, however. Tried your code addition in the gridmarket style.css and then framemarket style.css and neither made a difference.

    Am I set up right? – framemarket AND gridmarket AND twentytwelve are activated on my network admin, but only framemarket is active on my site admin.

    Since the gridmarket style.css file has practically got nothing in it, here’s the whole thing with your suggested addtion. Did I do this wrong?:

    /*

    Theme Name: GridMarket

    Theme Date: 08/02/2012

    Version: 1.5.6

    Theme URI: https://premium.wpmudev.org/

    Description: GridMarket a child theme for MarketPress

    Author: Tammie Lister – WPMU DEV – The WordPress Experts

    Author URI: https://premium.wpmudev.org

    Tags: buddypress, fixed-width, custom-background, custom-menu, theme-options, sticky-post, translation-ready, threaded-comments, left-sidebar, two-columns

    License: GNU General Public License, v2 (or newer)

    License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html

    Uses BP-Default theme files and styling for BuddyPress components with some customisation for theme.

    Included in theme to allow for own child themes rather than being child of BP-Default

    Template: framemarket

    */

    /* 311152-1398780486-ai */

    #branding-wrapper {

    background: #FFF; !important;

    }

  • Patrick
    • Support Monkey

    Hey there @bob

    I hope you don’t mind me jumping in here. :slight_smile:

    First thing is, you should not be using the FrameMarket theme at all. It is a parent theme designed to be used with child-themes like GridMarket.

    FrameMarket should be present on your network so child-themes can use it, but do not enable it. It should not appear at all on the Themes screen of any site.

    GridMarket, on the other hand, should be network-enabled so it is available to all sites.

    Next, to add custom styles to GridMarket, you must add them to the appropriate style-sheet, which is not style.css. :slight_smile:

    Add your custom CSS to gridmarket/css/custom.css

    If you want an even easier option for all your custom CSS needs, try a plugin like this one:

    https://wordpress.org/plugins/simple-custom-css/

    With that plugin’s CSS area, you can also add styles to override anything outputted on-screen by any plugin you have active on your site too. Cool stuff. :slight_smile:

  • Bob
    • Design Lord, Child of Thor

    Excellent – we’re getting there now! I’ve followed your instructions and things seem to be working. Will try the styling plugin in.

    Before I conclude this piece – two questions. At the start I’m afraid it’s really easy to get confused about what you should be doing in network admin versus site admin.

    1) Should I be adding plugins changing widgets etc.always in my network admin panel? I looks like I can’t put plugins in on site admin. But I could have changed header in either site or network admin. Can you give me some overall guidance on what to do where?

    2) Is there any reason why I should have twentytwelve theme enabled in my network admin? I’m not sure when in this process I enabled it or why.

    Thanks! I’m really excited about moving forward on this.

    Bob

  • Ash
    • WordPress Hacker

    Hi @bob

    It’s great to hear that everything is started working :slight_smile: About your question:

    1. Suppose your network main site url is http://domain.com, admin panel is http://domain/wp-admin and network admin is http://domain.com/wp-admin/network. Note that, http://domain/wp-admin is only the admin panel for the main site, not whole network, where http://domain/wp-admin/network is the admin panel of whole network.

    About the plugins, when you network activate a plugin, this plugin won’t be shown in site admin’s plugin menu as the plugin is activated for all sites. But if you don’t network activate a plugin, then app site admin can see the plugin in his Plugins menu. He can activate it, or not as he wish. About the plugin settings, some plugins have options to set the configuration for whole network, but in general, all site admin should configure a plugin for his site.

    About the themes, it’s a little bit different. When you network enable a theme, this theme will be available for use to sub site admins. But if you don’t, the site admins can’t see the theme, so won’t be able to use that theme. Though from network admin, you can enable a theme for a specific subsite.

    2. About 2012 theme, in fact, there is no necessity of keeping enabled that theme. But we recommend to keep enabled that theme, because if you need to check theme conflict or compatibility issue, it is fair enough to test with default 2012, 2013 or 2014 theme. Also, if subsite can’t get any theme, the default theme will be automatically enabled for that subsite.

    Another note here, if your website is huge and running perfectly, it is recommended to have a staging site or development site and that will be exact replica of your production site. So, if you want to add new plugins or scripts or feature, you can add it in test site first. If everything is okay with the setup, just do the same for production site.

    Hope it helps :slight_smile: Please feel free to ask more question if you have.

    Cheers

    Ash

  • Bob
    • Design Lord, Child of Thor

    That’s great. Thanks. My two questions to follow are:

    – Is there a tutorial anywhere that shows me how to set up a staging site. I understand the concept but have no idea how to do it.

    – In terms of appearance. The default is to have sidebar widgets on left as here (“product categories”:wink:: http://celticjewelrydesigners.com/

    How do I change the layout so that the widget appears on the right side of the content well? I can’t figure out how to do it either in my admin panel or simple-css.

    THanks very much!

  • Patrick
    • Support Monkey

    Hi again @bob

    Looks like @ashok & I are tag-teaming today. :slight_smile:

    Here’s an easy how-to on getting a staging site set up using cPanel at your host:

    http://www.wpbeginner.com/wp-tutorials/how-to-create-staging-environment-for-a-wordpress-site/

    To get the sidebar on the right instead of the left in the GridMarket theme, you would need to override some CSS by adding the following:

    #content { float:left; }
    #sidebar, .side { float: right; margin-left: 20px; }

  • Bob
    • Design Lord, Child of Thor

    Thanks I’ll study up on the staging site

    I did the styling change – only problem is that it drops the sidebar widget down to the bottom of the page. Do I need to put in some kind of valign?

    Thanks

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.