1
catalin12345
php fatal errors..pls help...

Notice [PHP]: Undefined index: 4images in file modules/system/admin/tplsets/main.php line 90
allready deleted that module and dropped down the file in the database with the extension 4images..
when i log in in admin-templates is not showed corectly and is shows that error with php debug on...also i cannot upload any template...
on the error log of my site is showing:
PHP Fatal error: Call to a member function on a non-object in /home/rodisco/public_html/clubland/modules/system/admin/tplsets/main.php on line 103
from the main.php file from line 87 to 118:
echo '
    ';
    foreach ($tplstats as $moddir => $filecount) {
    $module =& $module_handler->getByDirname($moddir);
    if ($installed_mods[$moddir] > $filecount) {
    $filecount = ''.$filecount.'';
    }
    $modulename = is_object($module) ? $module->getVar('name') : $moddir;
    echo '
  • '.$modulename.' ['._LIST.' ('.$filecount.')]
  • ';
    unset($module);
    }
    $not_installed = array_diff(array_keys($installed_mods), array_keys($tplstats));
    } else {
    $not_installed =& array_keys($installed_mods);
    }
    foreach ($not_installed as $ni) {
    $module =& $module_handler->getByDirname($ni);
    echo '
  • '.$module->getVar('name').' ['._LIST.' (0)] ['._MD_GENERATE.']
  • ';
    }
    echo '
';
echo '['._MD_DOWNLOAD.']
['._CLONE.']';
if ($tplsetname != 'default' && $tplsetname != $xoopsConfig['template_set']) {
echo '
['._DELETE.']';
}
echo '';
if ($tplsetname == $xoopsConfig['template_set']) {
echo ''._MD_DEFAULTTHEME.'';
} else {
echo ' ';
}
echo '';
}
echo '
';
line 90: if ($installed_mods[$moddir] > $filecount) {
line 103:echo '
  • '.$module->getVar('name').' ['._LIST.' (0)] ['._MD_GENERATE.']
  • ';
    ---------------------------------------------------------
    what are wrong there?!!!
    also too more errors after upgrading to 2.2 in this files:
    PHP Notice: Undefined variable: string in /home/rodisco/public_html/clubland/modules/wfsection/class/wfstree.php on line 208
    [Sat Jul 30 22:00:28 2005] [error] PHP Notice: Constant _MB_TITLE already defined in /home/rodisco/public_html/clubland/modules/xoopspartners/language/english/blocks.php on line 35


    2
    catalin12345
    Re: php fatal errors..pls help...

    any solution for those or fixes??!!!thanks anticipately


    3
    catalin12345
    Re: php fatal errors..pls help...

    so how to fix them ??!!


    4
    m0nty
    Re: php fatal errors..pls help...
    • 2005/7/31 15:22

    • m0nty

    • XOOPS is my life!

    • Posts: 3337

    • Since: 2003/10/24


    probably by the looks of it may need an updated patch for 4images to work with XOOPS 2.2

    5
    catalin12345
    Re: php fatal errors..pls help...

    i`ve allready deleted the module 4 images and the tables from the sql file but something remained in the templates of XOOPS about 4images..that i cannot delete or more exactly don`t know from where to delete them....
    you have an update for 4images for 2.2 i` will reupload repuuteed and then dezinstall maybe will work :)
    or any other solution!?


    6
    Herko
    Re: php fatal errors..pls help...
    • 2005/7/31 15:36

    • Herko

    • XOOPS is my life!

    • Posts: 4238

    • Since: 2002/2/4 1


    then how did you delete the module? You didn't uninstall it like a regular moudle? You removed the files and all the database tables?? Then the system looks for the templates but can't find themm...

    Herko

    7
    catalin12345
    Re: php fatal errors..pls help...

    i`ve deactivated the module..
    i`ve uninstall it
    then deleted from the server and delete his tables..
    the templates where in the folder of 4images ...and also haved an template but not in the normal XOOPS template in the obscene template that i have in template but i didn`t use it..
    so how to fix it ?!reupload 4images with all the templates or?!:)and let the folder templates only or?!


    8
    m0nty
    Re: php fatal errors..pls help...
    • 2005/7/31 15:44

    • m0nty

    • XOOPS is my life!

    • Posts: 3337

    • Since: 2003/10/24


    there isn't 1 yet, same as for x-ipb 1.4 (altho i do have a semi functional x-ipb working with 2.2, logins and anonymous works right and users able to post etc, in fact it works fine, but i can't get it to wrap inside XOOPS yet only full page.. profiles aren't sharing information either as i haven't got round to that part yet, but the profile switch between XOOPS methd and ipb does work so does registration. also some slight prob with admincp and timeouts.. but it's nearly there :) )

    as for 4images, check what files 4images overwrites from XOOPS and then replace them with the ones from the XOOPS 2.2 package..

    if that don't ork then it's most likely some orphaned rows in the db still referencing 4images.. also clear the cache folder..

    9
    catalin12345
    Re: php fatal errors..pls help...

    ok good to hear that mate...for ipb!
    no files from 4images patched owerwrites XOOPS files..
    it is used like an module...
    but at one template of XOOPS that i didn`t use i`ve generated when i`ve used 4images you know that html code...
    for that template..
    and i think is still there don`t know how to remove..
    because know i cannot upload no template to XOOPS system before i clean this error..
    maybe something in db still referecing to 4 images but what?!!cache cleared...


    10
    m0nty
    Re: php fatal errors..pls help...
    • 2005/7/31 15:54

    • m0nty

    • XOOPS is my life!

    • Posts: 3337

    • Since: 2003/10/24


    i dunno without seeing the db itself.. :S

    i have to go out in 5 mins to my moms for dinner.. so at mo i can't help.. if ur online later i'll give u a shout on yahoo..

    Login

    Who's Online

    455 user(s) are online (59 user(s) are browsing Support Forums)


    Members: 0


    Guests: 455


    more...

    Donat-O-Meter

    Stats
    Goal: $100.00
    Due Date: Oct 31
    Gross Amount: $0.00
    Net Balance: $0.00
    Left to go: $100.00
    Make donations with PayPal!

    Latest GitHub Commits