Warning Message shown on Our (jcow) Social Network

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Haris
Forum Newbie
Posts: 2
Joined: Mon Dec 05, 2011 8:48 am

Warning Message shown on Our (jcow) Social Network

Post by Haris »

Please help me,.... i'm Using Jcow Content management System for my Social Network
and this Night i try to Upload Mobile Module for my jcow.
But This BUG Shown after i uploaded my module

(it's only show on www.myweb.net/home)

Code: Select all

Warning: eregi() [function.eregi]: REG_EMPTY in /home/u321150637/public_html/modules/mobile/mobile.hook.php on line 18

do you know to Clearing this BUG????

(i'm sory if my english so bad... :lol: )
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Warning Message shown on Our (jcow) Social Network

Post by Celauran »

eregi has been deprecated. You should use preg_match() instead. That aside, it looks like you're getting that error because the first argument isn't a regular expression or is empty.
Haris
Forum Newbie
Posts: 2
Joined: Mon Dec 05, 2011 8:48 am

Re: Warning Message shown on Our (jcow) Social Network

Post by Haris »

ok, i will try it,...
thx 4 your help :) ....
Post Reply