Welcome, Guest
Username Password: Remember me
Support for Eventlist 1.0.1, available for downloads on schlu.net

For all support requests, please provide your current versions of joomla, and of the extensions.
  • Page:
  • 1

TOPIC: php 5.3

php 5.3 1 year, 5 months ago #323

  • elise
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
I upgraded PHP to version 5.3. I get the next error:
Deprecated: Function ereg() is deprecated in /home/......../components/com_eventlist/views/details/view.html.php on line 166

I hope that someone can help me.

php 5.3 1 year, 5 months ago #325

  • jippe
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 2
http://en.wikipedia.org/wiki/Deprecation

http://php.net/manual/en/migration53.deprecated.php

Think you can suppress these messages somewhere in the .htaccess or php.ini file. Think if you google a bit you should find something on it.

Need to be looked at for making eventlist future proof I think..
The following user(s) said Thank You: efduggan

php 5.3 1 year, 5 months ago #333

  • JulienV
  • OFFLINE
  • Administrator
  • Posts: 169
  • Karma: 5
i think ereg() is not used in 1.1 beta, so wrong forum
Please always post the version of the extension and joomla you are using

Re: php 5.3 1 year, 1 month ago #1667

  • efduggan
  • OFFLINE
  • Moderator
  • Posts: 1477
  • Karma: 43
Hi Elise,

I've moved this thread to the correct forum (Eventlist 1.0.1)

While the latest beta (Version 1.1beta3.2.2) now has this issue addressed. The code was changed form

if (ereg("[/[/]", $keyword)) {


to

if (preg_match("/[\/[\/]/", $keyword)) {


You have a couple of options to resolve this issue:

1) Edit the offending line to the one found in the beta (as above)

2) Upgrade to Eventlist 1.1beta 3.2.2

3) Suppress the warning. If the server is live to others, I'd recommend this route. The details can be found in your PHP.ini file to what the recommendations for a live or production environment should be set at.

regards,
Edmond
NEW? Please read the Welcome to the EventList Community post.
Click here to find out "How to get your issue solved quickly!"

EventList 1.0.2 Stable for Joomla 1.6/1.7/2.5 now available!
  • Page:
  • 1
Moderators: efduggan
Time to create page: 0.56 seconds
Siège social:
JLV Solutions
3B avenue Edmond Salvy
06600 Antibes
FRANCE
SIREN : 505 593 378
SIRET : 505 593 378 00014
Copyright 2011. Joomla 2.5 templates free.