21
ukandrewf
Re: SITE DOWN :(
  • 2009/4/21 22:43

  • ukandrewf

  • Friend of XOOPS

  • Posts: 198

  • Since: 2002/12/2


i should be running the latest 2.3.x version of xoops.

I was using the old 1.x.x.x distro on my first live server and this started causing the host problems so they booted me onto a scripting server. Here i had the site working ok and upgraded to 2.3.x. and again all worked fine. Then they moved me back to a live server (different server) and i get this error message.

I really need so help with this one.

It could be caused by a php version problem i can look into this.

Below is what my index file looks like. (line 25 is 'include "mainfile.php";')

/**
 * XOOPS global index file
 *
 * You may not change or alter any portion of this comment or credits
 * of supporting developers from this source code or any supporting source code 
 * which is considered copyrighted (c) material of the original comment or credit authors.
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 *
 * @copyright       The XOOPS Project http://sourceforge.net/projects/xoops/
 * @license         http://www.fsf.org/copyleft/gpl.html GNU public license
 * @package         core
 * @since           2.0.0
 * @author          Kazumi Ono 
 * @author          Skalpa Keo 
 * @author          Taiwen Jiang 
 * @version         $Id: index.php 2712 2009-01-22 10:06:01Z phppp $
 */
 
/**
 * redirects to installation, if XOOPS is not installed yet
 **/
include "mainfile.php";

//check if start page is defined
if ( isset($xoopsConfig['startpage']) && $xoopsConfig['startpage'] != "" && $xoopsConfig['startpage'] != "--" ) {

    
// Temporary solution for start page redirection
    
define("XOOPS_STARTPAGE_REDIRECTED"1);
    
    global 
$xoopsModuleConfig;
    
$module_handler =& xoops_gethandler('module');
    
$xoopsModule =& $module_handler->getByDirname($xoopsConfig['startpage']);
    if (!
$xoopsModule || !$xoopsModule->getVar('isactive')) {
        include_once 
XOOPS_ROOT_PATH "/header.php";
        echo 
"

_MODULENOEXIST "

"
;
        include_once 
XOOPS_ROOT_PATH "/footer.php";
        exit();
    }
    
$moduleperm_handler =& xoops_gethandler('groupperm');
    if (
$xoopsUser) {
        if (!
$moduleperm_handler->checkRight('module_read'$xoopsModule->getVar('mid'), $xoopsUser->getGroups())) {
            
redirect_header(XOOPS_URL1_NOPERMfalse);
            exit();
        }
        
$xoopsUserIsAdmin $xoopsUser->isAdmin($xoopsModule->getVar('mid'));
    } else {
        if (!
$moduleperm_handler->checkRight('module_read'$xoopsModule->getVar('mid'), XOOPS_GROUP_ANONYMOUS)) {
            
redirect_header(XOOPS_URL "/user.php"1_NOPERM);
            exit();
        }
    }
    if (
$xoopsModule->getVar('hasconfig') == || $xoopsModule->getVar('hascomments') == || $xoopsModule->getVar'hasnotification' ) == 1) {
        
$xoopsModuleConfig $config_handler->getConfigsByCat(0$xoopsModule->getVar('mid'));
    }
    
    
chdir'modules/' $xoopsConfig['startpage'] . '/' );
    
xoops_loadLanguage('main'$xoopsModule->getVar('dirname''n'));
    
$parsed parse_url(XOOPS_URL);
    
$url = isset($parsed['scheme']) ? $parsed['scheme'].'://' 'http://';
    if ( isset( 
$parsed['host'] ) ) {
        
$url .= $parsed['host'];
        if ( isset( 
$parsed['port'] ) ) {
            
$url .= ':' $parsed['port'];
        }
    } else {
        
$url .= $_SERVER['HTTP_HOST'];
    }
    
    
$_SERVER['REQUEST_URI'] = substr(XOOPS_URLstrlen($url)) . '/modules/' $xoopsConfig['startpage'] . '/index.php';
    include 
XOOPS_ROOT_PATH '/modules/' $xoopsConfig['startpage'] . '/index.php';
    exit();
} else {
    
$xoopsOption['show_cblock'] =1;
    
$xoopsOption['template_main'] = "db:system_homepage.html";
    include 
"header.php";
    include 
"footer.php";
}
?>


and the mainfile.php looks a bit like this (edited on paths for security).
// XOOPS Physical Paths

    // Physical path to the XOOPS documents (served) directory WITHOUT trailing slash
    
define'XOOPS_ROOT_PATH''/physicalpathtomysite/colournation.com/user/htdocs' );

    
// For forward compatibility
    // Physical path to the XOOPS library directory WITHOUT trailing slash
    
define'XOOPS_PATH''/physicalpathtomysite/colournation.com/user/htdocs/xoops_lib' );
    
// Physical path to the XOOPS datafiles (writable) directory WITHOUT trailing slash
    
define'XOOPS_VAR_PATH''/physicalpathtomysite/colournation.com/user/htdocs/xoops_data' );
    
// Alias of XOOPS_PATH, for compatibility, temporary solution
    
define("XOOPS_TRUST_PATH"XOOPS_PATH);

    
// XOOPS Virtual Path (URL)
    // Virtual path to your main XOOPS directory WITHOUT trailing slash
    // Example: define( 'XOOPS_URL', 'http://www.colournation.com' );
    
define'XOOPS_URL''http://www.colournation.com' );


and can you confirm that this is the look for mailnfile.php for the latest version 2.3.x of xoops?

Last time to swap servers all i had to do was to change the physical path and it all worked again.

Andrew



22
ukandrewf
SITE DOWN :(
  • 2009/4/21 15:02

  • ukandrewf

  • Friend of XOOPS

  • Posts: 198

  • Since: 2002/12/2


'Notice: Undefined variable: HTTP_SERVER_VARS in /home/domains/html/index.php on line 25

is pending on this server. Please allow up to two minutes for to become fully active.'

has been like this for 24 hours :(

my site http://www.colournation.com was on an live server then had problems so had to go to a scripting server and then back to a live server.

back on the live server i'm now getting this error.

Any ideas?



23
ukandrewf
Re: Modules NOT working with XOOPS 2.3
  • 2009/3/27 23:24

  • ukandrewf

  • Friend of XOOPS

  • Posts: 198

  • Since: 2002/12/2


Thanks for the replies all :) very helpful.

inregards to jph000's suggested alternatives do these installed over the exitsing the modules - upgrading them (and keeping the orginal data) or do we have to rebuild?

thanks

Andrew



24
ukandrewf
Re: Modules NOT working with XOOPS 2.3
  • 2009/3/27 12:04

  • ukandrewf

  • Friend of XOOPS

  • Posts: 198

  • Since: 2002/12/2


xoopsfaq 1.1
news 1.1
mylinks 1.1

are there any fixes available for these three modules to get them working with 2.3.x. jph000 suggests the latter two may have newer versions which are compatible but i could not find them.

thanks

Andrew



25
ukandrewf
Re: Latest MultiMenu (for xoops 2.3.x)
  • 2009/3/26 11:18

  • ukandrewf

  • Friend of XOOPS

  • Posts: 198

  • Since: 2002/12/2


thanks so much :)

it was specified in templates\include\multimenu_dyn_vertical.html and easily fixed, shame it wasn't specified in the admin rather than hard coded but I'm glad it's fixed now ;)

Andrew



26
ukandrewf
Re: Latest MultiMenu (for xoops 2.3.x)
  • 2009/3/26 8:06

  • ukandrewf

  • Friend of XOOPS

  • Posts: 198

  • Since: 2002/12/2


i did consider that sort of fix.. but that text is not in the mulitimenu box which is causing the problem.

I tried it on '+ NEW Brazilian Straightening' the only text on two lines in that menu box, reducing to '+ NEW Brazilian' but this had no affect - somewhere the size of the box is being stipulated and i need to adjust it's size. changing the style of the menu doesn't help either.

Andrew



27
ukandrewf
Re: Latest MultiMenu (for xoops 2.3.x)
  • 2009/3/25 20:02

  • ukandrewf

  • Friend of XOOPS

  • Posts: 198

  • Since: 2002/12/2


I'm having a problem with this beta install.

The block width is too wide for my site. How /where can i change it?

check the top left block on http://www.colournation.com to see what i mean. I think i want it 145 pixels wide.

any ideas?

Andrew



28
ukandrewf
IE8 and xoops
  • 2009/2/2 20:25

  • ukandrewf

  • Friend of XOOPS

  • Posts: 198

  • Since: 2002/12/2


Hi there,

I can't believe that I'm the first person to ask an IE8 question?

Anyway just downloaded IE8 and my site's left block group appear wider than they should - can any one a bit more techi tell me a) what html tag is likley causing this problem and b) where it's likley to reside for me to go in and adjust it. (http://www.colournation.com)

BTW everytime i tried to get to the xoop.org site in IE8 the browser tab crashed and restarted - like 20 times - so maybe it's not just me who's in trouble. :)

thanks all

Andrew



29
ukandrewf
CBB 4.0 (Maximum 0 px): error image width
  • 2008/8/12 18:58

  • ukandrewf

  • Friend of XOOPS

  • Posts: 198

  • Since: 2002/12/2


On my site http://www.colournation.com

I am using CBB 4.0 here:-

http://www.colournation.com/modules/newbb/

everything works fine but users can't upload images an error comes back saying...

'File width too large (Maximum 0 px): 300 px..'

I can't find anywhere where the max width is set to zero. Can you tell me where this might be set (not in preferences as far as i can see).

It does appear that this forum may have a similar bug, uploading images seems to time out.

thanks

Andrew



30
ukandrewf
Re: cbb File width too large (Maximum 0 px): 368 px
  • 2008/8/12 18:11

  • ukandrewf

  • Friend of XOOPS

  • Posts: 198

  • Since: 2002/12/2


this is still and issue for me has anyone else got this issue or better yet found a fix? I don't know where the max width criteria is being set (none in CBB show 0 for max width).

Andrew




TopTop
« 1 2 (3) 4 5 6 ... 17 »



Login

Who's Online

168 user(s) are online (116 user(s) are browsing Support Forums)


Members: 0


Guests: 168


more...

Donat-O-Meter

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

Latest GitHub Commits