Post

Problema file .htaccess con Aruba

Immagine
Oggi parliamo di un problema molto ricorrente che si verifica quando vogliamo installare Joomla! su un server, in particolare quando vogliamo installare Joomla su Aruba e tentiamo di ottimizzare le configurazioni SEO. Dopo aver proceduto a intallare joomla su Aruba, ci rechiamo nel nostro pannello di Amministratore, andiamo in configurazione e alla vostra destra avrete l’immagine che vi ho messo in alto. Joomla vi suggerisce, per avere una migliore visibilità sui motori di ricerca di fare 3 cose: la prima è quella di far generare al sistema delle url più leggibili per i motori di ricerca (esempio prova-jooma invece che 23?-33), la seconda opzione riguarda la rescrizione totale delle url (tipo prova-joomla.html) e infine la terza ci dice di aggiungere i suffissi alle url, cioè .html. In sisntesi sono operazioni importanti che dobbiamo fare qualora volessimo che il nostro sito internet abbia visibilità sui motori di ricerca, il problema però si pone sul secondo suggerimento,...

Joomla: how to connect to an EXTERNAL DB

Installing and Configuring Install the plugin called externaldb , then make sure you enable it! In Plugin Manager, configure your external database details for the database(s) you need.  DSN: Your name for the database to be used later on Hostname: Host where the MySQL server is Port Number: Defaults to 3306, but can change if needed Username / Password : Authentication details for the database Database Name: Name of the MySQL database to use Implementing The following code is a solution to using external databases. There is no way of using this without modifying some code. That out of the way, here's how to use it in that code. You can use Jumi module to insert PHP code in your article in joomla page. ExternalDB simply creates a new jDatabase object with your given connection details - nothing clever but simple to maintain connection details. Here's a sample of code from one of our components... // Create new ExternalDB instance, using the details tha...

Errore di Spooler SubSystem App su windows xp

Errore: Si  verificato un problema che ha richiesto la chiusura di Spooler SubSystem App Soluzione: 1) arrestare il servizio "Spooler di Stampa": start-> pannello di controllo-> strumenti di amministrazione-> servizi cercare il servizio "Spooler di Stampa" , cliccarci sopra con il tasto destro e cliccare su arresta 2) Cancellare tutti i file nella cartella: C:\WINDOWS\system32\spool\PRINTERS 3) tornare sul servizio "Spooler di Stampa" e cliccando con il tasto destro scegliere avvia 4) Aprire la cartella stampanti e fax per controllare che non appaia più l'errore 5) Eseguire una prova di stampa da ognuna delle stampanti installate e cancellare quella che genera di nuovo l'errore. A questo punto si deve ripetere la procedura dal punto 1. Alternativa: da Stampanti e Fax - clic con il destro sulla stampante - Avanzate e togliere il flag da "Stampa prima i documenti nello spooler"

Attenzione: il servizio smart card non è attivo.

A volte capita che quando si inserisce una smart card all'interno del PC, quest'ultimo mostra una notifica dove vi è scritto:"Attenzione: il servizio smart card non è attivo.". Controllando dentro i servizi di Windows, mi accorgo che invece il servizio è attivo!!!! (Per controllare i servizi di Windows cliccare su START->esegui e scrivere services.msc e premere invio.) A questo punto bisogna riparare i componenti di Windows nel seguente modo: Start > tutti i programmi > accessori, clicca destro su "prompt dei comandi" e scegli "esegui come amministratore". Nella finestra digita: sfc /scannow e dai invio. Attendi la fine del processo e riavvia.

Utilizzo di PostgreSQL

Immagine
Prima di cominciare a parlare dell'argomento, su questo link potete trovare tutte le differenze tra MySQL e PostegreSQL. L'utente  postgres  (del database, non del sistema ospite) è l'amministratore del database stesso e per default ha tutti i privilegi. Alcune operazioni possono essere fatte con apposite utility da riga di comando, altre invece si devono fare dal monitor interattivo  psql  (applicazione client). In entrambi i casi il server PostgreSQL deve essere in funzione.

Linux: how to mount Windows shared folder

In this article I explain how to mount Windows shared folder in linux Ubuntu (this is the same in the other linux versions). First of all, install smbfs packet: open the terminal and write  sudo apt-get install smbfs Now, we have to create the folder where is possible to make the share: sudo mkdir /mnt/windows At this point, we can mount the share folder sudo mount -t smbfs -o username=YOUR_USER,password=YOUR_PASSWORD //IP_ADDRESS/SHARED_NAME_FOLDER /mnt/windows replace YOUR_USER and YOUR_PASSWORD  with Windows user and the relative Password replace IP_ADDRESS with the Ip address of Windows machine replace /SHARED_NAME_FOLDER with the windows shared folder

Outlook 2003: Errore registrazione OLE. Applicazione non installata correttamente. Ripetere l’installazione.

Ho disinstallato Office 2007 Professional e poi ho installato Outlook 2003. Quando faccio Invia/Ricevi mi compare il seguente messaggio di errore: "Errore registrazione OLE. Applicazione non installata correttamente. Ripetere l’installazione." Soluzione: Andate sul tasto Invia/Ricevi e cliccate sulla freccetta in basso per aprire il menù Andate su Impostazioni di invio / ricezione, quindi deselezione “cartella disponibile per modalità non in linea” Ripetete l’operazione del punto 2, riabilitando quindi la disponibilità non in linea :)

How to change "Computer Description" in Windows with command line

If you want to change Computer Description with command line in a Windows PC that is connected in a domain, you need to use: net config server /srvcomment:"computer description" You can do it by remote connection using the following command: psexec \\computer_name cmd.exe It's similar to SSH command for Linux

How to send e-mail using PHP and mail() with Linux Debian

Note: This is tested and proven to work on Debian Squeeze (stable) If you are a web-admin or a PHP developer hosting on your own servers you might have found out that PHP mail() function does not work out of the box in Debian unless you have installed Exim (default MTA for Debian Squeeze), sendmail or some other MTA. Most of the time this is OK, but when you really don't want to mix a mailserver with your webserver this is going to be a problem. In php.ini file there is a SMTP configuration value that you can set which is misleading. Even though you set the SMTP value, PHP mail() function will not connect directly to the SMTP server and relay emails rather it depends heavily on sendmail program which can be set via the sendmail_path configuration value. In conclusion you'll have to have a working sendmail program if you want to use PHP mail() function. So rather than using a complete MTA just to relay emails to your mailserver you can use SSMTP which is a send-only send...

How to install VNC Server on Xfce 4

The following will allow vnc to start a X desktop. Install VNCServer  apt-get install vnc4server Config for xfce to start with vncserver mkdir /etc/vnc vi /etc/vnc/xstartup //add in the following: startxfce4 Start VNC Session vncserver  The first time a user goes "vncserver" from the cli, they will be asked for a password. This will be saved in ~/.vnc/passwd There will also be other log files in ~/.vnc/ Note, you can edit on a per user basis xstartup, however in the Config above, I added startxfce4 to the global file. Kill VNC   sessionvncserver -kill :1