joomla1.5

article content not showing in joomla 2.5 after upgrading from 1.5 to 2.5

久未见 提交于 2019-12-06 11:01:34
I have an issue with my joomla 2.5 site. I upgrade my site from joomla 1.5 to 2.5 version. After upgrading, articles not displaying. It shows the article heading but not showing the content. I give the permissions to the site but it doesn't works. I got the real solution that is : go to the jupgrade/template/html folder and delete or rename the com_content folder Then it will work properly Thank you all Your site has following url structure http://keralacarpentry.com/freedom2/index.php?Itemid=2 But joomla component url structure is like this http://www.example.com/index.php?option=com_content

Joomla 1.5.14 to Joomla 3.0 Migration [closed]

久未见 提交于 2019-12-06 08:53:22
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . We have already Joomla´s version 1.5.14 from 2009 to make our homepage setting. Now we want to upgrade the version to 3.0. We have made a test page 3.0 and compared it with our original page. We understand that files and the database have been subject to changes, so it´s difficult for us to see how we can

Upgrade / Migrate from Joomla 1.5.26 to Joomla 3.0.1

爱⌒轻易说出口 提交于 2019-12-06 07:31:27
问题 I have a joomla 1.5.26 site and want to upgrade over to Joomla 3.0.1. Is that possible? If so, what are the steps? I am looking for an installer like JUpgrade to do this. I realize that it is a 2 step process: a. Migrate from Joomla 1.5.26 to Joomla 2.5 b. Migrate from Joomla 2.5 to Joomla 3.0.1 Use JUpgrade for both the steps after backing up your files using Akeeba / XCloner component Am I right or am I missing a step? 回答1: It is better to stick with Joomla 2.5 as it is recommended till

Joomla 1.5 to 2.5 with Jupgrade. “undefined migrating error”

点点圈 提交于 2019-12-06 05:28:22
I've try to migrate a website in Joomla from 1.5 to 2.5 using jUpgrade but I've receive the "undefined migrating" error. The files was correctly transferred, but there's no change to the db, and when I try to log on website.com/jupgrade , I land on a page saying "please delete installation folder" and no db was transferred/created (so I have to create it manually and create menu, article, etc. wasting so much time!) Please help. I have already tried removing folder and changing tmp to 777 permission (with chmod ) and nothing changed! **Update: 2012-07-24 Getting more information while running

Issuing a redirect from a Joomla module

心不动则不痛 提交于 2019-12-05 10:15:54
I am not really familiar with Joomla but I have been tasked with writing a module which functionality is irrelevant to the question. One of the requirements is that if the module is loaded, it should check if the user is logged in and if not - redirect him into a specific URL. After some searching I came up with something like this, but it's obviously not a working answer: $user =& JFactory::getUser(); if (!$user->id) { include_once JPATH_COMPONENT . DIRECTORY_SEPARATOR . "controller.php"; // assuming com_content $contentController = new ContentController(); $link = JRoute::_("my url");

Joomla intro image as read more link

浪子不回头ぞ 提交于 2019-12-05 07:26:53
I want to make the joomla articles intro image to behave like the read more, and the title link. So the user clicks the image, and the article loads. I'm not an PHP expert but maybe this is the readmore links code: <a href="<?php echo $this->item->readmore_link; ?>" class="button<?php echo $this->item->params->get('pageclass_sfx'); ?>"> <?php if ($this->item->readmore_register) : echo JText::_('Register to read more...'); elseif ($readmore = $this->item->params->get('readmore')) : echo $readmore; else : echo JText::_("Read Article"); endif; ?></a> This is what i want to do with every intro

Insert multiple rows using a single query

核能气质少年 提交于 2019-12-05 03:06:06
Can Joomla's DB object add multiple rows at once? MySQL can do this like so: INSERT INTO x (a,b) VALUES ('1', 'one'), ('2', 'two'), ('3', 'three') But can Joomla's own functions achieve the same thing in a single query? Currently I am doing a loop to insert each row (same table) in separate query. Not a good idea when dealing with tons of rows at once. In your model you can do this: $db = $this->getDBO(); $query = " INSERT INTO x (a,b) VALUES ('1', 'one'), ('2', 'two'), ('3', 'three') "; $db->setQuery($query); $db->query(); If you are outside your model you need to get the DB object like so:

How do I resolve a strpos() “empty delimiter” error?

核能气质少年 提交于 2019-12-05 00:34:28
Here's the error: For: PHP 5.2+ Warning: strpos() [function.strpos]: Empty delimiter in /helper.php on line 445 and here is the code on that line: if($src = $img->getAttribute('src') AND strpos($src,$fgParams->get('base')) === false) { // prevents repeat processing EgivaUtility::profiling('Processing Image SRC: '.$src); // fix rel paths $src = EgivaUtility::encode_url(EgivaUtility::makeAbsUrl($origLink,$src)); if($image_details = @getimagesize($src) AND !in_array($image_details[0],array(1,2)) AND !in_array($image_details[1],array(1,2))) { EgivaUtility::profiling('Image Details: '.print_r(

Error while install Joomla

时光总嘲笑我的痴心妄想 提交于 2019-12-04 21:31:27
问题 Have install and Configure Joomla 1.5 CMS in my local xampp. After I have installing, When i am visiting to Joomla Site. it displaying the some error messages. Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\joomla\import.php on line 29 Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 71 Strict Standards: Non-static

Execute PHP script inside Joomla! cms once - geo based redirection

旧巷老猫 提交于 2019-12-04 20:43:30
Hi I'm trying to figure the best way to execute a PHP script inside Joomla! I want to redirect users if they are not from X country (already have a database and the script) I found this extension but I want to make my own stuff http://bit.ly/daenzU 1) How could I execute the script once for each visitor? Working with Cookies? 2) As I'll put the script inside Joomla! template, I'll modify templates/XXX/index.php 3) Based on 2), Joomla! loads templates/XXX/index.php each time a page loads, so I have to avoid redirection script to be executed twice for an user Thanks in advance for your ideas and