I need to update my joomla website which current version is 2.5.28. Now I'm trying to update it using this:
I use XAMPP as a server environment (PHP 5.4, MySQL 5.6)
Use a backup of my site
Also use astable version of joomla 2.5.28
I tried to update with both sites, the stable one and my one, but every time I get errors.
If I want to update my site I do this:
check for updates and update all things but for the JSN air template
go to joomla update, click on options on the right side and choose short time support, save and close
click update button
With the stable site I nearly do the same:
go to joomla update, click on options on the right side and choose short time support, save and close
click update button
I said above that I get errors. If I want to update the stable one I get these results/errors:
after updating it completely (100%) I get a white page with an url like "http://localhost/stable/administrator/index.php?option=com_joomlaupdate&task=update.finalise"
if I reload the page after getting the white page I get an error like "Can't DROP 'usertype'; check that column/key exists SQL=ALTER TABLE bcyqr_users DROP KEY usertype;"
if I reload the page again I get an error like "Table 'stable.bcyqr_postinstall_messages' doesn't exist SQL=SHOW FULL COLUMNS FROM bcyqr_postinstall_messages"
I looked in the database and I have a column with name "usertype". What happened? Why it can't be deleted?
I think it's strange that it doesn't function with the normal joomla settings. On youtube I saw videos in which the people just did the steps I also did.
And with my site I get the following errors:
18 times: Use of undefined constant DS - assumed 'DS' in C:\xampp\htdocs\mysite\administrator\components\com_poweradmin\defines.poweradmin.php
1 time: Class 'JSNConfigHelper' not found in C:\xampp\htdocs\mysite\plugins\system\jsnpoweradmin\jsnpoweradmin.php
I googled that error, so I used this extension:
http://digitaldisseny.com/en/joomla-extensions/solve-undefined-ds-constant-joomla-3-error
But then I couldn't update the joomla. I get a popup dialog with message "Invalid login".
I don't know what to do to update the joomla. Can you help me? What I do wrong?
Thanks.
Joomla 2.5 to Joomla 3 is a mini-migration, despite the fact that Joomla officially labels it as an update. We have migrated many sites from 2.5 to 3 and never were we able to update the site from within Joomla.
What we do is that we create a fresh copy of the latest version of Joomla, and then migrate the data there from 2.5.
I found this alternative guide which worked for me. I had tried the official and various other guides but this seemed useful
It claims
The following method avoids the pitfalls that occur due to third party extensions
It apparently works by bypassing the files of extensions and prevents them from interfering with the population of the database changes.
Related
HELP PLEASE! When upgrading my Joomla 2.5.24 to 3.3, the process hung. Now I get the WSOD and get into the administrator (front end does not work either) with error:
ADMINISTRATOR:
Fatal error: Call to undefined method JAdministrator::setHeader() in /home/.... /libraries/cms/html/behavior.php on line 712
FRONTEND:
Fatal error: Call to undefined method JHtml::getJSObject() in /home/..... /libraries/cms/html/behavior.php on line 271
I did a backup up all databases and the files prior to update, but the problem is not resolved when restoring either. I have spent all day trying to figure this out, and I don't know how to debug the setheader(). Can anyone please help me?
First of all, get you site back up.
Since you have a backup, that's going to be "easy".
a. Download a copy of Joomla 3.3, extract the files, and run
find
to get the list of files in Joomla 3.3.
b. Now delete all of those files from your current installation, and restore the backup on top.
There are files that Joomla 3.3 adds that will break Joomla 2.5.
c. Restore the database, and your old site will be working again.
Now the tough part. Figure out what's wrong.
Make an off-line copy of your website.
Are you in the "I'm feeling lucky" mood? Run the update and follow the instructions below.
Do you want to minimize the headaches or you're not comfortable with typing shell commands? First update all your third party extensions to their latest version, and make sure they support Joomla 3.3.
You must have some third party extension that's breaking the site. Here's my quick and dirty procedure to identifying the culprit (but don't share it, it's a secret):
Is it a module, a plugin or a component?
If the WSOD is on both the frontend and backend, it should be a plugin.
Is it a plugin? Rename the plugins folder "plugins2". If the site loads, rename it back to plugins, cd to it, and rename in turn system, content etc. until you find where it is. Keep digging down to the last level and isolate the plugin.
Is it a module? Rename the modules folder and see if the site loads. If it does, go back and rename the folders of the modules you are using in turn. In case you don't know which ones you're using, move them away a few at a time using wildcards to be quicker
Is it a component? Then it's the homepage component and the other pages should load fine.
Once you have identified the culprit, download an update, and apply it manually (open the zip and copy the files where they belong).
You might have to do this multiple times for each broken extension. Remember Murphy's law.
I have a simple website using Joomla 1.0.15, just having articles in some categories. As I want to install or remove components from admin area, I got: "You are not authorised to view this resource" or something like that. This is uncommon, this site is about 5 years old, and never got error message like that.
I think my website is hacked ??
I have set safe_mode = off in php.ini, turn of sh404sef, removing .htaccess file etc ... and it still does not work.
Then i try to upgrade to Joomla 2.5.x / 3.x . I found that i must migrate to Joomla 1.5.x first, then from there to 2.5.x.
I got problem installing "migration.zip" component in my Joomla 1.0.x (always alert/err message pop up is shown).
Is there another way to migrate the website ? May be just get the article section, category, article id and the content of Joomla 1.0.x , then import it to Joomla 2.5.x / 3.x ?
I don't need components, modules, mambots (if any) of the old site. How to do it?
You could definetely go for the manual export/import via some sql if you only care about articles and categories, or for a more "clean" way of doing make a copy of the whole website on your local dev. env. and debug it, make the migration localy and there you go ...
Agree with kriss2 that if all you care about is articles, it's pretty easy to do the sql to change the fields and just put the articles in the uncategorised category that is part of 1.6+. Leave asset_id blank (not 0) You will then need to create assets. You can run a cli for that but also in the user interface copy all articles to a new category.
Joomla version = 2.5.6
PHP version = 5.3
We are using the DButton module as a download button inside an article and using
{loadposition xxx} to display it.
About 5 days ago, the button worked fine but since then, something has happened and now it only works if a user is logged in. If they aren't, the button just refreshes the page. (but does show).
Also during testing we unpublished the module - and it took over 5-10 minutes for the module to 'vanish' when not logged in. When logged in it 'vanishes' immediately and indeed when logging back out it reappeared despite being unpublished!
None of the module files have been edited, nor have we changed anything/installed any new extensions on the website in the last 2 weeks or so.
We used JDump and found no errors within the module, therefore am truly unsure what the problem could be.
We also got in contact with the developers and they said they had never come across or heard of a problem like this before and that they would take a look, however we have not heard from them since.
Reinstalling the module didn't help either.
Has anyone ever come across anything like this before or have an idea or solution?
Caveat: I never used DButton but looks quite handy.
Are you using custom levels? What are they set to? It sounds like something to do with permissions set to registered only instead of public somewhere.
Try disabling all other extensions just in case.
Are you linking to a URL or a file on your server?
Maybe take a backup with Akeeba and install a local version to see if it does the same thing. Can then try replacing your template with a core one as well as uninstalling everything except for DButton.
I'm trying to create a development mirror site of an ezPublish site so I can stage changes without messing up the main site. I copied the database and the filesystem and changed the ini files to point at the new database, but when I loaded the page I found that none of my objects were being loaded. So I break out the debug bar, and I find that for some reason the language_mask that is being used is incorrect...the bitfield is set to 4 while the mask being used in the query to load the page is 3.
So I poke around the ini files and I see a setting called SiteLanguageList[] which seems to set up 'backup langauges'. I found that If I set SiteLanguageList[] to:
SiteLanguageList[]=eng-US
SiteLanguageList[]=eng-GB
and my site started showing up. Yay!
However, all is not well. When I actually try to EDIT the page in the admin, every entry shows up blank. What makes things doubly weird is that it shows up in the admin as long as I'm merely looking at it. And then there's this weird discrepancy, where depending on where I'm looking in the admin, it either says that the page is eng-US or eng-GB depending on where I'm looking on the same page.
Seriously, what the heck is going on here?. If I click the edit button, nothing shows up.
Same question on ez Publish community
Are you sure that the database
was imported correctly? Please check
the database using "Setup - Upgrade
check" utilites
Clear all caches
manually (run "php
bin/php/ezcache.php --clear-all"
from ez root directory)
Check the
ez error log
(/var/log/error.log)
Check the permissions for the ez
folders (cache, settings, etc.)
I have a Magento site in which there are about 20-25 extensions installed, among which 7 are commercial, which means that those 7 extensions are fully encrypted. Also none of these extensions use the User Roles & Permissions section, in the Admin area.
Now, a few days back, I got into a silly problem which is really taking a toll on me. I wanted to create a new User Role (from System > Permissions > Roles), where I already have 14 other Roles set. Now whenever I click the "Add New Role" button or try to edit any of the existing roles, I get the following error:-
<my-magento-site-domain>: This script is locked to another domain.
What I'm pretty sure is that this error is somewhere related to the use of extensions, but I don't know & can't understand where it is coming from. I have tried to solve this error by disabling all the extensions & clearing the full cache & deleting all the folders in the "/var/" folder, but nothing has happened.
Magento version: 1.3.2.3
I know that Magento upgradation is necessary, but can't do so due to those extensions.
Can somebody please help me in this matter? Any help is greatly appreciated.
When you say that you disabled all the extensions, how did you perform that step? I've found that the System>Config>Advanced status values are often ignored by extensions, as are various other attempts to disable. The only way that you can be certain of disabling the extension (IMHO) is to remove their .xml files from etc/modules.
It sounds like the error that you are getting is a Javascript generated error. You could grep the /js folder to find that error text to see if you can track down the source of the error. Likewise, use Firebug (or Chrome Inspector, choose your browser poison) to debug the JS error. Post what you find here...
One more option is to manually create the new role using phpmyadmin. By inspecting the admin_role table, you'll work out the syntax fairly quickly (e.g. tree_level ="1", role_type = "G". Then see if you can edit the new role through the UI.
Cheers,
JD
You can try with clean magento install without commercial extensions. Add a role and see if this happens. Then add commercial extensions one by one and test when this error occurs.
I assume that you have already searched all magento files (at least non encrypted ones) to see if there is any containing your error message...