<?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>
<p dir="auto">[PHP]&lt;?php<br />
// Protection contre les appels directs.<br />
defined("_JEXEC") or die("Restricted access");<br />
function modChrome_joomspirit($module, &amp;$params, &amp;$attribs) {<br />
// init vars<br />
$showtitle = $module-&gt;showtitle;<br />
$content   = $module-&gt;content;<br />
$suffix    = '';<br />
$badge      ='';<br />
// create title<br />
$pos   = JString::strpos($module-&gt;title, ' ');<br />
$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;</p>
<p dir="auto">// force module type<br />
if ($module-&gt;position == 'logo')  $suffix = 'logo';<br />
if ($module-&gt;position == 'left')  $suffix = 'normal';<br />
if ($module-&gt;position == 'right')  $suffix = 'normal';<br />
if ($module-&gt;position == 'user1')  $suffix = 'normal';<br />
if ($module-&gt;position == 'user2')  $suffix = 'normal';<br />
if ($module-&gt;position == 'user3')  $suffix = 'normal';<br />
if ($module-&gt;position == 'user4')  $suffix = 'normal';<br />
if ($module-&gt;position == 'user5')  $suffix = 'normal';<br />
if ($module-&gt;position == 'user6')  $suffix = 'normal';</p>
<p dir="auto">// set module skeleton using the suffix<br />
switch ($suffix) {<br />
case 'logo':<br />
$skeleton = 'logo';<br />
break;<br />
case 'normal':<br />
$skeleton = 'normal';<br />
break;<br />
case 'blank':<br />
default:<br />
$skeleton = 'not defined';<br />
}<br />
// Modules<br />
switch ($skeleton) {<br />
case 'logo':<br />
/*<br />
* logo module<br />
*/<br />
?&gt;<br />
&lt;a href="index.php"&gt;<br />
&lt;?php echo $content; ?&gt;</p>
<pre><code>     &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;
</code></pre>
<h2>}<br />
}<br />
?&gt;[/PHP]</h2>
<p dir="auto">grazie in anticipo per chiunque voglia aiutarmi</p>
]]></description><link>https://connect.gt/topic/148868/errore-sintassi-php-dopo-trasferimento-da-altervista-ad-aruba</link><generator>RSS for Node</generator><lastBuildDate>Sat, 23 May 2026 21:40:08 GMT</lastBuildDate><atom:link href="https://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>