How to move custom template form Joomla 1.5 to 2.5? - joomla

I am migrating form Joomla 1.5 to 2.5 version. I need to move template.
I installed it with Extension Manager. It displayed in Template Manager. But when I am assigning this template to site- the site respond with HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request. This template worked fine on Joomla 1.5.

Your template need a Joomla 2.5 (or 1.7) compatibility!

I'm facing the same inconvenient at this time, so i want to publish here my answer to help anyone who has to do this task to convert templates 1.7 to 2.5, the instructions can be found in docs.joomla.org, specifically in the section "Alternate Method Using a Version 2.5 Template".
I've tried different tools to convert them automatically without success, this method really helped me.

Related

Joomla configuration page next button not working

joomla configuration page
I want to learn how to use joomla but the problem is that i can't continue from the first page is just keeps on validating the fields even though that have data, your response to this request will be highly appreciated.
Not sure what version of Joomla but make sure you are meeting all requirements for that particular installation. It could be something like an unsupported version of the PHP version which I have come across in the past.

How to display PHP / SQL errors in Joomla 3

Try as I might, I can't get proper error messages in Joomla 3.1.5. No matter what I do, I get redirected to a nice "Error 0" page which doesn't tell me what happened where. I've tried setting error reporting to both maximum and developer in the admin console, and turning on developer mode. Is there any way to get proper error messages instead of friendly error messages to display in Joomla 3.1.5?
If you're not seeing the errors it's likely that you have an extension installed that is calling set_exception_handler(), while I don't have an STS 3.1 version anywhere to test the 3.2's we do have don't have any issues with reporting errors. (And as far back as I can remember, I don't believe Joomla core calls set_exception_handler().
We write Joomla extensions for clients as our primary business and I can tell you that the error reporting works. We have found in the past that some more dodgy extensions install their own exception handlers to hide issues in their code which is why we always develop and test on clear default Joomla installations.
Updated
Just saw your answer…
If that work's it means something is definitely calling set_exception_handler() which I don't believe is Joomla, I don't have have STS 3.1 installation but my current 1.5, 2.5 and 3.2's do not call set_exception_handler() in the Joomla core.
Few thoughts:
Check in Joomla the PHP information - see the error reporting local
value.
Check for a local php.ini file
Check if there is any ini_set code in your template...
Try adding a code like below, in your template's index.php file.
code:
<?php
ini_set('display_errors', 'on');
ini_set('error_reporting', E_ALL & ~E_NOTICE);
?>
Figured it out -- calling restore_exception_handler() gets rid of the poxy Joomla page and lets me read the text of the error.

Joomla custom Component Update Server script Issue

I am developing custom component Joomla 2.5 version.
Now I am trying to create update script / server, but it does not work.
Check out Joomla docs on this topic:
J2.5:Developing a MVC Component/Adding an update server,
Deploying an Update Server
Akeeba Release System for advanced package management
It's really hard to find out what's wrong from your description of problem.

Joomla - Component 404 and blank front Page

I am currently running Joomla 1.5, I have moved my site to a new domain and thought I had foloowed the procedure correctly. But now my menus are gone and it seems like articles are not showing up in their proper modules. Other than that the components i was using are now giving me a 404 component not found error. Does anyone know why this is or how I can fix this? Please I really need some help or direction....
Thanks
Here is my link: http://davidjamesmedia.ca
Make sure you check the following things:
Ensure you made the correct database setting changes in the configuration.php
Ensure you server is running PHP 5.2+
Make sure your MySQL version is arounf 5.0+ but also not too high such as 5.5.24 this can cause some problems with depreciated functions.
Also make sure your server has Apache mod_rewrite extension installed if you were using SEF before else you can turn SEF off in the configuration.php

joomla: adding uploader to component back-end

How can I add an the Joomla built-in uploader to my component's admin back-end such that the file itself is saved in a folder somewhere in the server and the filename or url is saved in the DB? The docs for JHMLBehavior/uploader under http://docs.joomla.org/API16:JHtmlBehavior/uploader are useless, and I've tried Googling for a comprehensive guide on how to do this but couldn't find any.
Please help.
Regards,
Simon
You can check out administrator/components/com_media to see how they use JHTMLBehaviour::uploader(...). The problem is that the fancy script that the uploader is based on is version 1.0 - and it doesn't work....
I would recommend checking this tutorial instead:
http://docs.joomla.org/Creating_a_file_uploader_in_your_component
You're aware that you're looking at the 1.6 version of the code, not 1.5? 1.5 is the current release - 1.6 probably hasn't got the full set of documentation.

Resources