By adding the following line to your LocalSettings.php file, you will be able to log everything that WikiMedia does:

$wgDebugLogFile = '/home/username/public_html/wikidir/logfile';

IMPORTANT NOTE: The path above should be the exact full path to the wiki directory under your account.


 The issue here is that you have added all your banners, divided between clients and categories and you're looking for a solution which doesn't involve installing a 3rd party applicatoin.

 Unfortunately the Joomla banner module only supports alternating between banners of either the same client OR the same category.  The setting is in your Joomla > Module Manager > Banner... What I do is I don't select a client but instead just select a category.  Set it to only display 1 banner at a time.  

If you want other categories to display, consider setting categories as vertical, horizontal and square banners.  This means that you can have 3 modules each displaying banners from each category and position these as appropriate.


 Thought I'd put a note about this as I spent ages rewriting an entire system.  The HTTP_REFERER environment variable can be changed by the user anyway but I was using it as an additional validation check.

The only solution is to not use it for verification purposes as it will only work in every other browser except Internet Explorer (more specifically versions 6 and 7...???)

 

For more details: http://www.webmaster-talk.com/php-forum/19149-_server-http_referer-fails-under-internet-explorer.html


This took me a whole afternoon and involved a lot of hope as I browsed the Internet and no one seemed to have done this before.  Fortunately, MediaWiki extensions are easier to write than Joomla CMS ones :c)

This article shows you how to get your MediaWiki system to display your Camtasia Studio SWF files in it's articles.

Why Camtasia when there are other free options?

We tried lots of FLV players that were usually branded or not free.  These were awkward to configure a full screen button on the controls and do basic customization.  Our screen recorder was also not displaying the captions of the video unless it was an AVI file that we converted to FLV.  The quality was horrible.  Then we moved to Camtasia Studio where their videos were displaying in good quality but as SWF files.  This extension includes the default settings for "ExpressShow" in Camtasia Studio.


The Error: This file contains HTML or script code that may be erroneously interpreted by a web browser

This is a common error when uploading files that the MediaWiki system does not allow.  By making some minor changes to the MediaWiki LocalSettings.php file, we can fix this.

For demo purposes, I'm going to make our system recognize SWF files (by default these are disallowed):


 This is related to the issue of renaming yourdomain.com as your title page in phpBB3.  

 

You need to login to the phpBB admin control panel (ACP).  On the General tab, look under Board Configuration and click on 'Board Settings'.  The Site name is the first field in the right panel.


What?

I saw this article and rather than bookmark it I thought I could just have it here for easy reference.  It was written for Photoshop but I use Paint Shop Pro and felt I could do the same.  It's just so complicated in Photoshop when web-developers need to be able to run several programs at the same time and simplicity is king.

In PaintShop Pro you would simply:


How?

"OK this should take just a few minutes..."

I've written this because I spent all night on setting up a "quick" demo resulting in a quick 1 hour nap before having to go to my day job...  It sounds straight forward because both phpBB3 and RocketTheme talk about how to install the RocketTheme templates...  But it's not.  I'm rewriting their instructions here so that I can I do this on other websites:

Important Note:  On Linux (Apache), all file names and folder names are case-sensitive, so phpbb3 is NOT the same as phpBB3.  Bear this in mind during the installation process.

 


This happened to a m8s website in VirtueMart 1.1.3. The issue here was that although all the prices lost their float/decimal and were rounded up to the nearest integer...  

At first we thought this was due to installing a Virtuemart UK Credit Card Payment Module (vm-ukcreditcard). A lot of forums were suggesting to change the number_format to convert any number to a currency or two decimal places. Another suggestion was to alter the main virtuemart database table (jos_vm_prodcut_price)...

Don't do any of these things!

After modifying tax rates and ensuring these were all the same, we also found that this was due to a country not being specified under the Store configuration within VirtueMart.


The Issue

Basically that you've installed JoomlaEZ's ReCaptcha Integrator plugin to protect your forms ("type two words" captcha) and then installed K2 Comments to use it's own ReCaptcha.  If you try adding a comment, you may get something like the following:

copyraw
Fatal error:
Cannot redeclare_recaptcha_qsencode() (
     previously declared in /public_html/plugins/system/jezReCaptcha/recaptcha-php-1.10/recaptchalib.php:47
)
in /public_html/components/com_k2/lib/recaptchalib.php on line 67
  1.  Fatal error: 
  2.  Cannot redeclare_recaptcha_qsencode() ( 
  3.       previously declared in /public_html/plugins/system/jezReCaptcha/recaptcha-php-1.10/recaptchalib.php:47 
  4.  ) 
  5.  in /public_html/components/com_k2/lib/recaptchalib.php on line 67 

I've managed to fix this in my site. Because you already force the recaptcha feature in your registration form and contact form (on this website I just went recaptcha-happy), then there are some settings you need to change in the plugin options:

  • Inclusion Syntax = NO
  • Auto-verify =YES

 

Update 16.NOV.2009

I don't see this supported anymore so I wouldn't recommend using the JezRecaptcha plugin.  In fact I'm not impressed with Recaptcha as it's sound alternative doesn't work and the text form is hackable.

I will be changing this over throughout the site... I may keep recaptcha for the comments feature on K2 articles but it should be considered low security.

Category: Joomla :: Article: 203

 I've been looking into this for a friend and going through forums to investigate this error.  After you've checked your database connection details, I find what FisherC said below is the most probable cause for the error.

FisherC says:

I have the same problem, but I'm not sure for the same reasons.  I installed the standard 1.5 installation package. I have uninstalled and reinstalled once just to make sure everything was OK. Basically after I use my website (using the default Joomla welcome template with NO modifications whatsoever) I start to get the "cannot connect to MYSQL." I contacted my webhost, and the problem is the number of MYSQL database queries. It goes up to about 200,000 in the first few minutes of use and then after that every page load is a few hundred to few thousand queries (per page). The webserver limits me to 50,000 queries an hour and I am blowing past that quickly with just 1 person (me!) on the site so they just refuse the connnection after a while.  Obviously something is not right. I am searching the forums for an answer and if I don't find one I'll repost. I just thought I'd share this with you in case this your problem too.

Source: Joomla Forum: http://forum.joomla.org/viewtopic.php?f=433&t=198257

My Solution

I have over 20 joomla websites on my virtual server and I haven't had this problem.  

  1. I setup a website with about 20 3rd-party components installed, 15 modules and about 15 plugins (excluding the core modules/plugins) and managed to recreate this error.  
  2. I disabled half of these but still got the error.  
  3. Cleared the expired cache but still got the error.
  4. I then uninstalled half of these (including Kunena and Agora forums), specifically database intensive plugins and the error happened less...
  5. I then went through the menus and installation screen to get rid of anything that was not visibly used on the website.  The website was working fine and I was able resume my click-happy habits.

It's a given that in my test, there was only 1 user (me).  There are reports though that some people set up websites with NO 3rd-party items whatsoever... For those of you with this issue, I'd double-check your website host allows Joomla and if they don't, look for either an upgrade or a different host.

If your website has been LIVE for a while and it's returning this error despite having little installed, then check your logs to see if anyone has been trying to hack your website.  There are a number of components I have found that even with captcha features, still get hacked with viagra emails and what have you (eg. JoomlaBook).  If you don't want to go through the logs, try setting up a test joomla site with a different database and user and see if that behaves the same way.

Virtual Hosts

I used to have an account with 1&1 (oneandone.co.uk) and I would strongly urge Joomla developers to avoid them like the plague.  They have been less than helpful and when I only had one Joomla site with them, they still would block me thinking I was trying to hack into their servers because of the number of queries Joomla does and the number of times I refresh the page and upload files.  Why they think that developers should not be able to send a 1000 queries a minute or why a developer has to refresh the page, make a change, upload, etc.  well it's beyond a joke and no one should waste their time with such companies.


Credit where Credit is Due:


Feel free to copy, redistribute and share this information. All that we ask is that you attribute credit and possibly even a link back to this website as it really helps in our search engine rankings.

Disclaimer: Please note that the information provided on this website is intended for informational purposes only and does not represent a warranty. The opinions expressed are those of the author only. We recommend testing any solutions in a development environment before implementing them in production. The articles are based on our good faith efforts and were current at the time of writing, reflecting our practical experience in a commercial setting.

Thank you for visiting and, as always, we hope this website was of some use to you!

Kind Regards,

Joel Lipman
www.joellipman.com

RSS Feed

Related Articles

Joes Revolver Map

Joes Word Cloud

note   uploaded   parameter   version   error   windows   time   following   client   report   display   joomla   file   case   added   website   server   system   date   files   find   table   function   order   name   where   need   code   work   zoho   script   google   first   deluge   create   value   data   mysql   license   list   field   creator   user   source   would   form   database   page   used   using   JoelLipman.Com

Accreditation

Badge - Certified Zoho Creator Associate
Badge - Certified Zoho Creator Associate

Donate & Support

If you like my content, and would like to support this sharing site, feel free to donate using a method below:

Paypal:
Donate to Joel Lipman via PayPal

Bitcoin:
Donate to Joel Lipman with Bitcoin bc1qf6elrdxc968h0k673l2djc9wrpazhqtxw8qqp4

Ethereum:
Donate to Joel Lipman with Ethereum 0xb038962F3809b425D661EF5D22294Cf45E02FebF
© 2024 Joel Lipman .com. All Rights Reserved.