Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • nassimalasfour Friend
    #182370

    I can not add pictures and amendment Appears instead of images, symbols

    http://emultimedia.be/new/index.php/shop.html

    http://emultimedia.be/new/

    Thank you


    1. Capture-d’e769cran-2012-11-18-a768-18.06.42
    2. Capture-d’e769cran-2012-11-18-a768-18.06.14
    3. Capture-d’e769cran-2012-11-18-a768-17.58.46
    Ninja Lead Moderator
    #473438

    I would need to check it directly on your site. Please send pm me with the admin access and ftp account of your site. I will help you out with it.

    Ninja Lead Moderator
    #473862

    Hi nassimalasfour,

    The problem came from the magic_quotes_gpc in php.ini from your server, it is required to be enabled, pls ask your hosting provider to help to turn it on if you don’t have right to edit it or apply following fix:
    <blockquote>Open administrator/index.php file</blockquote>
    add new script


    // turn off Magic Quotes
    if (get_magic_quotes_gpc()) {
    $process = array(&$_GET, &$_POST, &$_COOKIE, &$_REQUEST);
    while (list($key, $val) = each($process)) {
    foreach ($val as $k => $v) {
    unset($process[$key][$k]);
    if (is_array($v)) {
    $process[$key] = $v;
    $process[] = &$process[$key];
    } else {
    $process[$key] = stripslashes($v);
    }
    }
    }
    unset($process);
    }

    <blockquote>Open index.php file</blockquote>
    add new script


    // turn off Magic Quotes
    if (get_magic_quotes_gpc()) {
    $process = array(&$_GET, &$_POST, &$_COOKIE, &$_REQUEST);
    while (list($key, $val) = each($process)) {
    foreach ($val as $k => $v) {
    unset($process[$key][$k]);
    if (is_array($v)) {
    $process[$key] = $v;
    $process[] = &$process[$key];
    } else {
    $process[$key] = stripslashes($v);
    }
    }
    }
    unset($process);
    }

    However, this is only temporary fix, the error would come back if you upgrade new version JOOMLA CORE, so you need to fix it on php.ini file

    About content error show your site, i fixed it on position-2 , please open module which have the same error and apply the same, save it and clean all cache.

    Regards.

    Jason Hill Friend
    #473938

    I think what you meant is that magic_quotes needs to be OFF. Not ‘enabled’;.

    I fixed the issue by adding a php.ini file to both joomla root and joomla admin root. With the line listed below.
    magic_quotes_gpc = Off

    I then added the code below to the htaccess file.

    <IfModule mod_suphp.c>
    suPHP_ConfigPath /home/myusername/public_html/yourJ3folder
    <Files php.ini>
    order allow,deny
    deny from all
    </Files>
    </IfModule>

    Change “myusername” and “yourJ3folder” to your respective folders.

    Hope this helps someone else.

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 3 voices, and was last updated by  Jason Hill 11 years, 12 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum