<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Errore Sintassi php dopo trasferimento da Altervista ad Aruba]]></title><description><![CDATA[<p dir="auto">salve a tutti, ho creato un sito internet (il primo con joomla) appoggiato su Altervista e li funzionava correttamente, poi dovendolo trasferire su ARUBA (server Linux compatibile con joomla) ho eseguito il backup con il componente  "JoomlaPack" ho installato quindi il tutto su  ARUBA e l'installazione non mi ha dato problemi ma ora all'apertura della pagina web del sito mi esce questo errore:</p>
<p dir="auto"><strong>Parse error: syntax error, unexpected T_CASE in /web/htdocs/NOME SITO/home/templates/joomspirit_18/html/modules.php on line 1</strong></p>
<h2>non capisco cosa voglia dire, vi incollo il codice della pagina che menziona:</h2>
<pre><code class="language-php">&lt;?php
// Protection contre les appels directs.
defined("_JEXEC") or die("Restricted access");
function modChrome_joomspirit($module, &amp;$params, &amp;$attribs) {
      // init vars
   $showtitle = $module-&gt;showtitle;
   $content   = $module-&gt;content;
   $suffix    = '';
   $badge      ='';
   // create title
   $pos   = JString::strpos($module-&gt;title, ' ');
   $title = ($pos !== false) ? '&lt;span&gt;'.JString::substr($module-&gt;title, 0, $pos).'&lt;/span&gt;'.JString::substr($module-&gt;title, $pos) : $module-&gt;title;
 
   // force module type
   if ($module-&gt;position == 'logo')  $suffix = 'logo';
   if ($module-&gt;position == 'left')  $suffix = 'normal';
   if ($module-&gt;position == 'right')  $suffix = 'normal';   
   if ($module-&gt;position == 'user1')  $suffix = 'normal';
   if ($module-&gt;position == 'user2')  $suffix = 'normal';
   if ($module-&gt;position == 'user3')  $suffix = 'normal';
   if ($module-&gt;position == 'user4')  $suffix = 'normal';
   if ($module-&gt;position == 'user5')  $suffix = 'normal';
   if ($module-&gt;position == 'user6')  $suffix = 'normal';
   
   // set module skeleton using the suffix
   switch ($suffix) {
      case 'logo':
         $skeleton = 'logo';
         break;
      case 'normal':
         $skeleton = 'normal';
         break;
      case 'blank':
      default:
         $skeleton = 'not defined';
   }
   // Modules
   switch ($skeleton) {
      case 'logo':
         /*
          * logo module
          */
         ?&gt;
            &lt;a href="index.php"&gt;
            &lt;?php echo $content; ?&gt;
            [/url]
         
         &lt;?php
         break;
      case 'normal':
         /*
          * normal
          */
         ?&gt;
         &lt;div class="moduletable&lt;?php echo $params-&gt;get('moduleclass_sfx'); ?&gt;" &gt;
            
               &lt;?php if ($showtitle) : ?&gt;
               &lt;h3 class="module"&gt;&lt;?php echo $title; ?&gt;&lt;/h3&gt;
               &lt;?php endif; ?&gt;
         
               &lt;div class="content-module"&gt;
                  &lt;?php echo $content; ?&gt;
               &lt;/div&gt;
            
         &lt;/div&gt;
         &lt;?php
         break;
      default:
         /*
          * not defined
          */
         ?&gt;
         &lt;div class="module &lt;?php echo $suffix; ?&gt;"&gt;
            &lt;?php if ($showtitle) : ?&gt;
            &lt;h3 class="module"&gt;&lt;?php echo $title; ?&gt;&lt;/h3&gt;
            &lt;?php endif; ?&gt;
            &lt;?php echo $content; ?&gt;
         &lt;/div&gt;
         &lt;?php
         break;
   }
}
?&gt;
</code></pre>
<hr />
<p dir="auto">grazie in anticipo per chiunque voglia aiutarmi</p>
]]></description><link>https://dev.connect.gt/topic/148868/errore-sintassi-php-dopo-trasferimento-da-altervista-ad-aruba</link><generator>RSS for Node</generator><lastBuildDate>Tue, 01 Dec 2026 06:34:26 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/148868.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 02 Apr 2011 16:02:21 GMT</pubDate><ttl>60</ttl></channel></rss>