Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.3 RN Issues
Author Message
lzservers
New Member
New Member



Joined: Oct 27, 2008
Posts: 18

PostPosted: Mon Jun 10, 2019 2:25 pm Reply with quote

after a clean install im having a fatal error Uncaught Error: Call to undefined function eregi() in /home//public_html/blocks/block-Sommaire.php:27
its causing many more error and my home page is not displaying home models and only one block. seems to start after the host upgraded php version to 5.3
the clean install was the newest install version on this site and is capable to the php upgrade on host
 
View user's profile Send private message
neralex
Site Admin



Joined: Aug 22, 2007
Posts: 1537

PostPosted: Mon Jun 10, 2019 9:09 pm Reply with quote

As the error message stated: the eregi function was DEPRECATED in PHP 5.3.0, and REMOVED in PHP 7.0.0. Many old third party modules and addons have outdated code like this. This was the reason why I started the patching of the core package.

The big question is, if you really need this old block-file and you are not able to clean it, please post also the affected codeline. I don't have all addons from the last 20 years of php-nuke to compare it.

_________________
Github: RavenNuke  
View user's profile Send private message
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm



Joined: Aug 13, 2009
Posts: 1014
Location: Netherland

PostPosted: Wed Jun 12, 2019 5:03 am Reply with quote

Sommaire addon is really nasty in my eyes. Take a look.

It needs a good treatment and clean code.. Shocked



addon-Sommaire_v3.0.zip
 Description:
addon

Download
 Filename:  addon-Sommaire_v3.0.zip
 Filesize:  99.12 KB
 Downloaded:  55 Time(s)

 
View user's profile Send private message Visit poster's website
neralex







PostPosted: Thu Jun 13, 2019 1:52 pm Reply with quote

I checked the files and it makes no sense to patch it because it needs a cleaning of each single codeline. I know this script from my first tries with PHP Nuke in 2002 and it has always been buggy. Now it would have to be cleaned up completely, so that a new development would take much less time. Give it up!

You have other ways to create a simple navigation-block with links to your used modules. You can create a simpe HTML-block with the block-administration and add custom hyperlinks with the ckeditor. Or with a llitle bit know-how in PHP/HTML you can create an hard-coded block-file. At the end it shows only hyperlinks in a custom order.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.3 RN Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©