Advertisement
site down, front end and admin side
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.
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.
-
- Joomla! Apprentice
- Posts: 6
- Joined: Sun Feb 05, 2023 3:13 pm
site down, front end and admin side
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
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
Reason: mod note: moved from 2.5 General Questions
Advertisement
-
- Joomla! Explorer
- Posts: 385
- Joined: Thu Jun 10, 2010 12:38 pm
Re: site down, front end and admin side
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.
- Webdongle
- Joomla! Master
- Posts: 44679
- Joined: Sat Apr 05, 2008 9:58 pm
Re: site down, front end and admin side
Looks like one of the extensions is using code that is several years out of date
https://en.wikipedia.org/wiki/Magic_quotes
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
https://en.wikipedia.org/wiki/Magic_quotes
You could try setting the php to 5.3 in the .htaccess of the sub folderThis feature was officially deprecated as of PHP 5.3.0 and removed in PHP 5.4, due to security concerns
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".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
- AMurray
- Joomla! Master
- Posts: 10267
- Joined: Sat Feb 13, 2010 7:35 am
- Location: Australia
Re: site down, front end and admin side
J2.5 templates (if it assists):
Frontend
Beez 20 (Default template)
Beez 5
Atomic
Administrator:
Bluestork (Default template)
Hathor
Frontend
Beez 20 (Default template)
Beez 5
Atomic
Administrator:
Bluestork (Default template)
Hathor
Regards - A Murray
General Support Moderator
General Support Moderator
-
- Joomla! Apprentice
- Posts: 6
- Joined: Sun Feb 05, 2023 3:13 pm
Re: site down, front end and admin side
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
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
- Webdongle
- Joomla! Master
- Posts: 44679
- Joined: Sat Apr 05, 2008 9:58 pm
Re: site down, front end and admin side
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
You could edit the configuration.php to turn on Debug. If No Avail at identifying the extension that then
Or
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".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 6
- Joined: Sun Feb 05, 2023 3:13 pm
Re: site down, front end and admin side
Ok, I'm in, and just ran an Akeeba back up. Turn out the site is Version 1.5.26, not 2.56.
- Webdongle
- Joomla! Master
- Posts: 44679
- Joined: Sat Apr 05, 2008 9:58 pm
Re: site down, front end and admin side
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".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
- AMurray
- Joomla! Master
- Posts: 10267
- Joined: Sat Feb 13, 2010 7:35 am
- Location: Australia
Re: site down, front end and admin side
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
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
General Support Moderator
- toivo
- Joomla! Master
- Posts: 17848
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: site down, front end and admin side
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.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
Toivo Talikka, Global Moderator
- Per Yngve Berg
- Joomla! Master
- Posts: 31342
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: site down, front end and admin side
Joomla 1.5.26 is vulnerable to hacking.
Advertisement