Magic Quotes runtime in Joomla 1.5 - joomla

I have a live website on joomla 1.5 that has just gone blank. Both homepage and admin side.
The error log is showing magic quotes runtime error.
I have searched about it and as PHP new version has came out therefore it is causing problem.
How can I restore the website. So that I can upgrade to joomla 3.5

The only way to fix the problem is to ask your host to revert you to a previous PHP version since magic quotes no longer exists as of PHP 5.4. Some hosts have some .htaccess entries that will allow you to use a different version of PHP, but I'm not sure they will allow to revert to PHP 5.3 (or older) as these PHP versions are vulnerable.
Another way to fix the problem is to modify some core Joomla files (mainly the files using the magic_quotes_gpc function).

Related

Problem with migration Joomla 1.5.26 to 3.x with jUpgradePro

I need to migrate an old website witch is using Joomla 1.5 to Joomla 3.x.
I updated Joomla to 1.5.26 and I decided to buy and use tool jUpgradePro from https://matware.com.ar/subscriptions/jupgradepro-subscription.html .
I configured everything and I'm trying to start migration but there's one problem and I need Your help.
When I start using cmd of jupgradepro there's one error message after using command composer install.
Cannot update only a partial set of packages without a lock file present
What can I do with this problem, any Issue? I was trying to search something in web, but finally have to ask You for help.
One thing that I can say is that this example is a test so target domain is a subdomain (http://ernestdolowy.pl/projects/szpital/nowytest/) and source site has just empty test template, is that a problem? Joomla 3.x is well configured on subdomain.
Finally I need to migrate Joomla 3.x to Wordpress but right now I have to solve this problem.
Thank you in advance for your help :)
I got same problem, and found this solution on my local machine:
In Joomla site, xxx\administrator\components\com_jupgradepro I copied the composer.json file to composer.lock
I started composer install command from command line (in Windows, not in built-in jUpgradePro). It installed all dependencies, and in jUpgradePro command line window the check site command worked fine.
Solution:

Call to undefined method JAdminCssMenu::load()

I have updated joomla version from 3.6.5 to 3.7 joomla latest version.
Now I am getting fatal error on site backend :
Fatal error: Call to undefined method JAdminCssMenu::load() in /public_html/administrator/modules/mod_menu/mod_menu.php on line 25
Can anyone please provide me solution to get it fixed.
Thanks
The temp fix does work, (uncomment line 25). However I found it was a component that was causing the error, SP Page Builder, once uninstalled, all worked fine :D
I had the same issue but you don't need to uninstall SPPageBuilder, just go to yoursite.co.uk/administrator/index.php?option=com_modules&view=modules, filter by Administrator modules and unpublish the one called "SP Page Builder Admin Menu".
I have also received the same error on a couple sites so far after updating. I added a php override to my htaccess file to bring the sites back online. I added the following to the rewrite section of my htaccess file:
php_value memory_limit 128M
This increases the memory to 128MB. Not the best way to fix the issue, but it works right now. I don't know if this issue is related to the 3.7 upgrade or not, but it's awfully coincidental that 2 of my sites, and now coming across this post happened after upgrading. I wonder if there is a bug in the new Joomla version, or if it requires more memory now.
This is faced by many who used JSN Poweradmin. You need to uninstall it to run your Joomla site or you can simply comment out or delete this line on line no 25
//$menu->load($params, $enabled);
in the file /administrator/modules/mod_menu/mod_menu.php.
I have replaced mod_menu complete Directory/Files with old one (3.6.5) and its working now.
If you are using JSN Poweradmin and you tried to install SP Page Builder, Just go to this directory:
administrator\modules
and delete this folder: mod_sppagebuilder_admin_menu
Now Joomla Admin panel would work OK and also SP Page Builder component is ready to use.

Joomla error ($this->app) after upgrade

I just upgrade my Joomla website from 3.1.1 to 3.3.6.
As found on https://github.com/joomla/joomla-cms/releases/tag/3.3.6 I downloaded Joomla_3.3.6-Stable-Update_Package.zip pack and uploaded all the files over my previous Joomla installation.
Unfortunately, I cannot login and the following error is displayed:
Fatal error: Call to a member function checkSession() on a non-object in /home/www/.../web/plugins/user/joomla/joomla.php on line 209
Line 209: $this->app->checkSession();
I did additional tests and it seems that all the "$this-app->..." command fail!
I opened the 3.1.1 joomla.php file and found another syntax:
$app = JFactory::getApplication();
$app->checkSession();
Replacing the 3.3.6 syntax with this one solved my problem, but I can see that similar "calls" are done when logout, so I would need to change them as well.
It looks like the new syntax ($this->app->) is not working in joomla.php after upgrade to 3.3.6 and now I'm afraid similar errors can occurs in other scripts.
Does someone already get similar errors, is that a known problem with Joomla upgrade, how to solve this issue correctely?
Thank you in advance for your help.
Joel
Why on earth would you do this? For a long time now Joomla has had a built-in updater that does several things beyond just copying the files to the correct location, like updating the table definitions, adding new tables, data migration and removing old files.
My guess is that your database schema is now out of sync with the PHP. You'll have to role back to your backup as there is no clear way to say if records have been damaged etc.
Once you've restored your backup, use one of the methods described in the Upgrading from an Existing Version FAQ on Joomla's Doc's site.
As this question is about Joomla management and implementation details, you may get a better answer if you, try asking on the Joomla Q&A StackExhange site in the future.

Will upgrading PHP break JOOMLA?

I have a client who has JOOMLA! V1.5.1, and it currently is running on PHP 4.4.9. Does anyone know if upgrading to PHP5 break my site? Will upgrading to a newer JOOMLA! version break my site?
Thanks a lot
There might be a few functions on Joomla 1.5.1 that won't work if you upgrade to PHP 5.3+. Therefore you should also upgrade Joomla to 1.5.26 to ensure maximum security and stability for that particular version. Once both PHP and Joomla have been upgraded, everything will work smoothly.
To upgrade your PHP version, you will need to talk to your host, and why he is still running his servers on PHP 4.49 I do not know.
To update Joomla to the latest version, I would recommend download this package:
Joomla 1.5.0 to 1.5.26
I know its not the update for 1.5.1, but it will still work.
As for upgrading to Joomla 2.5, this doesnt have to be done. It is entirely up to you. Just be sure that all your etension will be compatible.
Hope this helps.
Nothing must change if you just upgrade PHP. Is there custom PHP build used or installed from packes (like .rpm or .deb)?
If you have simple wibsite and will follow guidelines on upgrading Joomla ( listed here: http://docs.joomla.org/Migrating_from_Joomla_1.5_to_Joomla_2.5 ) then process must go smoothly.
But if there are any extensions which do not have their Joomla 2.5 versions, you'll get in trouble because old ones wimply won't work after upgrade.
Use akeeba backup to backup your site before upgrade and try to backup/restore at separate place to just have a proctice. I confgure it to use zip format because it does not require any extra software to restore site, but that's up to you.

Paging doesn't work in the Joomla Article Manager in the admin section

I inherited a Joomla site that is having a problem with the article manager in the admin section. The pagination doesn't work! If I click the page number, forward, back, or page size, nothing happens! So I found out that someone had previously installed the iJoomla SEO plugin, but it never worked so they removed it. I think it is incompatible with the version I have.
I setup a local environment with almost the same setup (I have 5.2.11 vs the servers 5.2.13) with Wamp Server, and I found that some of the session variables are missing! When dumped via print_r(), the $_SESSION variable is missing the "com_content", "global", and "com_plugins" arrays! So I guess that is the reason that paging doesn't work, because the "com_content" array looks like it has paging info in it. (maybe I'm wrong)
So I'm running Version 1.5.13
on PHP Version 5.2.13
Anyone know why this would happen? Thanks in advance!
One suggestion I have which might fix a broken install of Joomla would be to upgrade to the latest version. This is good practice anyway and might help. The latest version of Joomla is 1.5.15.

Resources