1
OnePay
Re: Gzip compression really working ?
  • 2004/8/12 7:22

  • OnePay

  • Just popping in

  • Posts: 9

  • Since: 2003/3/27


In our implementations "$xoopsConfig['gzip_compression']" returns NULL (it is turned on in the admin), so it would not even try to use ob_gzhandler. However, when I remove the complete if-statement and just put "ob_start('ob_gzhandler')" there is no "Content-Encoding: gzip" in the headers. Only after placing the "ob_start('ob_gzhandler')" on the very first line (in the first else-statement) in the "common.php" file it outputs the site using gzip compression.

Note: I have added this to the bug list.



2
OnePay
Re: domain.com & www.domain.com
  • 2004/1/25 21:50

  • OnePay

  • Just popping in

  • Posts: 9

  • Since: 2003/3/27


First: Stewdio, thanks for your words (sometimes these things should indeed be said publicly instead of PM-ed).

DonXoop, your solution is indeed the more correct way to setup a virtual server for this type of situations. However, I am still wanting to try to find the code that causes this error

PS: the /www/ part is because the next release of the site will be located at /www2/ and the next on /www3/ -- we do this so the old site remains live (to prevent linkrot, etc).



3
OnePay
Re: domain.com & www.domain.com
  • 2004/1/24 10:12

  • OnePay

  • Just popping in

  • Posts: 9

  • Since: 2003/3/27


I've now tried three versions (from the CVS) of the header.php file -- no luck.

In the mean time I have updated to 2.0.5.2 and checked out all debug modi and removed all errors/bugs (suggestions/corrections have been send to the development teams).



4
OnePay
Re: domain.com & www.domain.com
  • 2004/1/7 17:49

  • OnePay

  • Just popping in

  • Posts: 9

  • Since: 2003/3/27


Hey mister, if you didn't actualy read my post, please don't write such language to me!

- Debug mode: of course I know how to do that, but in a normal production environment sometimes users get errors (and some don't look pretty; see my comment on that).
- Second: in debug mode the www problem is not solved!

But to get back to the serious subject:

with debug mode on the www issue gives me:

Fatal error: Call to a member function on a non-object in /home/wezepco/public_html/www/header.php on line 112

this line reads:

$xoopsTpl->assign('xoops_pagetitle', $xoopsModule->getVar('name'));

I would still like to see an option in the admin to add/allow multiple access options.

PS: IP's and IP Paths are still used, especially when testing a (backup) server before it goes live.



5
OnePay
domain.com & www.domain.com
  • 2004/1/4 12:34

  • OnePay

  • Just popping in

  • Posts: 9

  • Since: 2003/3/27


When XOOPS is configured on http://www.domain it can not be accessed via domain.com (this could be a feature, but I would prefer - and find it easier - to have XOOPS work with both and also on the IP or IP Path (used by some ISPs)).

Check http://www.Wezep.com and Wezep.com.

PS: Programmers, please properly handle errors so when a user encounters an error and submits it to the webmaster the webmaster actually knows what happened + offer the user information on how to deal with the error/problem (tell them what to do or where to go now/next).



6
OnePay
Re: wf-section & agenda-x in waiting content block
  • 2003/10/29 11:52

  • OnePay

  • Just popping in

  • Posts: 9

  • Since: 2003/3/27


For those of us who do not know where this code should be applied or how; here the following info:

if ($module_handler->getCount(new Criteria('dirname''agendax')))
    {
        
$result $xoopsDB->query("SELECT COUNT(*) FROM ".$xoopsDB->prefix("agendax_events")." WHERE approved=0");
        if (
$result)
        {
            
$block['modules'][8]['adminlink'] = XOOPS_URL."/modules/agendax/admin/index.php?op=listNewLinks";
            list(
$block['modules'][8]['pendingnum']) = $xoopsDB->fetchRow($result);
            
$block['modules'][8]['lang_linkname'] = _MB_SYSTEM_WADRESS;
        }
    }
    if (
$module_handler->getCount(new Criteria('dirname''xdirectory')))
    {
        
$result $xoopsDB->query("SELECT COUNT(*) FROM ".$xoopsDB->prefix("xdir_links")." WHERE status=0");
        if (
$result)
        {
            
$block['modules'][9]['adminlink'] = XOOPS_URL."/modules/xdirectory/admin/index.php?op=listNewLinks";
            list(
$block['modules'][9]['pendingnum']) = $xoopsDB->fetchRow($result);
            
$block['modules'][9]['lang_linkname'] = _MB_SYSTEM_WADRESS;
        }
        
$result $xoopsDB->query("SELECT COUNT(*) FROM ".$xoopsDB->prefix("xdir_broken"));
        if (
$result)
        {
            
$block['modules'][10]['adminlink'] = XOOPS_URL."/modules/xdirectory/admin/index.php?op=listBrokenLinks";
            list(
$block['modules'][10]['pendingnum']) = $xoopsDB->fetchRow($result);
            
$block['modules'][10]['lang_linkname'] = _MB_SYSTEM_BADRESS;
        }
        
$result $xoopsDB->query("SELECT COUNT(*) FROM ".$xoopsDB->prefix("xdir_mod"));
        if (
$result)
        {
            
$block['modules'][11]['adminlink'] = XOOPS_URL."/modules/xdirectory/admin/index.php?op=listModReq";
            list(
$block['modules'][11]['pendingnum']) = $xoopsDB->fetchRow($result);
            
$block['modules'][11]['lang_linkname'] = _MB_SYSTEM_MADRESS;
        }
    }


insert this code in the file: /modules/system/blocks/system_blocks.php (in the function "b_system_waiting_show" -- I know it is deprecated, but this is still used in XOOPS version 2.0.5). Add it just above the last line in the function: "return $block;" (if you're not sure, check how the code in that function is build and simply duplicate how that is done).

PS: Note the numbers (8 through 11) they need to be consequtive with the numbers already there.



7
OnePay
Re: The Bar Has Been Raised ...
  • 2003/10/27 19:42

  • OnePay

  • Just popping in

  • Posts: 9

  • Since: 2003/3/27


The admin GUI from Mambo works great in Opera.

And the GUI of http://plone.org/ is very nice; also something we should learn from. Especially the in-line support.



8
OnePay
Re: Two Problemes : 2.0.4
  • 2003/10/15 9:32

  • OnePay

  • Just popping in

  • Posts: 9

  • Since: 2003/3/27


The problem will probably be fixed in 2.0.6 as it has been submitted as a bug, see also the post:

https://xoops.org/modules/newbb/viewtopic.php?topic_id=11416&post_id=51780&order=0&viewmode=flat&pid=45705&forum=7#forumpost51780



9
OnePay
Re: And another blank page problem
  • 2003/10/15 9:28

  • OnePay

  • Just popping in

  • Posts: 9

  • Since: 2003/3/27


I think the problem can be solved (in reference to the ShoutBox module) by changing this line in the file html/modules/newbb/include/forumform.inc.php:

include XOOPS_ROOT_PATH."/include/xoopscodes.php";

in:

include_once XOOPS_ROOT_PATH."/include/xoopscodes.php";




TopTop



Login

Who's Online

211 user(s) are online (62 user(s) are browsing Support Forums)


Members: 0


Guests: 211


more...

Donat-O-Meter

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

Latest GitHub Commits