Advertisement

site down, front end and admin side

General questions relating to Joomla! 1.5 There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Post Reply
dumbdoonan
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sun Feb 05, 2023 3:13 pm

site down, front end and admin side

Post by dumbdoonan » Sat Oct 12, 2024 8:51 pm

Picking up an old Joomla site that is broken.

Public and administrator sides report the following:

Fatal error: Uncaught Error: Call to undefined function set_magic_quotes_runtime() in /home/noint2/public_html/xxx/includes/framework.php:21 Stack trace: #0 /home/noint2/public_html/xxx/index.php(22): require_once() #1 {main} thrown in /home/noint2/public_html/xxx/includes/framework.php on line 21

From what I've been able to research, it sounds the error is begin generated because of an upgrade to php. Because this is a sub-site, there may be no option to downgrade php (waiting to hear back from the host).

That being said, are there options other than backing up what I have, then deleting the web root and installing the latest release of Joomla. Obviously there would have to be a lot of work to do beyond just connecting to the existing database.

Thoughts?

David
Last edited by toivo on Mon Oct 14, 2024 5:15 am, edited 1 time in total.
Reason: mod note: moved from 2.5 General Questions

Advertisement
gsmela
Joomla! Explorer
Joomla! Explorer
Posts: 385
Joined: Thu Jun 10, 2010 12:38 pm

Re: site down, front end and admin side

Post by gsmela » Sat Oct 12, 2024 9:02 pm

Look at the red box at the top of this page for the Forum Post Assistant which will tell you how to post the information needed to help you.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44679
Joined: Sat Apr 05, 2008 9:58 pm

Re: site down, front end and admin side

Post by Webdongle » Sat Oct 12, 2024 9:32 pm

Looks like one of the extensions is using code that is several years out of date
https://en.wikipedia.org/wiki/Magic_quotes
This feature was officially deprecated as of PHP 5.3.0 and removed in PHP 5.4, due to security concerns
You could try setting the php to 5.3 in the .htaccess of the sub folder
or
Use php my admin to set the default Template one of Joomla's (I can't remember which one it was for that)
If no avail
Use php my admin to disable all 3rd party extensions
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
AMurray
Joomla! Master
Joomla! Master
Posts: 10267
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: site down, front end and admin side

Post by AMurray » Sat Oct 12, 2024 9:42 pm

J2.5 templates (if it assists):

Frontend
Beez 20 (Default template)
Beez 5
Atomic

Administrator:
Bluestork (Default template)
Hathor
Regards - A Murray
General Support Moderator

dumbdoonan
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sun Feb 05, 2023 3:13 pm

Re: site down, front end and admin side

Post by dumbdoonan » Sun Oct 13, 2024 4:08 pm

The host downgraded php to 5.6. While the public side now displays, the administrator continues to display

Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0

Fatal error: Unknown: Failed opening required '/home/noint2/WP-LC/wp-lc1.php' (include_path='.:/opt/cpanel/ea-php56/root/usr/share/pear') in Unknown on line 0

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44679
Joined: Sat Apr 05, 2008 9:58 pm

Re: site down, front end and admin side

Post by Webdongle » Sun Oct 13, 2024 5:50 pm

php 5.6 is too high for magic quotes. That was dropped with php 5.4. You need php 4.3

You could edit the configuration.php to turn on Debug. If No Avail at identifying the extension that then
gsmela wrote: Sat Oct 12, 2024 9:02 pm Look at the red box at the top of this page for the Forum Post Assistant which will tell you how to post the information needed to help you.
Or
Webdongle wrote: Sat Oct 12, 2024 9:32 pm...
Use php my admin to disable all 3rd party extensions
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

dumbdoonan
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sun Feb 05, 2023 3:13 pm

Re: site down, front end and admin side

Post by dumbdoonan » Sun Oct 13, 2024 6:26 pm

Ok, I'm in, and just ran an Akeeba back up. Turn out the site is Version 1.5.26, not 2.56.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44679
Joined: Sat Apr 05, 2008 9:58 pm

Re: site down, front end and admin side

Post by Webdongle » Sun Oct 13, 2024 7:05 pm

My advice fwiw is start from scratch, copy/pasting the Articles.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
AMurray
Joomla! Master
Joomla! Master
Posts: 10267
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: site down, front end and admin side

Post by AMurray » Sun Oct 13, 2024 9:59 pm

Yes I would advise start over. WAMPServer doesn't offer a PHP add-on module lower than PHP 5.6 so there's no possibility to take the site 'offline' and work on a local server (your PC).

Moving forward WAMPServer is a good option for the offline development and then when ready, use Akeeba Backup and Kickstart to copy the site to your live hosting, using the relevant hosting settings for J4 or J5. i.e. PHP 8.1+ and MySQL 8.0+ or MariaDB 10.4+. It's also a good idea to closely match your local host server settings (WAMPServer) to your live hosting settings in terms of database versions and PHP versions).

WAMPServer download here: https://wampserver.aviatechno.net/?lang=en
Regards - A Murray
General Support Moderator

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17848
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: site down, front end and admin side

Post by toivo » Mon Oct 14, 2024 5:12 am

dumbdoonan wrote: Sun Oct 13, 2024 4:08 pmWarning: Unknown: failed to open stream: No such file or directory in Unknown on line 0

Fatal error: Unknown: Failed opening required '/home/noint2/WP-LC/wp-lc1.php' (include_path='.:/opt/cpanel/ea-php56/root/usr/share/pear') in Unknown on line 0
This file looks like a WordPress file. How does a Joomla 1.5 site request a WP file? The site may have been hacked. As others already recommended, it is best to start from a clean slate.
Toivo Talikka, Global Moderator

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31342
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: site down, front end and admin side

Post by Per Yngve Berg » Mon Oct 14, 2024 7:15 am

Joomla 1.5.26 is vulnerable to hacking.

Advertisement

Post Reply

Return to “General Questions/New to Joomla! 1.5”