xoops forums

Forum Index


Board index » All Posts (kerkyra)




kerkyra

Just can't stay away
Posted on: 2011/7/19 14:30
kerkyra
kerkyra (Show more)
Just can't stay away
Posts: 553
Since: 2005/2/14
#21

Is xoops having problems with a large amount of blocks-sql queries?

Hallo there, i'm having a problem which i cannot figure out.

In www.mykerkyra.gr if i add one more block to the front page, it just shows a white screen.

I have tried to figure out what was causing the problems and I think it has to do with the number of sql queries above 110 or something like that.

If i deactivate a block (anyone) it works fine. If i activate it again and comment out the sql queries in it it works fine (with no data of course) - but it loads the block.

So right now i deactivated the comments block to make the site working again.

Any ideas on how this can be fixed? Or why this is happening?

Thanks


kerkyra

Just can't stay away
Posted on: 2011/4/6 0:18
kerkyra
kerkyra (Show more)
Just can't stay away
Posts: 553
Since: 2005/2/14
#22

Re: Contact Module does only mail to admin/webmaster

edit index.php file

find the line

Quote:

$xoopsMailer->setToEmails($xoopsConfig['adminmail']);


change it to

Quote:

$xoopsMailer->setToEmails("new_email@something.com");
www.guidemap.gr - Beta is out...


kerkyra

Just can't stay away
Posted on: 2011/3/16 9:41
kerkyra
kerkyra (Show more)
Just can't stay away
Posts: 553
Since: 2005/2/14
#23

Re: xoops.org hosting specs and statistics

thanks guys. I think the problem was the plesk cron jobs (i.e webalizer) running every 30 minutes or so . right now it seems to be doing well (after deactivating it) the server load seems to be around 0.5 to 1 occasionally. So perhaps that was it. I'm monitoring right now to check. Thanks for the info again. :)
www.guidemap.gr - Beta is out...


kerkyra

Just can't stay away
Posted on: 2011/3/15 12:27
kerkyra
kerkyra (Show more)
Just can't stay away
Posts: 553
Since: 2005/2/14
#24

xoops.org hosting specs and statistics

could someone please post the server specifications of xoops.org and the montly statistics? pageviews and bandwidth usage...

I'm asking cause i have a server with a few websites from which two of them are having 140 thousand pageviews.

The server load is at 2.4 to 5 and as a result the server is getting slow.

I would like to compare, so that perhaps identify why this is happenning.

thanks


kerkyra

Just can't stay away
Posted on: 2011/3/10 16:20
kerkyra
kerkyra (Show more)
Just can't stay away
Posts: 553
Since: 2005/2/14
#25

new xoopsMailer

hallo there

i have set my mail setup to php mail

trying to send an email when a user submits a form and i get the following error

Warning: implode() [function.implode]: Invalid arguments passed in file /class/mail/xoopsmultimailer.php line 164

any ideas guys?

the code i use to create the mail and send it is the following

Quote:


$xoopsMailer =& xoops_getMailer();
$xoopsMailer->reset();

$xoopsMailer->useMail();
$member_handler =& xoops_gethandler('member');
$xoopsMailer->setToGroups($member_handler->getGroup($xoopsConfigUser['activation_group']));
$xoopsMailer->setFromEmail($xoopsConfig['adminmail']);
$xoopsMailer->setFromName($xoopsConfig['sitename']);
$xoopsMailer->setSubject($xoopsConfig['sitename']);
$xoopsMailer->setBody('body');
$xoopsMailer->send();


the line in which the error comes up reads this (in multimailer class)

$this->Host = implode(';', $xoopsMailerConfig['smtphost']);

why is it using the smtphost since i have php mail in my setup??


kerkyra

Just can't stay away
Posted on: 2011/3/9 12:35
kerkyra
kerkyra (Show more)
Just can't stay away
Posts: 553
Since: 2005/2/14
#26

Re: Good News from Mowaffaq

at least he and his family are ok. Too bad there are not so many lucky families down there :( . We humans act very stupidely
www.guidemap.gr - Beta is out...


kerkyra

Just can't stay away
Posted on: 2011/3/4 11:47
kerkyra
kerkyra (Show more)
Just can't stay away
Posts: 553
Since: 2005/2/14
#27

Re: Banner afther post 3

hi mate i think you will have to alter the system_comments template instead of news_index.html using the <{}> smarty tags instead of {} as jlm69 pointed out.

have in mind that this will change the way comments are displayed EVERYWHERE in your site though.

if you dont mind that give it a go otherwise,

if you want this to happen ONLY in news section

you will have to replicate the comments html template.
Copy that in your news/templates folder perhaps?
and THEN include that file in your news_index.html file instead of the original system comments file.

[b]Notice that if you include it from the db like that
Quote:
<{include file='db:news_comments.html'}>

you will also have to alter modinfo.php file of news module and add the template you just created[b] - then update the module to add the new template in the db.

hope it helps
www.guidemap.gr - Beta is out...


kerkyra

Just can't stay away
Posted on: 2011/3/3 4:25
kerkyra
kerkyra (Show more)
Just can't stay away
Posts: 553
Since: 2005/2/14
#28

Re: Knowing what language you are using...

@ zyspec: it happens to everybody mate :)

@redheadedrod: one more thing, in case you are using your module in a multilanguage site (with xlanguage for example) you should read the cookie to get the users selected language.
www.guidemap.gr - Beta is out...


kerkyra

Just can't stay away
Posted on: 2011/3/2 16:57
kerkyra
kerkyra (Show more)
Just can't stay away
Posts: 553
Since: 2005/2/14
#29

Re: XOOPS 2.5.0 Bug Hunting

in admin when the default language is set to other than english the constants are shown as constant names if there is no admin language files for that particular language.

I think there should be a check whether the default language exists or not and if it doesnt use the english language files.
www.guidemap.gr - Beta is out...


kerkyra

Just can't stay away
Posted on: 2011/3/2 16:50
kerkyra
kerkyra (Show more)
Just can't stay away
Posts: 553
Since: 2005/2/14
#30

Re: Knowing what language you are using...

you should get the language like this

global $xoopsConfig;
$xoopsConfig['language']
www.guidemap.gr - Beta is out...



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