Search Results for 'memory'

Results from the Forum
DeannaIsaacs
tagDiv Member

Fatal Error in Site

Visual Composer problem

System information:
Theme config
Theme name i Newspaper
Theme version i 6.2
Theme database version i 6.2
php.ini configuration
Server software i Apache
PHP Version i 5.6.24
post_max_size i 65M – You cannot upload images, themes and plugins that have a size bigger than this value.
max_execution_time 30 – the execution time should be bigger than 60 if you plan to use the demos
max_input_vars 1000 – the max_input_vars should be bigger than 2000, otherwise it can cause incomplete saves in the menu panel in WordPress
SUHOSIN Installed False
WordPress and plugins
WP Home URL i http://www.theautoreporter.com
WP Site URL i http://www.theautoreporter.com
WP version i 4.6
WP multisite enabled i No
WP Language i en_US
WP Memory Limit 40 MB/request – We recommend setting memory to at least 64MB. The theme is well tested with a 40MB/request limit, but if you are using multiple plugins that may not be enough. See: Increasing memory allocated to PHP
WP_DEBUG False
Caching plugin WP super cache

jsup
tagDiv Member

In the versions I have been running with, I just added an extra line and a check – you could probably achieve this more “cleanly”, but here’s my modification (I added in $GCN to store the number of comments, then I tested for it being greater than 0 – fairly straightforward I thought):

**UNFORTUNATELY – This editor stripped some code from the sample. I can’t post the code here 🙁

This would need to be replaced in the following files (from memory – I haven’t looked since June):

~/includes/modules/td_module_slide.php
~/includes/wp_booster/td_module.php
~/includes/wp_booster/td_module_single_base.php

Of course, if you have not set up a child theme, you will lose these changes upon next update.

NOTE: The sample code above is provided as is and there is warranty on its performance or effectiveness. Use this code at your own risk. If you are not sure what you are doing, don’t do it. The code may reference a version of the theme that is different to yours. Always compare the code with your existing code before replacing anything.

  • This reply was modified 9 years by jsup.
Andrei L.
tagDiv Member

Hi

Please follow the indications from this topic: https://forum.tagdiv.com/topic/problem-with-the-search-function-not-work/ also make sure yu clear phone’s cache memory and check if the problem is still there.
Thanks!

Verstegen
tagDiv Member

Hi Catalin,

I checked the wp-config.php file.
Memory was set to 128M
And the DEBUG was already set to ‘false’

Still everytime I click from the Newspaper theme panel on ‘IMPORT/EXPORT’ I get the message: “You are about to leave the Theme Panel area, if you’ve made any changes hit Cancel and Save Settings”
If I click ‘Cancel’ nothing happens, but if I click ‘OK’ the browserwindow starts loading and keeps loading (so it freezes I guess) and have to close the window.

I always get this message, even if I do have clicked on ‘Save Settings’ before / saved all settings within the theme panel.
So it is not possible to get into the ‘IMPORT/EXPERT’ tab.

I did made a lot of languages changes in the theme. But that part is still accessible and works fine.

simchris
tagDiv Member

Hey!
Note couple of things, “theme” cannot delete your settings, or remove images, etc. This is more likely an issue with under-powered settings, or plugin, or caching problem.

Obviously you need to ensure you have enough memory allocated to php both via server settings and in your wp-config file; limit plugins that conflict with others, and have a caching plugin setup properly to not destructively rewrite page content randomly serving broken cached copies of pages.

You can also keep backups of your settings to not “recreate” work, if you have an ongoing infrastructure problem, as well as tools > export, and copy/dump mySQL settings after/before major WP and deploy updates.

Likely you should ensure you check your memory settings, turn off all caching plugins or auto-minify/automization plugins, anything from Jetpack rewriting content, etc. and then test your site and check error logs (which you should be doing periodically in this type of situation — what errors are you getting? Did you turn on debug mode in WP to see what errors are in place “right now” ?).

Only you can manage your own server and framework settings — theme is merely a style box on top of your base setup and cannot “delete your content” randomly or intentionally.

I don’t work here, but have been doing webdev for 21 years and working with WordPress since end of 2004; so just some feedback and pointers on how you might approach debugging your issues today.

Best of luck!

simchris
tagDiv Member

You need to specify each category in the editor for each ‘block/module’ on your home page in the visual editor on the ‘page’ you have created.

To tune your site, you need to do a number of things

a) increase default memory for WordPress in your wp-config file
b) make sure your hosting setup is optimized (gzip/deflate on?)
c) put proper directives in your htaccess file (for Apache; sligtly diff. for Nginx)
d) optimize images
e) tune your site with ads off
f) consider using caching AFTER you have everything else sorted

You can test your site speed and recommended fixes at gtmetrix.com for free.

Also see the theme docs on ‘speeding up your site …”

simchris
tagDiv Member

Actually, if I’m having a search box at top of the sidebar, maybe its redundant to even have the search icon in the menu bar. Presumably I could edit the menu header module being used to remove the search box div/span?

Sorry — maybe two options, and this would make a great tutorial since this comes up a lot if memory serves.

a) how to remove the thumbs entirely from the ajax search box; mod a template for ajax search?

b) how to remove the search span/div entirely from xx menu bar file ?

Thanks as ever. Obviously I’m redoing stuff for v3 which is why I hadn’t needed to pester y’all about this stuff since v2 launched 🙂

Bogdan B.
tagDiv Staff

Hi,

This simply means you have too many ajax requests. Ajax is used on pagination, ajax filters, live search, and the mega-menu. If you use too many of these elements, you will need quite a bit of resources on your server. Please remove some of these features if your server cannot handle it. Also please use this guide to increase your memory allocation: https://forum.tagdiv.com/system-status-parameters-guide/
You can use this guide to learn about the ajax filter and the pagination: https://forum.tagdiv.com/block-settings-tutorial/
The mega-menu can be removed from the menus area: https://forum.tagdiv.com/mega-menu/

Thank you!

Kayra
tagDiv Member

Meh, ignore my all posts.

I made 64MB but seems it wasn’t enough and 96MB wasn’t enough either.

So i made 128MB, it works as intended.

If anyone has same problem, just change the memory size until it works for your website.

Amme89
Participant
#0

Dear Support Team,

we are using the Theme on a main installation and 2 subdomains.

Everything was running fine until this morning. There were NO updates of plugins or the theme! It just appeared the internal server error on all 3 installations (same server).

If the maintenance mode switched on, everything works fine. Another theme works fine too as well as the Tag Div mobile theme.

What we already did:

Checking for Corrupt .htaccess File –> NOPE
Increasing the PHP Memory Limit –> Should be fine
Deactivate all Plugins –> Doesn’t help
Re-uploading Core Files –> Wp-inclues and wp-admin –> Doesn’t work
Contact Provider –> Said the theme must be the problem
Reinstalling the theme –> Doesn’t help

Switched the theme and everything was running fine!

We are slowly desperating about this issue.

Domain: hubsociety.co –> in maintenance / thai.hubsociety.co –> live (docents work only mobile running fine) / ph.hubsociety.co –> in maintenance

We are looking forward to hear from you soon!

Best,
Armin

Andrei L.
tagDiv Member

Hi

I cannot duplicate te issue on my and, as can be seen from these screens images are displayed fine on mobile: http://screencast.com/t/IRsFFD967Khttp://screencast.com/t/amBZrRa5DKOx Please make sure that you’re using a compatible browser to access the site: http://screencast.com/t/Ogt76RqfeQh Also try to access it using different devices, clear phone’s cache memory then test the site again.

Thanks!

Andrei L.
tagDiv Member

HI

This image http://dev.ntv.ca/wp-content/uploads/2016/07/rncgeneric.jpg is smaller then 537x360px which is the size of first thumb from big grid, that’s why is not properly displayed: http://screencast.com/t/XPJGqg9NkwLE Try using a bigger image instead, clear the cache memory and test again.

Thanks!

khaldon
Participant
#0

I have the following problem after instal and activate the theme
I have a hosting resources data change for the use of random processor and memory in a short time up and down

CPU Usage : 88 %
Memory Usage: 457.8 / 2048 MB

Catalin
tagDiv Staff

Hello cthrag,

First of all, please check your system status and try to increase all the parameters from there (most likely PHP memory) for good performance in the theme. Also, please set all of them according to our documentation here -> https://forum.tagdiv.com/system-status-parameters-guide/ Also, please ensure that you are using the latest version of the theme and also, the latest version of Visual Composer which is tested with the theme ->4.11.2.

Thanks for your understanding!

Balleto
tagDiv Member

hello catalin

I’ve changed define( ‘WP_MEMORY_LIMIT’, ’64M’ ); http://www.screencast.com/t/OSupLn5e08w and I also have disabled premium plugin seo . but facebook share still not back to normal…

Balleto
tagDiv Member

only change ? wp-memory-limit to 60m??

Catalin
tagDiv Staff

Hello tavarish,

First of all, please check your system status and try to increase all the parameters from there (most likely PHP memory) for good performance in the theme. Also, please set all of them according to our documentation here -> https://forum.tagdiv.com/system-status-parameters-guide/ Very important for your website is our requirements regarding on your dedicated server. For more information about this, please consult here -> https://forum.tagdiv.com/requirements-for-newspaper/
This type of function wpt_view_count, does not come from our theme code and do not request the admin-ajax.php I suspect it coming from your untested plugins or also you have some embedded code added to your theme which causes this. To rule conflicting plugins, please try to disable all the active plugins, leave just Visual Composer to active, clear all your caches and install only the plugin that comes bundled with our theme.

Hope this helps!

Thanks for your understanding!

Catalin
tagDiv Staff

Hello Psicorockgia,

First of all, please use this guide to increase your memory allocation: https://forum.tagdiv.com/system-status-parameters-guide/ and also, please ensure that all your modification were been saved. Also, please provide your website URL so I can inspect it closer….you can provide some useful screenshot where you can specify the exact place where you add a space and it does not appear on your end.

Thanks for the message!

Andrei L.
tagDiv Member

HI

Please make sure that you’re using V 4.1 of social counter and also make sure that you have set it up according with our documentation: https://forum.tagdiv.com/tagdiv-social-counter-tutorial-2/ clear the cache memory then test the site again.

Let us know how it goes.
Thanks!

Catalin
tagDiv Staff

Hello jsabellico,

I assume that you are referring to the thumbnails which our theme generates them automatically, right? Please notice that the theme uses some thumbnails for your images according to what type of block you are using. You can disable the thumbnails which you do not use from the Theme panel, like this -> http://screencast.com/t/CTQCxCpst If you disable some of these, the theme will not generate these images and you can save the space from your memory.

If is not what you mean, please provide more details so I will be able to provide a more accurate response.

Thanks for your understanding!

Bogdan B.
tagDiv Staff

Hello,

Please use this guide to increase your memory allocation: https://forum.tagdiv.com/system-status-parameters-guide/
Plugins can also affect this so please try to disable all plugins except visual composer, clear cache and reset cdn files if you use it. Then test the upload again.
Alternatively you can also test this on a wp default theme like twentysixteen to rule out theme interference as well.

Let us know how it goes.
Thank you!

Bogdan B.
tagDiv Staff

Hi,
Did you change the system status parameters like I mentioned in my above reply? Please use this guide and change your memory allocation: https://forum.tagdiv.com/system-status-parameters-guide/
You can check your progress here: http://screencast.com/t/VcINH4bclyqT
Also please try to disable all plugins except visual composer, clear cache and reset cdn files if you use it.
Please also contact your server provider and let him know of this and if there is something that can be done from the server-side.
Thank you!

Andrei L.
tagDiv Member

Hi

I’ve checked this on my side and images from Instagram are embedded fine in post content: http://screencast.com/t/xH1EOAJR52lhttp://screencast.com/t/4uNKbDOLLWkPhttp://screencast.com/t/RQhDy3x2

Make sure you embed the images as in above example, clear the cache memory then test again. If the problem persist please provide your site url so we can have a closer look.
Thanks!

MrNix
tagDiv Member

Hi,
I’ve upgraded the hosting package which has now doubled the php memory size but still get the same message. The website in question is http://www.bv-online.com/

Can you recommend anything else? I really need to get the slider working.

Thanks in advance.

Andrei L.
tagDiv Member

Hi

It seems that the image does not exist on your server because the indicated url returns a 404 page not found error: http://screencast.com/t/SuM9z3NTNVd Try to upload the image again, set it to be the favicon, clear the cache memory then test the site again.

Let me know how it goes.
Thanks!

Viewing 25 results - 2,501 through 2,525 (of 3,046 total)