magento2 – Magento 2.3.5 admin panel showing blank page

  1. Go to Magento installation root folder.
  2. Then lib->internal->Magento->Framework->View->Element->Template->File->Validator.php
  3. Go to line no 140 and replace the below code

From

If(0 === strpos($realPath, $directory)) {
            return true;
            }

To

$realDirectory = $this->fileDriver->getRealPath($directory);
            if ($realDirectory && 0 === strpos($realPath, $realDirectory)) {
            return true;
            }

Then reload the page admin and frontend issue will resolved.

sharepoint online – Validate a column only if another column is not blank – Excel Formula not working

I need to add a column validation to my list.

The requirement for the validation is that the column (Body) cant be empty if the column (Status) is one of this statuses: “1-Cancelled” or “2-Awaiting Information from Requester”.

I tested the below formula in Excel which is working, but not working in the SharePoint.

=NOT(
AND(
OR(
(Status)="1-Cancelled",(Status)="2-Awaiting Information from Requester"), ISBLANK((Body))
))

Please help me to find the right formula. Thanks in advance

customization – Adding css and js to a blank page created with a custom template

I'm new to wp, just a warning 🙂

I added a new blank page by adding a php file to the Twenty Twenty theme folder with:


Next, I created a new page by choosing the charles template in the admin.

Now in my new blank page I can see the content of the new plugin I am creating, what I want. So great so far.

But now i need to add a custom css file, a custom js file and a call to the jquery cdn url. I tried trying to change twenty-twenty functions.php by adding:

function wpdocs_charles_scripts() {
    wp_enqueue_style( 'myStyle', get_stylesheet_uri() );
    wp_enqueue_script( 'myScript', get_template_directory_uri() . '/myFiles/myScript.js', array(), '1.0.0', true );
}
add_action( 'wp_enqueue_scripts', 'wpdocs_charles_scripts' );

But it doesn't work for my http: // localhost / wordpress / charles /
I have also tried using Simple Custom CSS and JS but this changes the styles of the whole page but not the styles in charles.

My last try in my new php plugin:

add_action('init', 'register_script');
function register_script() {
    wp_register_script( 'myScript', plugins_url('/myFiles/myScript.js', __FILE__), array('jquery'), '2.5.1' );

    wp_register_style( 'myStyle', plugins_url('/myFiles/myStyle.css', __FILE__), false, '1.0.0', 'all');
}

add_action('wp_enqueue_scripts', 'enqueue_style');

function enqueue_style(){
   wp_enqueue_script('myScript');

   wp_enqueue_style( 'myStyle' );
}

Please help me, I think I am missing something basic.

thank you so much

magento 1.9 – Website showing a blank page. Fatal PHP error: unable to redeclare palettes ()

My magenta store was working but suddenly only shows a blank screen. Cannot access the backend either.

I get the following error:

Fatal error: unable to redeclare the palette () (previously declared in /var/www/html/lib/Varien/Autoload.php:174) in /var/www/html/lib/Varien/Object.php

Can anyone point me in the right direction to correct this, please?

magento2 – The Magento 2 default catalog search page did not work. this is a blank page present

I have defined a new theme and all pages work fine, but the catalog search page is empty ….

Here I am announcing my

/ public_html / app / design / frontend / {Vendor} / {Project} / Magento_CatalogSearch / layout
Default.XMl

    


    
        
            
        
        
            
                
                    Advanced Search
                    catalogsearch/advanced
                    
                        advanced-search
                    
                
            
        
    

Front image

http://prntscr.com/sb9kok

Why can I see my site but others can't or do they see a blank screen? [closed]

Does this have to do with the fact that I am using elementor to edit my page? This happened before after making changes to the page and saving. Then I tried to clear the server side cache and the problem is gone. But this time, he does not seem to remedy it.

wordpress – Why can I see my site, but others can't or do they see a blank screen?

Does this have to do with the fact that I am using elementor to edit my page? This happened before after making changes to the page and saving. Then I tried to clear the server side cache and the problem is gone. But this time, he doesn't seem to be remedying it.

https://virusoutbreak.info/

Can you help verify if you can visit it and see it displayed correctly?

Thank you all

javascript – How to insert target _blank in this java script code?

I would appreciate help to open the pages in a new tab.
I have this code below, where and how is target_blank placed?

 else{
                  if(result(i)('link')=="")
                  {
                    htmlToInsert += "Jogar";
                  }
                  else
                  {
                    htmlToInsert += "Jogar";
                  }

tightvnc – tigervnc displays a blank screen on Fedora 31

I have configured tigervnc-server on a Fedora workstation and when I connect via VNC Viewer from macOS or vncviewer from another Fedora workstation, all I get is a blank screen and sometimes a mouse pointer that does not move.

I have looked at a bunch of forums and this seems to be a common problem, but all of the information is quite old and out of date with the latest way tigervnc-server is configured with systemd and gdm.

In this particular case, I chose to install tigervnc-server using the user service manager (the RHEL8 process https://access.redhat.com/solutions / 4201371)) – so it works in the user area.

I'm sure this is related to gdm – but this is one area I'm weak at, so I'm looking for suggestions.
Thank you

macbook pro – Every window is blank when I take a screenshot

When I take a screenshot, all pages and items on the desktop are blank as shown in the image below.

enter description of image here

But when I go into safe mode, it works

MacBook Pro (17 inch, mid-2010)

High Sierra 10.13.6 (17G11023)

2.53 GHz Intel Core i5

8 GB 1067 MHz DDR3 memory

Intel HD Graphics 288 MB

** Sorry for typos English is not my first language