php – Why do I get the "Cannot output to Linux server" error when using MPDF?

I just migrated from the server and found a problem with MPDF. It turns out that I have a script that creates PDF documents and saves them in a folder on my server called Documents

I have already made sure that my folder has the necessary permissions. Your permissions are 777,

I don't know if it has anything to do with parent folder permissions because they have different permissions.

The error that mpdf returns is the following:

An unrecognized exception was found

Type: MpdfException

Message: Cannot create output file:

As further information I use Ubuntu Server 18.04.

The part of my PHP script that works on another server with cpanel (but doesn't work on this new server with Ubuntu 18.04) is the following:

$path_name = __DIR__ . "/../../assets/cdn/documentos/" . $file_name . ".pdf";

$mpdf->Output($path_name, "F");  

I hope you can help me fix the problem. I have already tried to delete and create the folder using the console or FTP and it does not work. Thank you very much

What does "Connecting to the Internet via proxy server" mean?

Sometimes in my school, websites are only accessible when connected to a proxy server provided by the school. If the proxy server settings are not configured in Firefox / Chrome, we can not connect to the Internet and access the sites.

I'm trying to understand how a proxy server like this works. However, I can not find much success on the internet.

My main concern is that when connected to the internet, I should be able to access the site through the browser. Why does traffic have to be routed through the proxy server so I can access websites?

SharePoint Personnel Picking Error "Sorry we could not reach the server"

My users face errors in SharePoint 2016 when trying to add more than 15 users to share a file / folder. However, this error occurs intermittently and has different results on different network connections. I have extended the timeout from standard 25s to 60s. After that, the problem occurs again when a user adds names to the People Picker, left the computer inactive for a while, and when he comes back to add more names, he encounters the error message.

Does the network connection have anything to do with the People Picker extracting names from AD? Is it normal for the people picker to time out if it is not used for a long time? How can users prevent this error from occurring again?

WordPress FTP Error: "Unable to connect to FTP server"

I have a problem that I want to fix for two days. I searched the internet and tried to apply several suggestions from other posters.

So I have a selfhosting webserver: CentOS7, Apache, PHP, MariaDB, OpenSSH and Pure-FTPd.

I found a nice guide that combines MariaDB and Pure-FTPd. I've used vsftp before, but later I found using the database to store valid FTP users more robust and convenient.

So I successfully set up the FTP server and logged in to FileZilla from a remote client. I also managed to copy files and create a folder in the "wp-content" folder of WordPress. However, when I try to use the internal FTP solution from WordPress, I get the error message "Unable to connect to FTP server". I was able to upload plugins with: define (& # 39; FSMETHOD & # 39 ;, & # 39; directly & # 39;); Option in file wp-config.php. That worked and the plugin was successfully installed. However, I have read that this is not a safe option. I'm aware that airplane FTP is not the safe way, but I want it to work before you switch to the FTPS variant.

I also tried to paste this block into wp-config.php (essentially prefilled FTP data):
define (& # 39; FS_METHOD & # 39 ;, & text; & # 39;);
define (& # 39; FTP_BASE & # 39 ;, & # 39; / path / to / wordpress / & # 39;);
define (& # 39; FTP_CONTENT_DIR & # 39 ;, & # 39; / path / to / wordpress / wp-content / & # 39;);
define (& # 39; FTP_PLUGIN_DIR & # 39 ;, path / to / wordpress / wp-content / plugins / & # 39;);
define (& # 39; FTP_USER & # 39 ;, & # 39; username & # 39;);
define (& # 39; FTP_PASS & # 39 ;, & # 39; password & # 39;);
define (& # 39; FTP_HOST & # 39 ;, & # 39; & # 39;);
define (& # 39; FTP_SSL & # 39 ;, wrong);

That did not work either.

Tl.: DR.: FTP works well with FileZilla (can connect to the server and see the wp folder), but using the WP-internal FTP solution will display an error.

I've tried all the folders that define ownership of "Apache: Apache" and myUser: myGroup (Apache, which belongs to my group).
WordPress permissions:
find / var / www / -type d -exec chmod 755 {} ;
find / var / www / -type f -exec chmod 644 {} ;

as well as
find / var / www / -type d -exec chmod 775 {} ;
find / var / www / -type f -exec chmod 664 {} ;

Nothing worked. I'm really out of ideas here.

Enter the image description here

"Keyword not supported: server" error when using the ADO.NET connection string to connect to Azure DB

I have an ASP.Net project that I executed. I've added a database to Azure, and Azure has generated a connection string for the database. However, when I run the application, I get an error message saying that the server Keyword within the string is not supported. Here is my connection string:

/ ** /

/ ** /

I analyzed the answer here, but could not figure out what my possible string should look like.

How should I structure my string?