The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Unable to install Xoops

Discussion in 'General Discussion' started by gvard, Jun 14, 2006.

  1. gvard

    gvard Well-Known Member
    PartnerNOC

    Joined:
    Dec 22, 2003
    Messages:
    195
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Athens/GREECE
    cPanel Access Level:
    DataCenter Provider
    Greetings from Greece,

    I've the following error which is serverwide. I'm trying to install Xoops in some hosting accounts in different servers, cPanel displays that the installation is finished but when I'm trying to access http://domain/xoops/ I receive the following error:

    ---Snip!---Snip!---Snip!---Snip!---
    Fatal error: Call to a member function on a non-object in /home/demo3/public_html/xoops/class/theme.php on line 499
    Notice
    PHP:
    Undefined indexenable_badips in file class/xoopssecurity.php line 215
    Notice 
    [PHP]: Undefined indexlanguage in file include/common.php line 152
    Notice 
    [PHP]: Undefined indexlanguage in file include/common.php line 172
    Notice 
    [PHP]: Undefined indexuse_ssl in file include/common.php line 183
    Notice 
    [PHP]: Undefined indexuse_mysession in file include/common.php line 185
    Notice 
    [PHP]: Only variable references should be returned by reference in file kernel/module.php line 1338
    Notice 
    [PHP]: Only variables should be assigned by reference in file include/common.php line 215
    Notice 
    [PHP]: Undefined indexbanners in file include/common.php line 235
    Notice 
    [PHP]: Undefined indexdebug_mode in file include/common.php line 235
    Warning 
    [PHP]: in_array(): Wrong datatype for second argument in file include/common.php line 235
    Notice 
    [PHP]: Undefined indextheme_fromfile in file class/template.php line 66
    Notice 
    [PHP]: Undefined indexsitename in file class/theme.php line 417
    Notice 
    [PHP]: Undefined indexslogan in file class/theme.php line 418
    Notice 
    [PHP]: Only variables should be assigned by reference in file kernel/config.php line 239
    Notice 
    [PHP]: Undefined indexslogan in file class/theme.php line 436
    Notice 
    [PHP]: Undefined indexclosesite in file include/common.php line 238
    Notice 
    [PHP]: Undefined indextheme_set in file class/theme.php line 253
    Notice 
    [PHP]: Undefined indextheme_set in file include/functions.php line 462
    Notice 
    [PHP]: Undefined indexlanguage in file class/theme.php line 263
    Notice 
    [PHP]: Undefined indextheme_set in file include/functions.php line 462
    ---Snip!---Snip!---Snip!---Snip!---


    What can it beIs there something with Xoops tarball distributed via cPanel?
     
  2. WEB-PROS

    WEB-PROS Well-Known Member

    Joined:
    Feb 19, 2006
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    What version of php are you running and do you have Registry_Globals turned off?
     
  3. carock

    carock Well-Known Member

    Joined:
    Sep 25, 2002
    Messages:
    232
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    St. Charles, MO
    This is because the cPanel installer doesn't install the Usermanagement module. If this happens with a manual Xoops install, it appears you can still log in as administrator into your Xoops site and install the module. The cPanel install is completeley non working that I can see. I was unable to login and get html displayed anywhere.

    What I did was download the same install file from Xoops. My cPanel installs Xoops 2.2.3a-Final. I unpacked the Xoops source file, then copied the html/install directory into my cPanel xoops installation. You can then run the installer for Xoops. You will need to first change your mainfile.php permissions to 777 to allow the installer to work right, you will also need to copy one more file from the Xoops download. Copy mainfile.dist.php to your cPanel xoops install directory.

    To run the Xoops installer, type it in your browser. http://www.yourdomain.com/xoops/install/

    Or whatever directory you put in to your cPanel Xoops directory.

    The Xoops installer will keep the same settings from your cPanel xoops install, but you will need to re-enter the admin user and password stuff.

    Near the end, it will ask you what modules to install, it will have check boxes for Private Messaging and User Management. Check both of them and continue.

    Once it's finished, your cPanel xoops install will be working. You should change your mainfile.php permissions back to 644 and delete the install directory.

    Chuck
     
Loading...

Share This Page