Joomla 1.0 or 1.5 If you know the email address that was used, the simplest thing is to do is to use the “lost password” Front-end function if you have made it available. If not, you will need access to the MySQL database. You have two choices, either add a new super administrator or change […]
Author: Irfan Moosani
Changing Welcome to Frontpage component heading in Joomla 1.5
1. Login to Admin of Joomla 2. Menu > Menu Manager 3. Selct the Menu 4. Look for the system parameters on the right, either disable or change the text.
load a module in the content area in weblogic template for joomla
To load a module in the content area in weblogic template, you need to follow the following steps 1. Add a module to the template say ‘user9’ to the template. (to see how to add a module click here) 2. Extensions -> Template Manager -> Select weblogic template -> edit -> Edit HTML 3. if […]
Breadcrumbs not showing for Joomla weblogic template
Steps 1. Login to Admin ->module manager -> click “new” 2. Select “breadcrumbs” and then the next page will give you the parameters for the module: location, menu locations. 3. check “no” for title to show 4. Position : breadcrub Enable it and you are done
JFTP::login: Unable to login
While installing a component I encountered the following error JFTP::login: Unable to login JFTP::store: Unable to use passive mode Warning! Failed to move file. After some research i realized that I had changed the FTP login details on my hosing server So I logged in to Joomla Admin and changed the FTP settings under Global […]
php code to save files on user machine
I was trying to save the ‘.xls’, ‘.doc’, ‘.wmv’ on user machine, which works correctly on Firefox(developer friendly) but not on Microsoft’s IE(Microsoft friendly); after searching on the net, i found this code which works on both the browser. here is the code: ————————- <?php // downloading a file $filename = $_GET[‘path’]; // fix for […]
PHP Script to load a PDF
To get PHP to load a PDF (for example) from file, use the following code. <?php $filename = $_SERVER[‘DOCUMENT_ROOT’] . “/path/to/file/my_file.pdf”; header(“Cache-Control: public”); header(“Content-Description: File Transfer”); header(‘Content-disposition: attachment; filename=’.basename($filename)); header(“Content-Type: application/pdf”); header(“Content-Transfer-Encoding: binary”); header(‘Content-Length: ‘. filesize($filename)); readfile($filename); ?>
Cannot modify header information – headers already sent
Warning: Cannot modify header information – headers already sent by (output started at /home/domain/public_html/file.php:42) in home/domain/public_html/includes/main.php on line 302 Solution The “headers already sent” error is usually caused by having white space before or after the opening and closing PHP tags (<?php . . . ?>). Remove the additional spaces , this should solve the […]
Header already sent
Note that if you don’t want to go through the process of making sure that there is no output before you send a header, you can use <?php ob_start(); ?> at the beginning of your page. This starts the output buffer, which allows you to send headers whenever you feel like it. Make sure that […]
Creloaded template gives error
You must have noticd several time that the creloaded template when installed gives error The simplest solution is as follows Eg error 1054 – Unknown column ‘popt.products_options_name’ in ‘field list’ select popt.products_options_name, poval.products_options_values_name, pa.options_values_price, pa.price_prefix from products_options popt, products_options_values poval, products_attributes pa where pa.products_id = ‘698{2}7’ and pa.options_id = ‘2’ and pa.options_id = popt.products_options_id and […]