MemHT Portal is a Free PHP CMS and Blog
It permit the creation and the management online of websites with few and easy steps.
It's completely customizable, expandable and suitable for all needs.
Moderators: Moderators
Page 1/3 1 2 3 > >|
Forum RSS feedReply
PHP 5 eregi and eregi-replace deprecated errors
AuthorText
mem
MemHT's Dad
Admin & Developer

mem

Posts: 7300
Contributes: 4879

Gender: _MALE_
Online: No

Languages: English, Italiano, Македонски, Српски
Date: 04/11/2010 15:18
PHP 5 eregi and eregi-replace deprecated errors
#post24473
Replace the following files:

inc/inc_functions.php with this one:
http://www.memht.com/pages/forum/attachment.php?id=22952

inc/inc_getinfo.php with this one:
http://www.memht.com/pages/forum/attachment.php?id=23407

inc/tpl/RainTPL/RainTPLCompile.class.php with this one:
http://www.memht.com/pages/forum/attachment.php?id=24050

admin/inc/inc_blocks_nav.php with this one:
http://www.memht.com/pages/forum/attachment.php?id=24052

and inc/inc_login.php with this one:
http://www.memht.com/pages/forum/attachment.php?id=24145
Follow me on twitter if you want to be updated on the MemHT 5 development.
Delete Edit Quote
 
wolf_60
Just arrived

Posts: 8
Contributes: 8

Gender: _NEUTRAL_
Online: No
Date: 24/11/2010 16:46
Re: PHP 5 eregi and eregi-replace deprecated errors
#post24560
I wonder how to fix it creates these files guestbook turkish character problem

Edited: 27/11/2010 05:56
Delete Edit Quote
 
wolf_60
Just arrived

Posts: 8
Contributes: 8

Gender: _NEUTRAL_
Online: No
Date: 27/11/2010 05:56
Re: PHP 5 eregi and eregi-replace deprecated errors
#post24566
help pls
Delete Edit Quote
 
Abagail
Just arrived

Posts: 5
Contributes: 5

Gender: _NEUTRAL_
Online: No
Date: 10/07/2011 10:48
Re: PHP 5 eregi and eregi-replace deprecated errors
#post25094
Unfortunately, after upgrading PHP to the earlier version (5.3.0), it wont work properly. This is because eregi is one of several functions that are deprecated in the new version of PHP.
Delete Edit Quote
 
slim2
Junior Member

Posts: 13
Contributes: 15

Gender: _NEUTRAL_
Online: No
Date: 07/01/2012 02:28
Re: PHP 5 eregi and eregi-replace deprecated errors
#post25297
Hello there. Whenever I post up something in Blog or Articles, this error shows up on the top of the page in Admin:

Function eregi_replace ()is deprecated in public_html/admin/pages/blog/index.php on line 35

However, I can post up blogs and articles easily. I'd like to know how I can get rid of this error and problem. I just don't want it to deteriorate! Thank you.
Edited: 07/01/2012 17:51
Delete Edit Quote
 
onurelveda
Senior Member

Posts: 345
Contributes: 217

Gender: _NEUTRAL_
Online: No

Version: mixer
Country: Turkiye
Languages: Turkish,Romanian,English
Date: 25/02/2012 14:17
Re: PHP 5 eregi and eregi-replace deprecated errors
#post25391
hi mem,
i also same problem
i changed them with my files but my website is't opening and no giving any error message Smile

just a white page.

my website was working good untill yesterday.
my hosting is upgraded host php version and today i have a lot of error like that

code
Deprecated: Function eregi() is deprecated in /home/aybiinet/public_html/inc/inc_functions.php on line 1210
Unknown error
Errno: 8192
File: /home/aybiinet/public_html/inc/inc_functions.php
Line: 139
Function: eregi
Note: Function eregi() is deprecated


and

Deprecated: Function eregi() is deprecated in /home/aybiinet/public_html/inc/inc_functions.php on line 139

Deprecated: Function eregi() is deprecated in /home/aybiinet/public_html/inc/inc_functions.php on line 139

Deprecated: Function eregi() is deprecated in /home/aybiinet/public_html/inc/inc_functions.php on line 139


if i can't be online with admin, i am not seeing any error.

when i join my admin panel i have same a lot of error Smile
Delete Edit Quote
 
slim2
Junior Member

Posts: 13
Contributes: 15

Gender: _NEUTRAL_
Online: No
Date: 02/04/2012 21:31
Re: PHP 5 eregi and eregi-replace deprecated errors
#post25443
Hello there. When I log in, and want to enter the Admin panel of my website, this error occurs:

Fatal error: require_once() [function.require]: Failed opening required 'inc/inc_bbcode.php
(include_path='.:/usr/lib/php:/usr/local/lib/php) in
/home/melatdol/public_html/admin.php on line 80

When I click on the User Page link, this error occurs:

Fatal error: Call to undefined function bb2html() in /home/melatdol/public_html/pages/users/index.php on line 53

I would be grateful if you help me sort out this problem.
Edited: 02/04/2012 21:34
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

mem

Posts: 7300
Contributes: 4879

Gender: _MALE_
Online: No

Languages: English, Italiano, Македонски, Српски
Date: 02/04/2012 23:11
Re: PHP 5 eregi and eregi-replace deprecated errors
#post25444
Check if the file inc/inc_bbcode.php exists. Upload if again just to be sure
Follow me on twitter if you want to be updated on the MemHT 5 development.
Delete Edit Quote
 
slim2
Junior Member

Posts: 13
Contributes: 15

Gender: _NEUTRAL_
Online: No
Date: 02/04/2012 23:46
Re: PHP 5 eregi and eregi-replace deprecated errors
#post25445
When I want to upload inc_bbcode.php in inc folder, the antivirus which is installed on the Host prevents the file from being uploaded! I don't have a clue why inc_bbcode.php is detected as a virus. I even changed the extension to something else but the problem still remains. Smile
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

mem

Posts: 7300
Contributes: 4879

Gender: _MALE_
Online: No

Languages: English, Italiano, Македонски, Српски
Date: 03/04/2012 21:12
Re: PHP 5 eregi and eregi-replace deprecated errors
#post25446
Eh? Smile It's a PHP file, the antivirus is preventing from uploading a PHP file on your webserver? LoL.

If you have a web based control panel (cpanel, plesk etc), create an empty inc_bbcode.php file and copy/paste the code using an online file editor.
Follow me on twitter if you want to be updated on the MemHT 5 development.
Delete Edit Quote
 
Reply
Page 1/3 1 2 3 > >|
Twitter updates...
MemHT Wiki
Help MemHT Portal
Navigator
Users Block
Hi Guest
IP: 38.107.179.231

Username
Password
Language
MemHT Portal is a free software released under the GNU/GPL License by Miltenovik Manojlo