<?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[PHP Memory Limit e Sobi2]]></title><description><![CDATA[<p dir="auto">Salve a tutti,<br />
ho un grandissimo problema con il componente sobi2 installato su joomla 1.5 nella gestione delle schede ho la necessità<br />
di inserire 1 filmato da youtube e quattro immagini cosa che su altri server è possibile su TopHost mi dà il seguente errore:</p>
<ol>
<li>Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /home/mhd-01/ciociariaonclick/htdocs/components/com_sobi2/includes/fsystem.class.php on line 80</li>
<li>Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /home/mhd-01/ciociariaonclick/htdocs/components/com_sobi2/includes/fsystem.class.php on line 50<br />
Ho provato a modificare sia il php.ini che il php5.ini così:<br />
memory_limit=80M<br />
post_max_size=60M<br />
upload_max_filesize=48M<br />
display_errors = On<br />
error_reporting = E_ALL &amp; ~E_NOTICE</li>
</ol>
<p dir="auto">ho provato a modificare anche l' .htaccess così come il file fsystem.class.php ma senza alcun risultato.</p>
<p dir="auto">Il file file fsystem.class.php alla riga 80 entra in questa funzione :<br />
Errore 1)<br />
function checkPNGImage( $icon, $alt, $style = null, $class = null, $title = null )<br />
{<br />
$config =&amp; sobi2Config::getInstance();<br />
$class = $class ? "class='{$class}'" : null;<br />
$style2 = $style ? "style="{$style}"" : null;<br />
RIGA 80 $title = $title ? "title="{$title}"" : null;<br />
$image = "&lt;img src="{$icon}" alt="{$alt}" {$class} {$title} {$style2}/&gt;";<br />
if( !$config-&gt;key("general", "use_png_fix", true ) ) {<br />
return $image;<br />
}</p>
<p dir="auto">Errore 2)<br />
// set mode<br />
$origmask = umask( 0 );<br />
if( $config-&gt;dmod ) {<br />
$mode = octdec( $config-&gt;dmod );<br />
}<br />
else {<br />
$mode = ( 0777 - $origmask );<br />
}<br />
$parts = explode( DS, $path );<br />
$n = count( $parts );<br />
$ret = true;<br />
if ( $n &lt; 1 ) {<br />
$ret = mkdir( $base, $mode) ;<br />
}<br />
else {<br />
RIGA 50 $path = $base;<br />
for ($i = 0; $i &lt; $n; $i++) {<br />
$path .= $parts[$i] . DS;<br />
if ( !file_exists( $path ) ) {<br />
if ( !mkdir( substr( $path,0,-1 ), $mode ) ) {<br />
$ret = false;<br />
break;<br />
}<br />
}<br />
}<br />
}</p>
<p dir="auto">Vi ringrazio ed attendo un pò di aiuto:bho:<img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/android/274c.png?v=bb61372b9dc" class="not-responsive emoji emoji-android emoji--x" style="height:1.4em;width:auto;vertical-align:middle" title=":x:" alt="❌" />o<br />
mrzpro</p>
]]></description><link>https://dev.connect.gt/topic/107335/php-memory-limit-e-sobi2</link><generator>RSS for Node</generator><lastBuildDate>Wed, 25 Nov 2026 12:55:40 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/107335.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 29 Jul 2009 14:08:32 GMT</pubDate><ttl>60</ttl></channel></rss>