251
voltan
Re: Allowed memory size of 16777216 bytes exhausted
  • 2008/7/20 18:14

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


hello
i edited mainfile.php like this
if ( isset( $_REQUEST[$bad_global] ) ) {

            
header'Location: '.XOOPS_URL.'/' );

            exit();

        }

    }
ini_set(’memory_limit’‘32M’);

    include 
XOOPS_TRUST_PATH.'/modules/protector/include/precheck.inc.php' ;

    if (!isset(
$xoopsOption['nocommon']) && XOOPS_ROOT_PATH != '') {

        include 
XOOPS_ROOT_PATH."/include/common.php";

    }

    include 
XOOPS_TRUST_PATH.'/modules/protector/include/postcheck.inc.php' ;

    include 
XOOPS_ROOT_PATH."/logusernav.php";

}

?>


and saw this errors

Fatal errorAllowed memory size of 16777216 bytes exhausted (tried to allocate 11534325 bytesin /home/*******/public_html/modules/backpack/admin/backup.inc.php on line 158


and this
Fatal errorAllowed memory size of 16777216 bytes exhausted (tried to allocate 10660868 bytesin /home/*******/public_html/modules/backup/admin/backup.php on line 131



252
voltan
Re: Allowed memory size of 16777216 bytes exhausted
  • 2008/7/20 8:59

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


please help us



253
voltan
Re: some localization !!
  • 2008/7/19 19:50

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


thx mamba . its very necessary for us !



254
voltan
some localization !!
  • 2008/7/18 18:11

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


hello all
some languages is right to left ( Persian and Arabic) and some country uses other calendars ( in Iran we use jalali calendar)

when i work for Persian language for XOOPS 2.3 i see we need some css file for RTL !!

one css file to installer of system like this ( i added this file to install/language/persian/fa.css )
#wizard {
    
text-align:        right;
    
direction:      rtl;
}
#buttons {
    
direction:      ltr;
}
body {
    
text-align:        right;
    
direction:      rtl;
}
#pageslist {
    
float:                    right;
}
.
page {
    
margin-right:            14.5em;
    
margin-left:            .1px !important;
}
h2 {
    
text-align:        right;
}
#help_button {
    
floatleft;
}
.
x2-note.error {
    
background-position:    left 2px;
}


also one css file and one java file for user side ( i add files in languages/persian/css/fa.css and languages/persian/js/fa.js)
and one css file for admin side ( i add this file in module system )

i need some core files to be edited for adding rtl files
for example we use this hack in footer.php
// Start rowdi/irmtfan addition: assign the language css file to the template, if required
        
if ( file_exists(XOOPS_ROOT_PATH."/language/".$GLOBALS['xoopsConfig']['language']."/css/"._LANGCODE.".css") ) {
            
$xoTheme->addStylesheet"/language/".$GLOBALS['xoopsConfig']['language']."/css/"._LANGCODE.".css", array( "media" => "screen" ) );
        }
        if ( 
file_exists(XOOPS_ROOT_PATH."/language/".$GLOBALS['xoopsConfig']['language']."/js/"._LANGCODE.".js") ) {
            
$xoTheme->addScript"/language/".$GLOBALS['xoopsConfig']['language']."/js/"._LANGCODE.".js", array( "type" => "text/javascript" ) );
        }
        
// End rowdi/irmtfan addition


i request add some code in core files which this code allowed us to add css file and js file in language/_LANGNAME/css/_LANGCODE.css in in system installer and module/system/language/_LANGNAME/... and main XOOPS language folder please

and add one folder in language/_LANGNAME for local calendar which we add our calendar files in to it
thx all



255
voltan
Re: MorphoGENesis and tinyeditor
  • 2008/7/16 18:23

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


i fixed my theme
http://www.irxoops.org/modules/wfdownloads/singlefile.php?cid=5&lid=242
thx frank



256
voltan
Re: Allowed memory size of 16777216 bytes exhausted
  • 2008/7/16 8:22

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


hello
we have :
altsys.55 - protector 3.16 - backup 3 - backpack .93 - multimenu - d3pipes .58 - news 1.61 - newbb 3.06 - martfsq 1.08 - wfdownloads 3.2 - xoopspoll 1.1 - mylinks - sitemap - smartparent 1.2 - xhelp



257
voltan
Re: Allowed memory size of 16777216 bytes exhausted
  • 2008/7/16 6:09

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


xoops version 2.0.18.1
PHP version 5.2.3
MySQL version 5.0.51a-community
Apache version 1.3.41 (Unix)



258
voltan
Allowed memory size of 16777216 bytes exhausted
  • 2008/7/16 6:04

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


hello
I changed my site server . in new server when i try to get backup by backup 3 module i see this error

Fatal errorAllowed memory size of 16777216 bytes exhausted (tried to allocate 10634461 bytesin /home/*******/public_html/modules/backup/admin/backup.php on line 131


and i add this line to .htaccess
php_value memory_limit 32M


and i see this error in my site
Internal Server Error
The server encountered an internal error 
or misconfiguration and was unable to complete your request.

Please contact the server administratorwebmaster@*******.org and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionallya 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.41 Server at *******.org Port 80



259
voltan
Re: problem in Permission management tools in newbb
  • 2008/7/12 19:40

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


please help me



260
voltan
Re: problem in Permission management tools in newbb
  • 2008/7/11 6:27

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


not from this!
all of part of admin area worked for admins

when i change permission for categories and forums it not work !




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



Login

Who's Online

231 user(s) are online (169 user(s) are browsing Support Forums)


Members: 0


Guests: 231


more...

Donat-O-Meter

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

Latest GitHub Commits