A program fault has been recorded in the log
A program fault has been recorded in the log
A program fault has been recorded in the log
Home arrow Downloads arrow Support Files arrow Joomla 1.5+ arrow Database interfaces
array(2) { [0]=> string(49) "Failed to connect to server: Connection timed out" [1]=> string(14) "Not connected!" } array(2) { [0]=> string(49) "Failed to connect to server: Connection timed out" [1]=> string(14) "Not connected!" } array(2) { [0]=> string(49) "Failed to connect to server: Connection timed out" [1]=> string(14) "Not connected!" }
You have downloaded this file 0 times in the last 24 hours, limit is 0.
Your file downloads total 0 in the last 24 hours, limit is 0.

Database interfaces Download

Thumbnails:

Description:

AMENDED 1 February 2010 - previous version failed in sites running mysqli. Replacement Joomla 1.5.x interface files to deal with "database gone away" errors. The archive contains two files which should replace the identically named files to be found at ../libraries/joomla/database/database. To install this software, unarchive and copy the files into the stated directory.

This version is fully compatible with Joomla from 1.5.15 to 1.5.20 and is likely to be compatible with earlier versions also.

This is a replacement of two Joomla 1.5.x core files and its purpose is to deal with a problem that is not adequately handled by Joomla. Specifically, depending on what optimizations have been done, it is quite possible for the database connection to be lost if request handling takes some significant time. The error that results is not a hard error, and should be handled by reconnecting to the database. Joomla does not do this, and components cannot do it for Joomla without poking around in database credentials that should not (in principle) be accessible outside the core. Even if they could, it is a problem that logically belongs in the CMS.

This fix is NOT specific to Remository products, although the weakness in Joomla can easily be manifested in use of Remository, since downloads can take a significant length of time, which tends to provoke the problem of timed out DB connections. People will therefore suffer errors that appear to be attributable to Remository, but are in fact to do with a weakness in Joomla. Similar problems exist in Mambo and (possibly fixed in the most recent release) MiaCMS.

Submitted By:
Administrator (admin)
Submitted On:
21 Aug 2012
File Size:
10
Downloads:
8914
License:
GPL
File Version:
1.5.15
File Author:
Joomla Project, modified by Martin Brampton
Rating:
Total Votes:1
Comments:
olok 2009-07-06 15:08:37 nice
irvhan male 2009-07-19 15:13:08 Ok thanks
Moneo 2010-01-16 21:58:31 kjhkh
luciano 2011-04-20 16:28:46 testing

Save FM Radio

Login

Subscribe to Premium Support

Get priority support for Remository and Glossary, sign up now for a Premium Support monthly subscription:

Your Remository user name

Or purchase a year's support:

Your Remository user name

Who is Online

Remository welcomes guests and visitors

We have 3 guest online

Real Time Web Analytics