251
trabis
Re: Publisher Error Blank Page
  • 2011/10/7 20:12

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


What version? xmf or non xmf?
Please try non xmf.



252
trabis
Re: How to reorder the Menu menu
  • 2011/10/7 20:09

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


modules/system/js/module.js is trowing a 508 error (not used)
modules/system/js/admin.js loads ok.

I don't know what is wrong with module.js in particular, the code is similar to other js files loaded. If I access module.js link(in source code) the javascript text is outputed correctly.

508 is very rare error, I got little information from googling it.
I can't reproduce this bug in my server/localhost either, which leads me thinking it is also related with your server.

Can you give me ftp access to the site?



253
trabis
Re: Installation 2.53 but Admin page is blank.
  • 2011/10/7 18:54

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


What modules have you installed?

It is possible that you have some parsing error, for example, you can have a bad language file or corrupted files.



254
trabis
Re: How are spammers bypassing the CAPTCHA?
  • 2011/10/7 18:49

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


If your server has CURL php extension, you can enable 'stopforumspam' in protector preferences. It will filter 90% of the spammers that break captchas.

You can also add extra protection by checking if the user(spammer) accessed register.php directly (without clicking on register link)
You can edit profile/preloads/core.php and add this extra method:
function eventCoreHeaderStart($args)
    {
        if (empty(
$_SERVER['HTTP_REFERER'])) {
           
$_SESSION['noref'] = true;
        }

        if (
$_SERVER['REQUEST_METHOD'] != 'POST') return true;
        if (!isset(
$_SESSION['noref'])) return true;
        if (!isset(
$_POST['email'])) return true;
        
$_POST = array();
    }


This code will empty $_POST when direct access is detected and spammer will not be able to commit any data. This approach will filter 90% of the remaning 10%. You may still get spammer accounts, but they will probably be done by real users.



255
trabis
Re: Xoops Words Deprecated
  • 2011/10/7 18:35

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


$GLOBALS have higher scope and you should use it instead of global.




256
trabis
Re: Publisher Error Blank Page
  • 2011/10/7 18:22

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Latest publisher(using xmf):
http://xoops.svn.sourceforge.net/viewvc/xoops/XMF/publisher/trunk/publisher/?view=tar

Latest xmf:
http://xoops.svn.sourceforge.net/viewvc/xoops/XMF/xmf/trunk/xmf/?view=tar

Latest publisher(without xmf):
http://www.xuups.com/publisher-06-09-2011.zip



257
trabis
Re: Fmcontent blank page to activate the menu block list
  • 2011/10/7 18:18

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


You have to enable php extension php_mbstring.

If you can't, then replace mb_strlen with strlen and see if it works for you. If you are using utf8, you may experience problems.



258
trabis
Re: Installation 2.53 but Admin page is blank.
  • 2011/10/7 18:07

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


To enable debug, read this:
https://xoops.org/modules/newbb/viewtopic.php?topic_id=74308&forum=20&post_id=341629#forumpost341629



259
trabis
How to enable debug mode when having blank pages
  • 2011/10/7 18:05

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


I just want to you to know that you can override any $xoopsConfig variable using xoops_data/configs/xoopsconfig.php file (since 2.4.x)

If you are having blank pages and want to enable debug mode, you DON'T have to go to your database.

You can add extra line in xoopsconfig.php:
<?php

return array(
        
/**#@+
         * Extended HTML editor for {@link XoopsFormDhtmlTextArea}
         *
         * <p>If an extended HTML editor is set, the renderer will be replaced by the specified editor, usually a visual or WYSIWYG editor.</p>
         *
         * <ul>Developer and user guide:
         *  <li><ul>For run-time settings per call
         *          <li>To use an editor pre-configured by {@link XoopsEditor}, e.g. 'fckeditor': <code>$options['editor'] = 'fckeditor';</code></li>
         *          <li>To use a custom editor, e.g. 'MyEditor' class located in "/modules/myeditor/myeditor.php": <code>$options['editor'] = array('MyEditor', XOOPS_ROOT_PATH . "/modules/myeditor/myeditor.php");</code></li>
         *      </ul></li>
         *  <li><ul>For pre-configured settings, which will force to use a editor if no specific editor is set for call
         *          <li><ul>Set up custom configs: in XOOPS_VAR_PATH . '/configs/xoopsconfig.php' set a editor as default, e.g.
         *                  <li>a pre-configured editor 'fckeditor': <code>return array('editor' => 'fckeditor');</code></li>
         *                  <li>a custom editor 'MyEditor' class located in "/modules/myeditor/myeditor.php": <code>return array('editor' => array('MyEditor', XOOPS_ROOT_PATH . "/modules/myeditor/myeditor.php");</code></li>
         *              </ul></li>
         *          <li>To disable the default editor, in XOOPS_VAR_PATH . '/configs/xoopsconfig.php': <code>return array();</code></li>
         *          <li>To disable the default editor for a specific call: <code>$options['editor'] = 'dhtmltextarea';</code></li>
         *      </ul></li>
         * </ul>
         */
        //"editor"    => "fckeditor",
        //"editor"    => "dhtmlext",
        /**#@-*/


        /**#@+
         * Debug level for XOOPS
         *
         * Note: temporary solution only. Will be re-designed in XOOPS 3.0
         *
         * <ul>Displaying debug information to different level(s) of users:
         *  <li> 0 - To all users</li>
         *  <li> 1 - To members</li>
         *  <li> 2 - To admins only</li>
         * </ul>
         */
        
"debugLevel" => 2,
        
/**#@-*/

        /** XOOPS admin security warnings
         *
         * <ul>Display admin security warnings:
         *  <li> 0 - Disabled</li>
         *  <li> 1 - Enabled</li>
         * </ul>
         */
        
"admin_warnings_enable" => 1,
    
        
"debug_mode" => 1//Enables debug inline mode
    
);

?>



260
trabis
Re: Is there any CAPTHA facility that will work with XOOPS 2.4.4
  • 2011/10/7 17:59

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


@timgno,
I did not understood what you said but, that piece of code is getting configs, not setting them.




TopTop
« 1 ... 23 24 25 (26) 27 28 29 ... 190 »



Login

Who's Online

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


Members: 0


Guests: 116


more...

Donat-O-Meter

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

Latest GitHub Commits